|
From: David R. <re...@os...> - 2013-05-31 01:20:50
|
G'day,
I'm running linux and have openocd-0.7.0, an openjtag device (from
100ASK), and an at91sam7s-ek eval kit with an at91sam7s256. My
initial test project is Atmel's getting-started-project.
My problem is that I'm unable to flash the chip.
openocd is recognizing the openjtag and the chip, as indicated by:
Info : device: 4 "2232C"
Info : deviceID: 0x1457:0x5118
Info : SerialNumber: ...
Info : Description: USB<=>JTAG&RS232 A
Info : clock speed 6000 kHz
Info : JTAG tap: at91sam7s256.cpu tap/device found: 0x3f0f0f0f \
(mfg: 0x787, part: 0xf0f0, ver: 0x3)
Info : Embedded ICE version 1
Info : at91sam7s256.cpu: hardware has 2 breakpoint/watchpoint units
Info : JTAG tap: at91sam7s256.cpu tap/device found: \
0x3f0f0f0f (mfg: 0x787, part: 0xf0f0, ver: 0x3)
However, openocd isn't happy with the programming:
** Programming Started **
auto erase enabled
Warn : no flash bank found for address 8000
Warn : no flash bank found for address 11f04
wrote 0 bytes from file getting-started-project.elf in 0.108909s \
(0.000 KiB/s)
** Programming Finished **
** Verify Started **
Error: checksum mismatch - attempting binary compare
...
Addresses 8000 and 11f04 appear in the load map as:
LOAD /usr/arm-unknown-linux-gnueabi/usr/lib/crtn.o
0x0000000000008000 PROVIDE (__executable_start, 0x8000)
0x0000000000008174 0x8000 + SIZEOF_HEADERS)
.exception_ranges
*(.exception_ranges .exception_ranges*)
0x0000000000009da8 . = (ALIGN (0x8000) - ((0x8000 - .) &0x7fff))
0x0000000000011f04 . = DATA_SEGMENT_ALIGN (0x8000, 0x1000)
Can anybody point me towards a solution to the "no flash bank" problem?
Thank you.
David
|