|
hello bogdan,
the at91sam7x is a little bit different from at91sam7s in terms of sam-ba.
When GPNVM bit 2 is set to 0, the device boots from ROM (SAM-BA) (which is factoy default). if you set GPNVM bit 2 to 1 (for example with SAM-BA) and you would like to use SAM-BA again you have to clear GPNVM bit 2 by setting the ERASE pin to high during power-up (this clears also the flash and some other stuff).
btw: sam-ba is only a recovery tool. it saves much time if you use a jtag-ice (like j-link/sam-ice or arm-usb-ocd) for debugging.
regards
gerhard
|