Mon Feb 7 15:17:37 EST 2011

Running on the AT91

I'm getting OCD errors trying to upload the ELF:

Info : accepting 'gdb' connection from 3333
Warn : acknowledgment received, but no packet pending
Error: status register: 0x30005
Error: Lock Error Bit Detected, Operation Abort
Error: failed erasing sectors 0 to 11
Error: flash_erase returned -902
Info : dropped 'gdb' connection

The gdb console says:
Error erasing flash with vFlashErase packet

EDIT: problem was flash write protection bits

[1] http://ecos.sourceware.org/docs-3.0/user-guide/modifying-the-memory-layout.html