EDBG MSD firmware bypass

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Currently trying to pull a .hex file off of my SAMD21J18A xplained pro board, however when I go to device programming it prompts me to update the firmware. The problem is I don't know how this firmware is going to affect the program on the board (I don't have the original project anymore). Is there anyway to bypass this update and just use the firmware that is on the board already?

 

Any help is much appreciated. 

This topic has a solution.
Last Edited: Tue. Jun 11, 2019 - 08:19 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Maybe you can use the command line tool that comes with AS, atprogram.exe, to get the binary dump from the chip.

It has a "force" option:

 

-f  --force                Force command even if firmware is not up to date.

 

Last Edited: Tue. Jun 11, 2019 - 07:37 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

atprogram will generally not force an upgrade (it has a lower-bound check only)
.
In studio, under Tools/Options/Tools there's a switch to turn off the fw check.

Also, a fw upgrade does not touch the target...

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Thank you very much! This is exactly what I needed!