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
Copy file name to clipboardExpand all lines: secure_boot_and_secure_firmware_upgrade_over_canfd/README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,41 +49,41 @@ The associated bootloader and application projects demonstrate the following:
49
49
1. With the Development Board detached from any power source, programmer, or USB connection, connect the TA100 8-Pin SOIC CryptoAutomotive™ Socket board into the mikroBUS™ A slot with the jumpers set for SPI
50
50
2. Connect the Peak analyzer/generator to your computer
51
51
3. Connect the Peak analyzer/generator to the CAN/CAN-FD Driver Circuit on the Development Board
52
-
4. Connect the micro-USB cable to port J1 of the Development Board to the host computer.
52
+
4. Connect the micro-USB cable to port J1 of the Development Board to the host computer.<br>
53
53
54
54

55
55
56
56
#### Programming the Bootloader
57
57
1. Open the boot.X project in MPLAB® X
58
58
2. Open MCC
59
-
3. Right click on Project Resources and select "Force Update on All"
59
+
3. Right click on Project Resources and select "Force Update on All"<br>
60
60

61
-
4. Click "Generate"
61
+
4. Click "Generate"<br>
62
62

63
-
5. Accept all incoming code changes for files **within the CryptoAuthenticationLibrary directory** by selecting "Replace All" in the merge helper UI. **NOTE: DO NOT accept incoming changes for boot_demo.c. Accept all other file changes and close out of MCC**
63
+
5. Accept all incoming code changes for files **within the CryptoAuthenticationLibrary directory** by selecting "Replace All" in the merge helper UI. **NOTE: DO NOT accept incoming changes for boot_demo.c. Accept all other file changes and close out of MCC**<br>
6. Press the “Make and Program” button on the top bar
65
+
6. Press the “Make and Program” button on the top bar<br>
66
66

67
67
7. Select the appropriate programmer if prompted
68
68
8. The project should compile and program successfully
69
69
9. Verify the LED11 is solid on the Development Board. This indicates the bootloader is running
70
70
71
71
#### Building the Application
72
72
1. Open the app.X project in MPLAB® X
73
-
2. Press the “Clean and Build Project” button on the top bar. **NOTE**: Make sure not to hit the program button. This will program the application code over the bootloader that was just programmed
73
+
2. Press the “Clean and Build Project” button on the top bar. **NOTE**: Make sure not to hit the program button. This will program the application code over the bootloader that was just programmed<br>
74
74

75
75
3. The project should compile cleanly. app.X/dist/default/production/app.X.production.hex should be generated
76
76
4. Verify that LED11 is still solid
77
77
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
78
78
79
79
#### Loading the Application
80
-
1. Open the Universal Bootloader Host Application tool (UBHA)
80
+
1. Open the Universal Bootloader Host Application tool (UBHA)<br>
81
81

82
-
2. Select the “PIC24/dsPIC” option from the “Device Architecture” selection drop down
82
+
2. Select the “PIC24/dsPIC” option from the “Device Architecture” selection drop down<br>
4. Select the “Settings->CAN” option from the top menu
86
+
4. Select the “Settings->CAN” option from the top menu<br>
87
87

88
88
5. Select the Peak protocol analyzer being used and the appropriate CAN configuration settings for this demo (listed below). When complete, press “Apply”:
89
89
a. Nominal Bit Rate: 125.00 kbits/s
@@ -93,18 +93,18 @@ The associated bootloader and application projects demonstrate the following:
93
93
e. Flexible Data Rate: 2Mbits/s
94
94
f. Message Format: Standard
95
95
g. Host to Device ID: 0xA1
96
-
h. Device to Host ID: 0xA2
96
+
h. Device to Host ID: 0xA2<br>
97
97

98
98
6. Press the "Read Device Settings" button
99
-
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
99
+
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>
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. 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.
107
-
a. After a few seconds, LED11 should be blinking
107
+
a. After a few seconds, LED11 should be blinking<br>
0 commit comments