Skip to content

analogdevicesinc/max78000-secure-loader

Repository files navigation

Secure Loader Project

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.

  1. Connect the micro-USB cable to the MAX78000FTHR and the PC.

  2. Under the C:\MaximSDK\Tools\MinGW\msys\1.0 directory, double-click on msys.bat. This opens a MinGW window.

  3. Navigate to the demo directory by typing:

        cd c: /max78000_demo
  4. 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.

Documentation