Skip to content

Commit

Permalink
firmware.sh: add doc on update with dfu-util for D5035-01
Browse files Browse the repository at this point in the history
  • Loading branch information
jgressmann committed Jun 4, 2022
1 parent 63f5ec3 commit 375d232
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions appveyor/firmware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,36 +132,50 @@ EOF
- supercan.dfu: requires bootloader, update with dfu-util
## Installation / Upgrade
## Installation / Update
If you are using the bootloader, update it *first*.
After the bootloader update, you likely need to re-install the CAN application.
### Device Bootloader
#### J-LINK
#### Flash with J-LINK
\`\`\`
JLinkExe -device ATSAME51J18 -if swd -JTAGConf -1,-1 -speed auto -CommandFile superdfu.jlink
\`\`\`
#### Update with dfu-util
\`\`\`
sudo dfu-util -d 1d50:5035,:5036 -R -D superdfu.dfu
\`\`\`
### CAN Application (no Bootloder Required)
#### J-LINK
### CAN Application (no Bootloader Required)
#### Flash with J-LINK
\`\`\`
JLinkExe -device ATSAME51J18 -if swd -JTAGConf -1,-1 -speed auto -CommandFile supercan-standalone.jlink
\`\`\`
### CAN Application (Bootlodaer Required)
### CAN Application (Bootloader Required)
#### J-LINK
#### Flash with J-LINK
\`\`\`
JLinkExe -device ATSAME51J18 -if swd -JTAGConf -1,-1 -speed auto -CommandFile supercan-dfu.jlink
\`\`\`
#### Update with dfu-util
\`\`\`
sudo dfu-util -d 1d50:5035,:5036 -R -D supercan.dfu
\`\`\`
EOF

done
Expand Down

0 comments on commit 375d232

Please sign in to comment.