Flash downloading tool

In order to allow applications to run from flash, they need to be downloaded to the target hardware. The SDK provides an application to download onto the target hardware that allows a flash image to be sent across a TCP/IP socket and stored in flash.
The SDK provides a script that downloads this application using lfdownload, and invokes the download client to download the image.
Before this can be run, you must have built the applications for your BSP.

When downloading applications to flash, the following options can be used.
Argument
Environment variable
Description
flash

Program the flash
reset

Reset the board
upload

Read the program currently in flash
address
DCT_DEV_CARD
Address of the board to connect to
query

Query the current flash status
mode

The bootmode. This should either one of
  • none to not boot from flash
  • copy to copy the image from flash to ram. This requires a bin file to be stored in flash
  • xip to eXecute In Place. This requires a raw file to be stored in flash