SAML21J18B cannot program flash memory

Discussions around product based on ARM Cortex M0+ core.

Moderator: nferre

Posts: 1
Joined: Thu Aug 04, 2016 11:43 am

SAML21J18B cannot program flash memory

Mon Aug 08, 2016 11:05 am

Hello everyone !

After making a prototype based on SAML21 board (SAML21J18B/WLCSP) I've encoutered a problem trying to program its flash (via SWD protocol using atmel-ice debugger).
I've been able to erase-chip, but when I try actually programming it I receive the following message :

Code: Select all

Severity:      ERROR
ComponentId:   20100
StatusCode:   131103
ModuleName:   TCF command: Modules:writeToMemory failed.

Failed to write segment at 0x0 to target for memorytype base
When I dump the flash memory, I see that the first page (0x0 -> 0x40) has actually been written so I don't get why the tool sais that it couldn't write there.
I hope that some of you have some insight ( or any hint really ) on this type of issue.

Posts: 12
Joined: Thu Aug 18, 2016 3:26 pm

Re: SAML21J18B cannot program flash memory

Fri Aug 19, 2016 4:58 pm

Out of curiosity is one of the lock bits set and are you using the latest version of studio?

Return to “SAM D20 Cortex-M0+ MCU”

Who is online

Users browsing this forum: No registered users and 2 guests