Skip to content

Commit 50647d8

Browse files
committed
Pull request #84: Release secure boot demo for dsPIC33AK512MPS512
Merge in MCU16CE/dspic33-dsc-bootloader-code-examples from develop to master * commit 'a7974f038a43b970eb2a0f7ccc4441b0156bcc52': Edit link path to shorter name Update readme remove folders for flash protection region projects reduce folder depth shorten path for top level demo Fix version number of inner project to match outer project main.json Remove python chache files Move flash protection example changes over to demo repo Move changes over to demo project from boot project Pull request #74: Add code to repo and update outer files
2 parents b49b38c + a7974f0 commit 50647d8

File tree

660 files changed

+124974
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

660 files changed

+124974
-13
lines changed

.citd/Jenkinsfilek8s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ pipeline {
8686
steps {
8787
script {
8888
sh("find . -type f -name postBuild.sh -exec chmod +x {} \\;")
89+
sh("find . -type f -name preBuild.sh -exec chmod +x {} \\;")
8990
mplabxProjectBuild(
9091
sourceFilePath: "${env.MPLABX_PROJECT_SOURCE}"
9192
)

.main-meta/main.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
"content": {
55
"metaDataVersion": "1.3.0",
66
"name": "com.microchip.mplabx.project.dspic33-dsc-bootloader-code-examples",
7-
"version": "1.1.0",
7+
"version": "1.2.1",
88
"displayName": "dsPIC33 DSC Bootloader Code Examples",
99
"projectName": "dspic33-dsc-bootloader-code-examples",
1010
"shortDescription": "dsPIC33 DSC Bootloader Code Examples",
1111
"ide": {
1212
"name": "MPLABX",
13-
"semverRange": ">=6.15.0"
13+
"semverRange": ">=6.25.0"
1414
},
1515
"compiler": {
16-
"name": "XC16",
17-
"semverRange": "^2.10.0"
16+
"name": "XCDSC",
17+
"semverRange": "^3.21"
1818
},
1919
"dfp": {
2020
"name": "dsPIC33CK-MP_DFP",

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,29 @@ See [secure_boot_and_secure_firmware_upgrade_over_canfd](secure_boot_and_secure_
2525
## <u>dsPIC33a Bootloader and Firmware Upgrade Demo</u>
2626

2727
### Summary
28-
An example bootloader using the Microchip Device Firmware Update (MDFU) protocol and UART peripheral on the dsPIC33A Curiosity Platform Development Board with a dsPIC33AK128MC106 DIM demonstrating the following:
28+
An example bootloader using the Microchip Device Firmware Update (MDFU) protocol and UART peripheral on the Curiosity Platform Development Board with a dsPIC33AK128MC106 DIM demonstrating the following:
2929
* Secure firmware update via UART using Microchip Device Firmware Update (MDFU) protocol
3030
* Application verification checking using a 32-bit CRC-32Q signature
3131

3232
### Related Documentation
3333
* [dsPIC33AK128MC106 DIM (EV02G02A)](https://www.microchip.com/en-us/development-tool/ev02g02a)
34-
* [dsPIC33A Curiosity Platform Development Board (EV74H48A)](https://www.microchip.com/en-us/development-tool/ev74h48a)
34+
* [Curiosity Platform Development Board (EV74H48A)](https://www.microchip.com/en-us/development-tool/ev74h48a)
3535
* [MDFU Protocol](https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SupportingCollateral/Microchip-Device-Firmware-Update-MDFU-Protocol-DS50003743.pdf)
3636

3737
### Setup And Operation
3838
See [dspic33a_bootloader_and_firmware_upgrade_demo](dspic33a_bootloader_and_firmware_upgrade_demo/) and the associated [README.md](dspic33a_bootloader_and_firmware_upgrade_demo/README.md) files for details on the required hardware, software, setup, and how to run the demo.
3939

40+
## <u>dsPIC33a Secure Boot and Firmware Upgrade Demo</u>
41+
42+
### Summary
43+
An example secure bootloader using the Microchip Device Firmware Update (MDFU) protocol and UART peripheral on the Curiosity Platform Development Board with a dsPIC33AK512MPS512 DIM demonstrating the following:
44+
* Secure firmware update via UART using Microchip Device Firmware Update (MDFU) protocol
45+
* Application verification checking using Elliptic Curve Digital Signature Algorithm (ECDSA) with P-384
46+
47+
### Related Documentation
48+
* [Curiosity Platform Development Board (EV74H48A)](https://www.microchip.com/en-us/development-tool/ev74h48a)
49+
* [MDFU Protocol](https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SupportingCollateral/Microchip-Device-Firmware-Update-MDFU-Protocol-DS50003743.pdf)
50+
51+
### Setup And Operation
52+
See [dspic33a_secure_boot](dspic33a_secure_boot/) and the associated [README.md](dspic33a_secure_boot/README.md) files for details on the required hardware, software, setup, and how to run the demo.
53+

changelog.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,31 @@
1-
# dsPIC33a Bootloader and Firmware Upgrade Demo v1.1.0
1+
# dsPIC33 DSC Bootloader Code Examples v1.2.1
22
### Release Highlights
3-
* Initial Release of "dsPIC33A bootloader and firmware upgrade demo" - MDFU based bootloader for the dsPIC33A family devices with a single partition verified by a CRC integrity check. *
3+
* Corrected version number of "dspic33a Secure Boot and Secure Firmware Upgrade Demo".
44

55
### Features Added\Updated
6-
* Initial Release of "dsPIC33A bootloader and firmware upgrade demo" - MDFU based bootloader for the dsPIC33A family devices with a single partition verified by a CRC integrity check. *
6+
* Corrected version number of "dspic33a Secure Boot and Secure Firmware Upgrade Demo".
77

8-
\* **NOTE**: THIS DEMO IS AN ENGINEERING RELEASE TO DEMONSTRATE DSPIC33A BOOTLOADER FUNCTIONALITY AND SHOULD BE USED FOR REFERENCE ONLY. THIS CODE IS NOT INTENDED FOR USE IN PRODUCTION.
8+
# dsPIC33 DSC Bootloader Code Examples v1.2.0
9+
### Release Highlights
10+
* Initial Release of "dspic33a Secure Boot and Secure Firmware Upgrade Demo" - MDFU based secure bootloader for the dsPIC33A family of devices with a single partition verified by ECDSA with P-384.*
11+
12+
### Features Added\Updated
13+
* Initial Release of "dspic33a Secure Boot and Secure Firmware Upgrade Demo" - MDFU based secure bootloader for the dsPIC33A family of devices with a single partition verified by ECDSA with P-384.*
914

10-
# dsPIC33 DSC Bootloader Code examples v1.0.0
15+
**NOTE**: THIS DEMO IS AN ENGINEERING RELEASE TO DEMONSTRATE DSPIC33A SECURE BOOTLOADER FUNCTIONALITY AND SHOULD BE USED FOR REFERENCE ONLY. THIS CODE IS NOT INTENDED FOR USE IN PRODUCTION.
16+
17+
# dsPIC33 DSC Bootloader Code Examples v1.1.0
1118
### Release Highlights
12-
* Initial Release of "Secure Boot and Secure Firmware Upgrade over CAN-FD for dsPIC33C DSCs Demo v1.0.0" - Refer to the README.md for a summary and execution procedure
19+
* Initial Release of "dsPIC33A Bootloader and Firmware Upgrade Demo" - MDFU based bootloader for the dsPIC33A family of devices with a single partition verified by a CRC integrity check. *
1320

1421
### Features Added\Updated
15-
* Initial Release of "Secure Boot and Secure Firmware Upgrade over CAN-FD for dsPIC33C DSCs Demo v1.0.0" - Refer to the README.md for a summary and execution procedure
22+
* Initial Release of "dsPIC33A Bootloader and Firmware Upgrade Demo" - MDFU based bootloader for the dsPIC33A family of devices with a single partition verified by a CRC integrity check. *
1623

24+
**NOTE**: THIS DEMO IS AN ENGINEERING RELEASE TO DEMONSTRATE DSPIC33A BOOTLOADER FUNCTIONALITY AND SHOULD BE USED FOR REFERENCE ONLY. THIS CODE IS NOT INTENDED FOR USE IN PRODUCTION.
1725

26+
# dsPIC33 DSC Bootloader Code Examples v1.0.0
27+
### Release Highlights
28+
* Initial Release of "Secure Boot and Secure Firmware Upgrade over CAN-FD for dsPIC33C DSCs Demo v1.0.0" - Refer to the README.md for a summary and execution procedure
29+
30+
### Features Added\Updated
31+
* Initial Release of "Secure Boot and Secure Firmware Upgrade over CAN-FD for dsPIC33C DSCs Demo v1.0.0" - Refer to the README.md for a summary and execution procedure
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
{
2+
"metaDataVersion": "1.0.0",
3+
"category": "com.microchip.ide.project",
4+
"content": {
5+
"metaDataVersion": "1.3.0",
6+
"name": "com.microchip.mplabx.project.dspic33a-secure-boot-and-secure-firmware-upgrade-demo",
7+
"version": "1.2.1",
8+
"displayName": "dsPIC33a Secure Boot and Secure Firmware Upgrade Demo",
9+
"projectName": "dspic33a-secure-boot-and-secure-firmware-upgrade-demo",
10+
"shortDescription": "This MPLAB® X IDE example demonstrates how to perform secure boot authentication and secure firmware upgrade via UART with Microchip Device Firmware Update Protocol (M-DFU) and ECDSA with P-384 verification within MCC Melody.",
11+
"ide": {
12+
"name": "MPLABX",
13+
"semverRange": ">=6.25.0"
14+
},
15+
"compiler": {
16+
"name": "XCDSC",
17+
"semverRange": "^3.21"
18+
},
19+
"dfp": {
20+
"name": "dsPIC33AK-MP_DFP",
21+
"semverRange": ">=1.0.81"
22+
},
23+
"configurator": {
24+
"name": "MCC",
25+
"semverRange": ">=5.7.1"
26+
},
27+
"device": {
28+
"metaDataVersion": "1.0.0",
29+
"category": "com.microchip.portal.contentRef",
30+
"content": {
31+
"metaDataVersion": "1.0.0",
32+
"category": "com.microchip.device",
33+
"name": " dsPIC33AK512MPS512",
34+
"versionRange": "*"
35+
}
36+
},
37+
"keywords": [
38+
"Application Layer",
39+
"Authentication",
40+
"Automotive",
41+
"Board",
42+
"Bootloader",
43+
"Bootloader Client",
44+
"CAN FD",
45+
"Certificate",
46+
"Code Protection",
47+
"Communication",
48+
"Communication Layer",
49+
"Communication Module",
50+
"Compiler",
51+
"Configurator",
52+
"Controller",
53+
"CryptoAuthentication",
54+
"Cryptographic Accelerator Module",
55+
"Cryptographic Standard",
56+
"Cryptography",
57+
"Curiosity",
58+
"Development Tool",
59+
"Documentation",
60+
"DSC",
61+
"DSP",
62+
"dsPIC",
63+
"Firmware",
64+
"Firmware Upgrade",
65+
"Flash OTP",
66+
"FTP",
67+
"Getting Started",
68+
"Immutable Boot",
69+
"Key",
70+
"MCC",
71+
"MDFU",
72+
"Memory",
73+
"Memory Module",
74+
"Memory Type",
75+
"Module",
76+
"MPLAB XC Compiler",
77+
"OTP",
78+
"Over-the-Air Upgrade",
79+
"Private Key",
80+
"Product",
81+
"Public Key",
82+
"Public-key Cryptography",
83+
"Secure Bootloader",
84+
"Secure Firmware Upgrade",
85+
"Security",
86+
"Security Device",
87+
"Serial Communication",
88+
"SHA",
89+
"SHA-256",
90+
"Software",
91+
"UART",
92+
"UART Protocol",
93+
"Virtual COM Port",
94+
"Wired",
95+
"XC16",
96+
"XC-DSC"
97+
]
98+
}
99+
}

0 commit comments

Comments
 (0)