After building 0.11.0-rc1+dev-00001-g0dd3b7fa6-dirty (2020-12-21-17:08) I was not able to program the flash on a Microchip ATSAME51G18A-MF.
Here's a log of the operation I was running:
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
flash write_bank 0 /Users/michaelwolak/SAME_CLOCKS_SPI_120/gcc/AtmelStart.bin 0
Couldn't find part corresponding to DID 61810006
auto_probe failed
Thanks,
Mike
Indeed!
In the revision D Microchip added ATSAME51G18A and ATSAME51G19A, which were not known in the time of writing the atsame5 driver.
Please test and review http://openocd.zylin.com/5984
Hi Tom,
I've tested your latest commit and all is working now. Thank you for the quick turnaround. I've pasted the output of a flash write transaction below for your reference.
Best Regards,
Michael Wolak
Michaels-MBP-2:~ michaelwolak$ telnet localhost 4444
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
Can confirm that this works with SAME51G19A-MZT also.