Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/analogdevicesinc/max78000-secure-loader
Secure boot loader for MAX78000
https://github.com/analogdevicesinc/max78000-secure-loader
ai algorithm-protection analog-devices artificial-intelligence copy-protection deep-learning ip-protection machine-learning maxim maxim-integrated secure-boot
Last synced: 11 days ago
JSON representation
Secure boot loader for MAX78000
- Host: GitHub
- URL: https://github.com/analogdevicesinc/max78000-secure-loader
- Owner: analogdevicesinc
- License: other
- Created: 2021-10-19T19:18:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-19T19:16:17.000Z (7 months ago)
- Last Synced: 2024-04-19T20:29:22.342Z (7 months ago)
- Topics: ai, algorithm-protection, analog-devices, artificial-intelligence, copy-protection, deep-learning, ip-protection, machine-learning, maxim, maxim-integrated, secure-boot
- Language: Python
- Homepage:
- Size: 7.21 MB
- Stars: 6
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.analog.com/en/products/max78000.html) with the Bootloader Firmware
_Note: Install the [Analog Devices MSDK](https://www.analog.com/en/design-center/evaluation-hardware-and-software/software/software-download?swpart=SFW0010820A) before following the steps below!_
Use the following steps to program the [MAX78000FTHR](https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/max78000fthr.html) board with bootloader code. For complete list of documentation see [Documentation](#documentation) below.
1. Connect the micro-USB cable to the [MAX78000FTHR](https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/max78000fthr.html) 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:```shell
cd c: /max78000_demo
```4. To flash the bootloader to the board:
```shell
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
- See [MAX78000 Secure Bootloader InApplication Programming](./MAX78000_MSBL/Docs/MAX78000_Secure_Bootloader_InApplication_Programming.pdf) for step-by-step instructions of how to use the secure bootloader.
- There is an example code available under the [MAX78000_Hello_World](./MAX78000_MSBL/MAX78000_Hello_World) to verify the setup. Look at the [README.md](./MAX78000_MSBL/MAX78000_Hello_World/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](./MAX78000_MSBL/Docs/MAX78000_Bootloader_UG.pdf).- Optionally, there are Bootloader GUI tools available from the MSDK Maintenance Tools. You have to install the [Analog Devices MSDK](https://www.analog.com/en/design-center/evaluation-hardware-and-software/software/software-download?swpart=SFW0010820A) 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](https://www.analog.com/media/en/technical-documentation/user-guides/maxim-bootloader-tools-user-guide.pdf), or see [here](./MAX78000_MSBL/Docs/Maxim_Bootloader_Tools_UG.pdf) for more up-to-date version.