Menu

#288 DID 61810006 (Microchip ATSAME51G18A) Not supported

0.11.0
new
nobody
AT91SAME51 (1)
2021-01-08
2020-12-21
No

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

Discussion

  • Tomas Vanek

    Tomas Vanek - 2020-12-22

    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

     
  • Michael Wolak

    Michael Wolak - 2020-12-22

    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

    reset halt
    target halted due to debug-request, current mode: Thread
    xPSR: 0x01000000 pc: 0x00001740 msp: 0x200082b0
    flash write_bank 0 /Users/michaelwolak/SAME_CLOCKS_SPI_120/gcc/AtmelStart.bin 0
    wrote 6372 bytes from file /Users/michaelwolak/SAME_CLOCKS_SPI_120/gcc/AtmelStart.bin to flash bank 0 at offset 0x00000000 in 0.429085s (14.502 KiB/s)

     
  • michael lamunion

    Can confirm that this works with SAME51G19A-MZT also.

     

Log in to post a comment.

MongoDB Logo MongoDB