The secure bootloader allows the end-user of MAX78000 to load an encrypted firmware to MAX78000 based platforms and lock the SWD port. Once it is programmed, the firmware, including the CNN model and application code, cannot be extracted from the chip by anyone except the developer of the firmware who has the keys.
Programming the MAX78000 with the Bootloader Firmware
Note: Install the Analog Devices MSDK before following the steps below!
Use the following steps to program the MAX78000FTHR board with bootloader code. For complete list of documentation see Documentation below.
-
Connect the micro-USB cable to the MAX78000FTHR and the PC.
-
Under the
C:\MaximSDK\Tools\MinGW\msys\1.0
directory, double-click onmsys.bat
. This opens a MinGW window. -
Navigate to the demo directory by typing:
cd c: /max78000_demo
-
To flash the bootloader to the board:
openocd -s $MAXIM_PATH/tools/OpenOCD/scripts -f interface/cmsis-dap.cfg -f target/max78000.cfg -c 'init ;halt;max32xxx mass_erase 0;program MAX78000_Bootloader_vx_x_x.bin verify reset exit 0x10000000'
where x, y and z are bootloader revision.
-
See MAX78000 Secure Bootloader InApplication Programming for step-by-step instructions of how to use the secure bootloader.
- There is an example code available under the MAX78000_Hello_World to verify the setup. Look at the README.md under the project directory for important information about the
Makefile
. - You can find more information for the bootloader and its architecture by referring to MAX78000 Bootloader User Guide.
- There is an example code available under the MAX78000_Hello_World to verify the setup. Look at the README.md under the project directory for important information about the
-
Optionally, there are Bootloader GUI tools available from the MSDK Maintenance Tools. You have to install the Analog Devices MSDK before you can use this tool.
- The detailed explanations of how to communicate to the bootloader can be found in the Bootloader Tools User Guide, or see here for more up-to-date version.