Skip to content

Commit 28bf060

Browse files
dgarskedanielinux
authored andcommitted
Fixed PIC32 CI test branches. Update Targets.md with space between CK and CZ targets. Added note about power cycle after programming.
1 parent c90c01a commit 28bf060

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/test-build-pic32cx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Test PIC32CZ and PIC32CK Build
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [ 'master', 'main', 'release/**' ]
66
pull_request:
7-
branches: [main]
7+
branches: [ '*' ]
88

99
jobs:
1010
build-pic32cz:

docs/Targets.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,6 +1609,8 @@ Identify the correct JLink device for your PIC32CK. In the examples the model is
16091609
q
16101610
```
16111611

1612+
3. Disconnect USB debugger and power cycle board. LED0 will illuminate (indicating version 1). Hit reset button and LED1 will illumate (indicating version 2).
1613+
16121614
### Programming with MPlab IPE
16131615

16141616
In order to program using the MPlab IPE, you need to create the hex files for wolfBoot, and the signed application images:
@@ -1619,12 +1621,14 @@ arm-none-eabi-objcopy -I binary -O ihex --change-addresses=0x0C000000 test-app/i
16191621
arm-none-eabi-objcopy -I binary -O ihex --change-addresses=0x0C07F000 test-app/image_v2_signed.bin image_v2_signed.hex
16201622
```
16211623

1622-
then enable advanced setting in the MPLAB IPE GUI, and enable the "Allow Import Multiple Hex file" option in the Production view.
1624+
Then enable advanced setting in the MPLAB IPE GUI, and enable the "Allow Import Multiple Hex file" option in the Production view.
16231625
Once the option is enabled, load the hex files into the MPLAB IPE GUI (File -> Import -> Multiple hex) and program the device.
16241626

16251627
### Behavior During Testing
16261628

16271629
- The application version 1 will boot first. The application will trigger the update and light LED0. On the next reset, wolfBoot will update the application, boot application version 2, and turn on LED1.
1630+
1631+
16281632
## Microchip PIC32CZ
16291633

16301634
The PIC32CZ is a high-performance 32-bit microcontroller family from Microchip featuring an ARM Cortex-M7 core. wolfBoot has been tested on the PIC32CZCA91 Curiosity board, which has GPIO pins PB21 and PB22 connected to LED0 and LED1, respectively, for status indication.
@@ -1677,6 +1681,8 @@ Identify the correct JLink device for your PIC32CZ board. In the examples the mo
16771681
q
16781682
```
16791683

1684+
3. Disconnect USB debugger and power cycle board. LED0 will illuminate (indicating version 1). Hit reset button and LED1 will illumate (indicating version 2).
1685+
16801686
### Programming with MPLAB IPE
16811687

16821688
In order to program using the MPLAB IPE, you need to create the hex files for wolfBoot, and the signed application images:
@@ -1687,7 +1693,7 @@ arm-none-eabi-objcopy -I binary -O ihex --change-addresses=0x0C000000 test-app/i
16871693
arm-none-eabi-objcopy -I binary -O ihex --change-addresses=0x0C200000 test-app/image_v2_signed.bin image_v2_signed.hex
16881694
```
16891695

1690-
then enable advanced setting in the MPLAB IPE GUI, and enable the "Allow Import Multiple Hex file" option in the Production view.
1696+
Then enable advanced setting in the MPLAB IPE GUI, and enable the "Allow Import Multiple Hex file" option in the Production view.
16911697
Once the option is enabled, load the hex files into the MPLAB IPE GUI (File -> Import -> Multiple hex) and program the device.
16921698

16931699
### Behavior During Testing

0 commit comments

Comments
 (0)