Hello All,
I have just purchased a Amontec JTAG-Key (USB/JTAG) device.
I want to program the flash of the AT91SAM7A3 processor by using this interface and Open OCD.
I tried the instructions provided by Martin Thomas on
http://www.siwawi.arubi.uni-kl.de/avr_p … index.html
However i get an error message “Lock Error Bit Detected”.
Has anybody done this ?
Most thankful for any help config files flash scripts etc…
Best Regards
/Fredrik
mlu
2
Hi, eller snarare hej.
You must unprotect the part of flash memory that shall be erased and programmed.
Use the telnet client and check flash status, including which lockbits that are set , with
flash info 0
Next unlock the lock regions that shall be changed with
flash protect 0 off
And verify the result with
flash info 0
And then try to flash the memory.
Hälsningar,
Magnus
Hej Magnus,
Thanks, Tackar !!
Now it works :-).
(Kul att få svar av en göteborgare, själv så sitter jag på Lindholmen)
Best Regards
/Fredrik