Skip to content

Commit 75a28c7

Browse files
aiwyatt787davidflowers
authored andcommitted
Pull request #74: Add code to repo and update outer files
Merge in MCU16CE/dspic33-dsc-bootloader-code-examples from ~C74569/dspic33-dsc-bootloader-code-examples:feature/CC16BOOT-8426-move-code-to-github-staging-repo_2 to develop Squashed commit of the following: commit 00404ee3d5e9b7fdba4fa55044514399df752d4e Author: Anastasia Wyatt <Tess.Wyatt@microchip.com> Date: Wed May 28 11:04:16 2025 -0700 Add code to repo and update outer files
1 parent 272a807 commit 75a28c7

File tree

646 files changed

+124218
-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.

646 files changed

+124218
-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.0",
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_and_secure_firmware_upgrade_demo](dspic33a_secure_boot_and_secure_firmware_upgrade_demo/) and the associated [README.md](dspic33a_secure_boot_and_secure_firmware_upgrade_demo/README.md) files for details on the required hardware, software, setup, and how to run the demo.
53+

changelog.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
1-
# dsPIC33a Bootloader and Firmware Upgrade Demo v1.1.0
1+
# dsPIC33 DSC Bootloader Code Examples v1.2.0
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+
* 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.*
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+
* 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.*
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+
**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.
99

10-
# dsPIC33 DSC Bootloader Code examples v1.0.0
10+
# dsPIC33 DSC Bootloader Code Examples v1.1.0
1111
### 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
12+
* 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. *
1313

1414
### 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
15+
* 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. *
1616

17+
**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.
1718

19+
# dsPIC33 DSC Bootloader Code Examples v1.0.0
20+
### Release Highlights
21+
* 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+
23+
### Features Added\Updated
24+
* 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.0.0",
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)