view packages/hal/calmrisc16/ceb/current/support/README @ 3292:7f8e529b4d82 default tip

Fix FREESCALE_EDMA_NBYTES_MLOFFYES_MLOFF() so it works with negative offsets.
author vae
date Wed, 29 Apr 2015 23:31:48 +0000
parents e0c0827131d1
children
line wrap: on
line source


The support directory provides a tool for downloading code to the calmRISC
board. This simple application communicates over a serial line (57600-8-N-1)
with the MDSChip board which in turn controls the core eval board.

Building the tool:

  % gcc -g -O2 calmbreaker.c -o calmbreaker

Using the tool:

  calmbreaker [--reset] [--run] [-p serialdev] [--srec-code | --srec-data]
              [-f filename]

     --reset      ==> Reset the board. Stops the core.
     --run        ==> Start the core running at the reset vector
     -p           ==> Specify the serial device
     --srec-code  ==> Download s-records to program memory
     --srec-date  ==> Download s-records to data memory
     -f           ==> Specify s-record file. If -f is missing, use
                      stdin.