You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pull request #33: Feature/MCU16GITHUB-936 add an verifying led indicator
Merge in MCU16CE/dspic33-dsc-bootloader-code-examples from ~C12109/dspic33-dsc-bootloader-code-examples:feature/MCU16GITHUB-936-add-an-verifying-led-indicator to develop
* commit 'cadccecf13a672894bf3a25bbf908798df61ab46':
Slight improvements to README.md. Fixed issue where Chrome would not render the a, b, c ordered list correctly.
Implement verification indication.
Copy file name to clipboardExpand all lines: secure_boot_and_secure_firmware_upgrade_over_canfd/README.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ The associated bootloader and application projects demonstrate the following:
81
81

82
82
3. The project should compile cleanly. app.X/dist/default/production/app.X.production.hex should be generated
83
83
4. Verify that LED11 is still solid
84
-
a. If LED11 is blinking instead of solid, then the application code was programmed instead of only compiled. Go back to the “Programming the Bootloader” stage and re-program the bootloader
84
+
1. If LED11 is blinking instead of solid, then the application code was programmed instead of only compiled. Go back to the “Programming the Bootloader” stage and re-program the bootloader
85
85
86
86
#### Loading the Application
87
87
1. Open the Universal Bootloader Host Application tool (UBHA)<br>
@@ -93,25 +93,26 @@ The associated bootloader and application projects demonstrate the following:
93
93
4. Select the “Settings->CAN” option from the top menu<br>
94
94

95
95
5. Select the Peak protocol analyzer being used and the appropriate CAN configuration settings for this demo (listed below). When complete, press “Apply”:
96
-
a. Nominal Bit Rate: 125.00 kbits/s
97
-
b. CAN-FD: enabled
98
-
c. CAN-FD TX Data Length: 8
99
-
d. Flexible Data Rate: Enabled
100
-
e. Flexible Data Rate: 2Mbits/s
101
-
f. Message Format: Standard
102
-
g. Host to Device ID: 0xA1
103
-
h. Device to Host ID: 0xA2<br>
96
+
1. Nominal Bit Rate: 125.00 kbits/s
97
+
2. CAN-FD: enabled
98
+
3. CAN-FD TX Data Length: 8
99
+
4. Flexible Data Rate: Enabled
100
+
5. Flexible Data Rate: 2Mbits/s
101
+
6. Message Format: Standard
102
+
7. Host to Device ID: 0xA1
103
+
8. Device to Host ID: 0xA2<br>
104
104

105
105
6. Press the "Read Device Settings" button
106
-
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>
106
+
1. 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>
7. Load the application hex file by selecting “File->Open/Load File (*.hex)”
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>
109
+
1. 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>
110
110

111
111
8. Check the "Enable Self Verification After Program" checkbox<br>
9. Press “Program Device”. The application should program erase, program and perform a self verify using the TA100 for an ECDSA verify then read back verify correctly.<br>**NOTE**: The reset response may not be fully transmitted before reset which may result in the reset response failing. The reset most likely did occur and the error can be safely ignored
114
-
a. After a few seconds, LED11 should be blinking<br>
114
+
1. During the verification process, LED6 will be solid to indicate the image is being verified.
115
+
2. After the verification process is complete, LED6 will turn off. If the image was verified, it will start to run and LED11 should be blinking. If LED6 is still solid, the image failed verification and is still in bootload mode.<br>
0 commit comments