|
SmartSnippets DA1459x SDK
|
This guide presents the steps which should be followed in order to build, execute, flash and debug SDK projects.
SmartSnippets Studio select File->Import and then General->Existing projects into Workspace$SDK_ROOT rather than $SDK_ROOT\sdk)Build your project on the host (user's PC) using a *RAM build configuration (e.g DA1459x-00-Release_RAM)
The flashing tools comprise of the following projects:
cli_programmer: a command line application for issuing programming commands. See also CLI programmer application.uartboot: the (secondary) boot loader running on the target which executes libprogrammer commandsmkimage: an application which constructs image files to be flashed down to your device, by prepending to the elf-binary the appropriate header for the rom boot loaderlibprogrammer: the (host-side) library which implements the programming functionalitylibmkimage: the (host-side) library for mkimagelibbo_crypto: a third-party encryption/decryption library used for secure image functionality.python_scripts: a collection of scripts which utilize flashing tools and implement the External tools functionalityThe flashing tools have the following dependencies:
cli_programmer depends on libprogrammer and uartbootmkimage depends on libmkimage and libbo_cryptoIn order to re-build the flashing tools used by the External tools, the flashing tools' projects must be imported and built, using the appropriate build configuration. The user then may choose between:
libprogrammer, libbo_crypto and libmkimage mentioned abovepython_scripts project. Keeping this project open, a set of scripts will be visible under the green arrow menu entitled External toolsprogram_eflash_config or program_qspi_config script from External tools drop down list, depending on your XiP device (Embedded Flash or QSPI). This step needs to be done only once.External tools:program_eflash_jtag or program_qspi_jtagprogram_eflash_serial or program_qspi_serial. The scripts prompt for the PC serial port where the board is attached.Open a serial terminal and connect to a proper serial port (e.g /dev/ttyUSB0 for Linux or COMx for Windows environment), baudrate: 115200. It will be needed for printing debug logs for the user. See also Collect debug information .
1.8.16