Hello all,
This is what in the Openocd cfg file:
working_area 0 0x40000000 0x40000 nobackup
I am really confused. I read the Atmel AT91SAM7 datasheet. The address 0x40000000 falls under “undefined” region. How does Openocd work with that address?
Hello all,
This is what in the Openocd cfg file:
working_area 0 0x40000000 0x40000 nobackup
I am really confused. I read the Atmel AT91SAM7 datasheet. The address 0x40000000 falls under “undefined” region. How does Openocd work with that address?
The working area line:
working_area 0 0x40000000 0x40000 nobackup
has probably been copied from a LPC config file, where it is a valid address.
For the AT91SAM7 it should be changed to a valid address, at 0x200000 .
The reason that OpenOCD still works with this config is that the AT91SAM7 flash
code does not use the working area.
/Magnus