[En-Nut-Discussion] Ethernut 3.0 limits

Javier Longares supertxaby at gmail.com
Thu Jan 28 17:07:51 CET 2010


Hi again,

My board is making me the life harder.  Yesterday, I follwed the steps
stated here http://www.ethernut.de/en/hardware/enut3/openocd.html connecting
by the link Turtelizer 2> Connect Ethernut 3.1

Then I halted the MCU, the flash probe 0 was as expected and the flash
erase_sector seemed work well, but when writing the code image, a Window
error pop up in the screen.  After this moment, I've tried flash probe and
flash erase sector without succes.  The error happens as follows:

Open On-Chip Debugger
> halt
target state: halted
target halted in Thumb state due to debug-request, current mode: Supervisor
cpsr: 0x400000f3 pc: 0xffffffc2
> flash probe 0
memory write caused data abort (address: 0x10000aaa, size: 0x2, count: 0x1)
unknown error when probing flash bank '#0' at 0x10000000
> flash probe 0
memory write caused data abort (address: 0x10000aaa, size: 0x2, count: 0x1)
unknown error when probing flash bank '#0' at 0x10000000
> flash erase sector 0
Unknown command: flash erase sector 0
called at file "command.c", line 473
> flash erase_sector 0
flash erase_sector        erase sectors at <bank> <first> <last>

called at file "command.c", line 473
called at file "embedded:startup.tcl", line 89
called at file "embedded:startup.tcl", line 91
called at file "embedded:startup.tcl", line 93
> flash erase_sector 0 0 10
memory write caused data abort (address: 0x10000aaa, size: 0x2, count: 0x1)
auto_probe failed -307

> halt
> flash probe 0
memory write caused data abort (address: 0x10000aaa, size: 0x2, count: 0x1)
unknown error when probing flash bank '#0' at 0x10000000
> flash erase_sector 0 0 10
memory write caused data abort (address: 0x10000aaa, size: 0x2, count: 0x1)
auto_probe failed -307

Best regards.



More information about the En-Nut-Discussion mailing list