BOSSA icon indicating copy to clipboard operation
BOSSA copied to clipboard

Flashing SAME53N20

Open rbickle opened this issue 5 years ago • 3 comments

Using BOSSAC to flash SAME53N20 device vis USB and Atmel SAM-BA monitor. The utility communicates with the device, but verify fails. When the flash is read back, it is still erased. I have created files showing the commands issued and the debug responses of each step. I do not know how to interpret the debug data. Thanks.

e53n20.zip

rbickle avatar Feb 19 '20 01:02 rbickle

maybe same thing as by the SAMC21 (need at least 6ms to erase single page).

you can try my wait ready work around Pull Request

xeno27 avatar Feb 20 '20 09:02 xeno27

Thanks for the info. I’m not sure how to implement this…

If I send you a dev. Board for this chip, would you test it for compatibility?

Thanks,

Rick

From: X3N0 [mailto:[email protected]] Sent: Thursday, February 20, 2020 3:11 AM To: shumatech/BOSSA [email protected] Cc: rbickle [email protected]; Author [email protected] Subject: Re: [shumatech/BOSSA] Flashing SAME53N20 (#122)

maybe same thing as by the SAMC21 (need at least 6ms to erase single page).

you can try my wait ready work around Pull Request https://github.com/shumatech/BOSSA/pull/123

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/shumatech/BOSSA/issues/122?email_source=notifications&email_token=AOTAYVU27ZHYGMFK5XEMSCTRDZCKZA5CNFSM4KXPYFDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMMJ3QY#issuecomment-588815811 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOTAYVVGBKUZZPSM4LUQJMDRDZCKZANCNFSM4KXPYFDA . https://github.com/notifications/beacon/AOTAYVUH5DLWIIE724CXTFTRDZCKZA5CNFSM4KXPYFDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMMJ3QY.gif

rbickle avatar Feb 20 '20 19:02 rbickle

I have also found that if I erase the flash completely and flash only the bootloader code using the JTAG device, BOSSAC will program the application correctly at the offset. It will not verify or read the code back however.

rbickle avatar Feb 21 '20 19:02 rbickle