Hi,
I recently received Olimex AT91SAM7S256 board and openOCD ARM-USB-TINY.
I executed Olimex-GCCFD-20081015.exe which came along with the CD.
I have successfully installed the USB-TINY although it asked to install
just two times opposed to three times described in Peter Lynch's
tutorial.
But i checked in device manager it shows two entries:
1.Olimex Open OCD JTAG TINY
2.Olimex Open OCD JTAG TINY Interface
I selected project named sam7p256-flash-usb which is designated for the
board I am using. I was able to build the project without any error.
But I am unable to flash it via ARM-USB-TINY. The debugger seem to hang
after executing following commands:
1 | Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported
|
2 | $URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
|
3 | Info: options.c:50 configuration_output_handler(): jtag_speed: 2, 2
|
4 | Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported
|
5 | Info: jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x3f0f0f0f (Manufacturer: 0x787, Part: 0xf0f0, Version: 0x3)
|
6 | Info: jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x3f0f0f0f (Manufacturer: 0x787, Part: 0xf0f0, Version: 0x3)
|
7 | Info: target.c:237 target_init_handler(): executing reset script 'sam7flash.script'
|
8 | Info: options.c:50 configuration_output_handler(): dcc downloads are enabled
|
9 | Info: options.c:50 configuration_output_handler(): core state: ARM
|
10 | Info: options.c:50 configuration_output_handler(): flash 'at91sam7' found at 0x00100000
|
11 | Info: options.c:50 configuration_output_handler(): #0: at91sam7 at 0x00100000, size 0x00040000, buswidth 4, chipwidth 0
|
12 | Info: options.c:50 configuration_output_handler(): #0: 0x00000000 (0x40000 256kB) protection state unknown
|
13 | Info: options.c:50 configuration_output_handler():
|
14 | at91sam7 information: Chip is AT91SAM7S256
|
15 | cidr: 0x270b0941, arch: 0x0070, eproc: ARM7TDMI, version:0x001, flashsize: 0x00040000
|
16 | master clock(estimated): 51793kHz
|
17 | pagesize: 256, lockbits: 16 0x0000, pages in lock region: 64
|
18 | securitybit: 0, nvmbits(2): 0x0
|
19 |
|
20 | Info: options.c:50 configuration_output_handler(): cleared protection for sectors 0 through 15 on flash bank 0
|
21 | Info: options.c:50 configuration_output_handler(): gpnvm bit '#2' is out of bounds for target AT91SAM7S256
|
22 | Info: options.c:50 configuration_output_handler(): erased sectors 0 through 0 on flash bank 0 in 0.043000s
|
23 | Info: options.c:50 configuration_output_handler(): wrote 8496 byte from file main.bin in 0.891000s (9.311869 kb/s)
|
After the last line in above console message the red LED on the
ARM-USB-TINY keeps on blinking and one of the LED on the dev board
becomes permanently ON.
To me it seems its flashing data to chip but is not able to come out....
I have tried all the three USB ports on my Vista Laptop to connect to
debugger but in vain.
Has anybody used this board from olimex? Please reply.
Regards
Rohit