Skip to content

Commit 450535a

Browse files
aiwyatt787davidflowers
authored andcommitted
Pull request #24: Add steps for pre-generated hex file
Merge in MCU16CE/dspic33-dsc-bootloader-code-examples from ~C74569/dspic33-dsc-bootloader-code-examples:feature/MCU16GITHUB-898-update-documentation-describing-how-to-load-the-pre-compiled-.hex-file to develop * commit '0114a9e5c6adc965ae8d58dc14275059f666c567': Add steps for pre-generated hex file
2 parents 062ca8c + 0114a9e commit 450535a

File tree

1 file changed

+3
-2
lines changed
  • secure_boot_and_secure_firmware_upgrade_over_canfd

1 file changed

+3
-2
lines changed

secure_boot_and_secure_firmware_upgrade_over_canfd/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ The associated bootloader and application projects demonstrate the following:
7474
8. The project should compile and program successfully
7575
9. Verify the LED11 is solid on the Development Board. This indicates the bootloader is running
7676

77-
#### Building the Application
77+
#### Building the Application (Optional)
78+
**NOTE**: A pre-generated .hex file has been included with this demo, therefore the following steps are **optional**
7879
1. Open the app.X project in MPLAB® X
7980
2. Click the dropdown arrow next to the “Clean and Build Project” button on the top bar and select "Clean and Build Project" <br>**NOTE**: If "Clean and Build for Debugging" is selected instead, a new hex file will not be generated <br>**NOTE**: Make sure not to hit the program button. This will program the application code over the bootloader that was just programmed<br>
8081
![Clean and Build](./images/clean_and_build.png)
@@ -105,7 +106,7 @@ The associated bootloader and application projects demonstrate the following:
105106
a. The Application start address and Application end address fields should have updated. If it did not or if you get a communication error, please go back to the “Programming the Bootloader” stage to make sure the bootloader was programmed correctly<br>
106107
![Read Device Settings](./images/UBHA_Read_Device_Settings.png)
107108
7. Load the application hex file by selecting “File->Open/Load File (*.hex)”
108-
a. Select the file generated in the previous section: app.X/dist/default/production/app.X.production.hex<br>
109+
a. Select app.X/dist/default/production/app.X.production.hex. This is included with the demo but may have been re-generated if Building the Application (Optional) was completed<br>
109110
![Open Hex File](./images/UBHA_Open_Hex.png)
110111
8. Check the "Enable Self Verification After Program" checkbox<br>
111112
![Enable Verification](./images/UBHA_Enable_Verification.png)

0 commit comments

Comments
 (0)