Hello :-)
I am trying to working with the LPC2103 - my first time with ARM LPC. I am
getting the following errors:
"Open On-Chip Debugger 1.0 (2009-04-26-12:37) svn:1528
Info : JTAG tap: lpc2103.cpu tap/device found: 0x9f3f1f1f (Manufacturer: 0x78f,
Part: 0xf3f1, Version: 0x9)
Error: JTAG tap: lpc2103.cpu got: 0x9f3f1f1f (mfg: 0x78f, part:
0xf3f1, ver: 0x9)
Error: JTAG tap: lpc2103.cpu expected 1 of 1: 0x4f1f0f0f (mfg: 0x787, part:
0xf1f0, ver: 0x4)
Error: trying to validate configured JTAG chain anyway...
Error: unknown EmbeddedICE version (comms ctrl: 0x80000000)"
Can some one please give me a clue? I am using the Olimex header dev. board.
Recently I worked with AT91SAM7S256 (ARM7) and all went perfect. Also with the
AT91SAM91260 (ARM9) for Lyre project*.
Thanks in advance.
Jorge "Casainho" Pinto
http://www.casainho.net
* http://www.rockbox.org/twiki/bin/view/Main/LyreProject
LPC2103 -- unknown EmbeddedICE version
Started by ●April 26, 2009
Reply by ●April 28, 20092009-04-28
Hi
Some more info on your ide system can give us a help to understand your issues,jtag debbuger too.
Franco
--- In l..., "JPCasainho" wrote:
>
> Hello :-)
>
> I am trying to working with the LPC2103 - my first time with ARM LPC. I am getting the following errors:
>
> "Open On-Chip Debugger 1.0 (2009-04-26-12:37) svn:1528
>
> Info : JTAG tap: lpc2103.cpu tap/device found: 0x9f3f1f1f (Manufacturer: 0x78f, Part: 0xf3f1, Version: 0x9)
> Error: JTAG tap: lpc2103.cpu got: 0x9f3f1f1f (mfg: 0x78f, part: 0xf3f1, ver: 0x9)
> Error: JTAG tap: lpc2103.cpu expected 1 of 1: 0x4f1f0f0f (mfg: 0x787, part: 0xf1f0, ver: 0x4)
> Error: trying to validate configured JTAG chain anyway...
> Error: unknown EmbeddedICE version (comms ctrl: 0x80000000)"
>
> Can some one please give me a clue? I am using the Olimex header dev. board.
>
> Recently I worked with AT91SAM7S256 (ARM7) and all went perfect. Also with the AT91SAM91260 (ARM9) for Lyre project*.
>
> Thanks in advance.
>
> Jorge "Casainho" Pinto
> http://www.casainho.net
> * http://www.rockbox.org/twiki/bin/view/Main/LyreProject
>
Some more info on your ide system can give us a help to understand your issues,jtag debbuger too.
Franco
--- In l..., "JPCasainho" wrote:
>
> Hello :-)
>
> I am trying to working with the LPC2103 - my first time with ARM LPC. I am getting the following errors:
>
> "Open On-Chip Debugger 1.0 (2009-04-26-12:37) svn:1528
>
> Info : JTAG tap: lpc2103.cpu tap/device found: 0x9f3f1f1f (Manufacturer: 0x78f, Part: 0xf3f1, Version: 0x9)
> Error: JTAG tap: lpc2103.cpu got: 0x9f3f1f1f (mfg: 0x78f, part: 0xf3f1, ver: 0x9)
> Error: JTAG tap: lpc2103.cpu expected 1 of 1: 0x4f1f0f0f (mfg: 0x787, part: 0xf1f0, ver: 0x4)
> Error: trying to validate configured JTAG chain anyway...
> Error: unknown EmbeddedICE version (comms ctrl: 0x80000000)"
>
> Can some one please give me a clue? I am using the Olimex header dev. board.
>
> Recently I worked with AT91SAM7S256 (ARM7) and all went perfect. Also with the AT91SAM91260 (ARM9) for Lyre project*.
>
> Thanks in advance.
>
> Jorge "Casainho" Pinto
> http://www.casainho.net
> * http://www.rockbox.org/twiki/bin/view/Main/LyreProject
>
Reply by ●April 30, 20092009-04-30
> Some more info on your ide system can give us a help
to understand your issues,jtag debbuger too.
> Franco
Hello :-)
I am using Eclipse on Linux Ubuntu 9.04. ARM-USB-TINY JTAG dongle. I did build the OpenOCD revision 732 (the same I did used for AT91SAM9260 (ARM9) and AT91SAM7S256 (ARM7). All this tools working correctly for that ARM -- http://code.google.com/p/rockboxplayer/wiki/DevelopmentEnvironmentSetup.
And for LPC2103 I am trying with this OpenOCD cfg file:
"#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface ft2232
ft2232_layout "olimex-jtag"
ft2232_vid_pid 0x15BA 0x0004
jtag_speed 50
jtag_nsrst_delay 200
jtag_ntrst_delay 200
#LPCs need reset pulled while RTCK is low. 0 to activate JTAG,
power-on reset is not enough
jtag_reset 1 1
jtag_reset 0 0
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#target configuration
daemon_startup reset
#target arm7tdmi
target arm7tdmi little run_and_init 0 arm7tdmi-s_r4
run_and_halt_time 0 30
target_script 0 reset openocd_lpc2103_reset.script
working_area 0 0x40000200 0x1300 nobackup
#flash configuration
#flash bank lpc2000 0x0 0x8000 0 0 0 lpc2000_v2 0 19660 calc_checksum
flash bank lpc2000 0x0 0x8000 0 0 0 lpc2000_v2 0 58980 calc_checksum"
And the reset file:
"#do not remap 0x0000-0x0020 to anything but the flash
mwh 0xE01FC040 0x0001"
On Eclipse debug window, for commands, I have:
"monitor flash write_image erase ../main.bin 0x0
monitor reset run
monitor sleep 500
monitor soft_reset_halt
monitor arm7_9 sw_bkpts enable
symbol-file main.out
continue"
And I am getting this messages:
"Open On-Chip Debugger 1.0 (2009-03-05-22:22) svn:unknown
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
Info: options.c:50 configuration_output_handler(): jtag_speed: 50, 50
Error: jtag.c:962 jtag_add_reset(): BUG: requested SRST assertion,
but the current configuration doesn't support this
Info: options.c:50 configuration_output_handler(): Open On-Chip
Debugger 1.0 (2009-03-05-22:22) svn:unknown
Info: jtag.c:1389 jtag_examine_chain(): JTAG device found:
0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Info: jtag.c:1389 jtag_examine_chain(): JTAG device found:
0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Info: target.c:230 execute_script(): executing script
'openocd_lpc2103_reset.script'"
And:
"target remote localhost:3333
warning: Can not parse XML memory map; XML support was disabled at compile time
0x00000156 in feed () at main.c:31
31 PLLFEED=0x55;
auto erase enabled
monitor flash write_image erase ../main.bin 0x0
wrote 952 byte from file ../main.bin in 1.375452s (0.675914 kb/s)
monitor reset run
JTAG device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
monitor sleep 500
monitor soft_reset_halt
requesting target halt and executing a soft reset
monitor arm7_9 sw_bkpts enable
software breakpoints enabled
symbol-file main.out
continue"
And the code never goes to main(), it hangs on feed(), as show is this image:
http://www.flickr.com/photos/43558168@N00/3488986586/sizes/o/
What means that error on OpenOCD:
"Error: jtag.c:962 jtag_add_reset(): BUG: requested SRST assertion,
but the current configuration doesn't support this"
Thanks in advance.
> Franco
Hello :-)
I am using Eclipse on Linux Ubuntu 9.04. ARM-USB-TINY JTAG dongle. I did build the OpenOCD revision 732 (the same I did used for AT91SAM9260 (ARM9) and AT91SAM7S256 (ARM7). All this tools working correctly for that ARM -- http://code.google.com/p/rockboxplayer/wiki/DevelopmentEnvironmentSetup.
And for LPC2103 I am trying with this OpenOCD cfg file:
"#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface ft2232
ft2232_layout "olimex-jtag"
ft2232_vid_pid 0x15BA 0x0004
jtag_speed 50
jtag_nsrst_delay 200
jtag_ntrst_delay 200
#LPCs need reset pulled while RTCK is low. 0 to activate JTAG,
power-on reset is not enough
jtag_reset 1 1
jtag_reset 0 0
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#target configuration
daemon_startup reset
#target arm7tdmi
target arm7tdmi little run_and_init 0 arm7tdmi-s_r4
run_and_halt_time 0 30
target_script 0 reset openocd_lpc2103_reset.script
working_area 0 0x40000200 0x1300 nobackup
#flash configuration
#flash bank lpc2000 0x0 0x8000 0 0 0 lpc2000_v2 0 19660 calc_checksum
flash bank lpc2000 0x0 0x8000 0 0 0 lpc2000_v2 0 58980 calc_checksum"
And the reset file:
"#do not remap 0x0000-0x0020 to anything but the flash
mwh 0xE01FC040 0x0001"
On Eclipse debug window, for commands, I have:
"monitor flash write_image erase ../main.bin 0x0
monitor reset run
monitor sleep 500
monitor soft_reset_halt
monitor arm7_9 sw_bkpts enable
symbol-file main.out
continue"
And I am getting this messages:
"Open On-Chip Debugger 1.0 (2009-03-05-22:22) svn:unknown
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
Info: options.c:50 configuration_output_handler(): jtag_speed: 50, 50
Error: jtag.c:962 jtag_add_reset(): BUG: requested SRST assertion,
but the current configuration doesn't support this
Info: options.c:50 configuration_output_handler(): Open On-Chip
Debugger 1.0 (2009-03-05-22:22) svn:unknown
Info: jtag.c:1389 jtag_examine_chain(): JTAG device found:
0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Info: jtag.c:1389 jtag_examine_chain(): JTAG device found:
0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Info: target.c:230 execute_script(): executing script
'openocd_lpc2103_reset.script'"
And:
"target remote localhost:3333
warning: Can not parse XML memory map; XML support was disabled at compile time
0x00000156 in feed () at main.c:31
31 PLLFEED=0x55;
auto erase enabled
monitor flash write_image erase ../main.bin 0x0
wrote 952 byte from file ../main.bin in 1.375452s (0.675914 kb/s)
monitor reset run
JTAG device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
monitor sleep 500
monitor soft_reset_halt
requesting target halt and executing a soft reset
monitor arm7_9 sw_bkpts enable
software breakpoints enabled
symbol-file main.out
continue"
And the code never goes to main(), it hangs on feed(), as show is this image:
http://www.flickr.com/photos/43558168@N00/3488986586/sizes/o/
What means that error on OpenOCD:
"Error: jtag.c:962 jtag_add_reset(): BUG: requested SRST assertion,
but the current configuration doesn't support this"
Thanks in advance.
Reply by ●May 1, 20092009-05-01
Ok, I got the blink LED code working and debug perfectly ;-)
I am sending all my files for anyone who needs them :-)
All files are also available on this SVN:
http://code.google.com/p/casainho-projects/source/detail?r=6
I am sending all my files for anyone who needs them :-)
All files are also available on this SVN:
http://code.google.com/p/casainho-projects/source/detail?r=6
Reply by ●May 2, 20092009-05-02
--- In l..., "JPCasainho" wrote:
>
> > Some more info on your ide system can give us a help to understand your issues,jtag debbuger too.
> > Franco
>
> Hello :-)
>
> I am using Eclipse on Linux Ubuntu 9.04. ARM-USB-TINY JTAG dongle. I did build the OpenOCD revision 732 (the same I did used for AT91SAM9260 (ARM9) and AT91SAM7S256 (ARM7). All this tools working correctly for that ARM -- http://code.google.com/p/rockboxplayer/wiki/DevelopmentEnvironmentSetup.
>
> And for LPC2103 I am trying with this OpenOCD cfg file:
>
> "#daemon configuration
> telnet_port 4444
> gdb_port 3333
>
> #interface
> interface ft2232
> ft2232_layout "olimex-jtag"
> ft2232_vid_pid 0x15BA 0x0004
>
> jtag_speed 50
> jtag_nsrst_delay 200
> jtag_ntrst_delay 200
>
> #LPCs need reset pulled while RTCK is low. 0 to activate JTAG,
> power-on reset is not enough
> jtag_reset 1 1
> jtag_reset 0 0
>
> #use combined on interfaces or targets that can't set TRST/SRST separately
> reset_config trst_and_srst srst_pulls_trst
>
> #jtag scan chain
> #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
> jtag_device 4 0x1 0xf 0xe
>
> #target configuration
> daemon_startup reset
>
> #target arm7tdmi
> target arm7tdmi little run_and_init 0 arm7tdmi-s_r4
>
> run_and_halt_time 0 30
>
> target_script 0 reset openocd_lpc2103_reset.script
>
> working_area 0 0x40000200 0x1300 nobackup
>
> #flash configuration
> #flash bank lpc2000 0x0 0x8000 0 0 0 lpc2000_v2 0 19660 calc_checksum
> flash bank lpc2000 0x0 0x8000 0 0 0 lpc2000_v2 0 58980 calc_checksum"
> And the reset file:
>
> "#do not remap 0x0000-0x0020 to anything but the flash
> mwh 0xE01FC040 0x0001"
> On Eclipse debug window, for commands, I have:
>
> "monitor flash write_image erase ../main.bin 0x0
> monitor reset run
>
> monitor sleep 500
>
> monitor soft_reset_halt
> monitor arm7_9 sw_bkpts enable
>
> symbol-file main.out
>
> continue"
> And I am getting this messages:
>
> "Open On-Chip Debugger 1.0 (2009-03-05-22:22) svn:unknown
> $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
> Info: options.c:50 configuration_output_handler(): jtag_speed: 50, 50
> Error: jtag.c:962 jtag_add_reset(): BUG: requested SRST assertion,
> but the current configuration doesn't support this
> Info: options.c:50 configuration_output_handler(): Open On-Chip
> Debugger 1.0 (2009-03-05-22:22) svn:unknown
> Info: jtag.c:1389 jtag_examine_chain(): JTAG device found:
> 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
> Info: jtag.c:1389 jtag_examine_chain(): JTAG device found:
> 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
> Info: target.c:230 execute_script(): executing script
> 'openocd_lpc2103_reset.script'"
>
> And:
>
> "target remote localhost:3333
> warning: Can not parse XML memory map; XML support was disabled at compile time
> 0x00000156 in feed () at main.c:31
> 31 PLLFEED=0x55;
> auto erase enabled
> monitor flash write_image erase ../main.bin 0x0
> wrote 952 byte from file ../main.bin in 1.375452s (0.675914 kb/s)
> monitor reset run
> JTAG device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
> monitor sleep 500
> monitor soft_reset_halt
> requesting target halt and executing a soft reset
> monitor arm7_9 sw_bkpts enable
> software breakpoints enabled
> symbol-file main.out
> continue"
>
> And the code never goes to main(), it hangs on feed(), as show is this image:
>
> http://www.flickr.com/photos/43558168@N00/3488986586/sizes/o/
>
> What means that error on OpenOCD:
> "Error: jtag.c:962 jtag_add_reset(): BUG: requested SRST assertion,
> but the current configuration doesn't support this"
>
> Thanks in advance.
>
I posted here...
http://tech.groups.yahoo.com/group/lpc2000/message/40444
... the OpenOCD.cfg file I use with my LPC2103 and the Olimex USB JTAG Tiny debugger.
TC
>
> > Some more info on your ide system can give us a help to understand your issues,jtag debbuger too.
> > Franco
>
> Hello :-)
>
> I am using Eclipse on Linux Ubuntu 9.04. ARM-USB-TINY JTAG dongle. I did build the OpenOCD revision 732 (the same I did used for AT91SAM9260 (ARM9) and AT91SAM7S256 (ARM7). All this tools working correctly for that ARM -- http://code.google.com/p/rockboxplayer/wiki/DevelopmentEnvironmentSetup.
>
> And for LPC2103 I am trying with this OpenOCD cfg file:
>
> "#daemon configuration
> telnet_port 4444
> gdb_port 3333
>
> #interface
> interface ft2232
> ft2232_layout "olimex-jtag"
> ft2232_vid_pid 0x15BA 0x0004
>
> jtag_speed 50
> jtag_nsrst_delay 200
> jtag_ntrst_delay 200
>
> #LPCs need reset pulled while RTCK is low. 0 to activate JTAG,
> power-on reset is not enough
> jtag_reset 1 1
> jtag_reset 0 0
>
> #use combined on interfaces or targets that can't set TRST/SRST separately
> reset_config trst_and_srst srst_pulls_trst
>
> #jtag scan chain
> #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
> jtag_device 4 0x1 0xf 0xe
>
> #target configuration
> daemon_startup reset
>
> #target arm7tdmi
> target arm7tdmi little run_and_init 0 arm7tdmi-s_r4
>
> run_and_halt_time 0 30
>
> target_script 0 reset openocd_lpc2103_reset.script
>
> working_area 0 0x40000200 0x1300 nobackup
>
> #flash configuration
> #flash bank lpc2000 0x0 0x8000 0 0 0 lpc2000_v2 0 19660 calc_checksum
> flash bank lpc2000 0x0 0x8000 0 0 0 lpc2000_v2 0 58980 calc_checksum"
> And the reset file:
>
> "#do not remap 0x0000-0x0020 to anything but the flash
> mwh 0xE01FC040 0x0001"
> On Eclipse debug window, for commands, I have:
>
> "monitor flash write_image erase ../main.bin 0x0
> monitor reset run
>
> monitor sleep 500
>
> monitor soft_reset_halt
> monitor arm7_9 sw_bkpts enable
>
> symbol-file main.out
>
> continue"
> And I am getting this messages:
>
> "Open On-Chip Debugger 1.0 (2009-03-05-22:22) svn:unknown
> $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
> Info: options.c:50 configuration_output_handler(): jtag_speed: 50, 50
> Error: jtag.c:962 jtag_add_reset(): BUG: requested SRST assertion,
> but the current configuration doesn't support this
> Info: options.c:50 configuration_output_handler(): Open On-Chip
> Debugger 1.0 (2009-03-05-22:22) svn:unknown
> Info: jtag.c:1389 jtag_examine_chain(): JTAG device found:
> 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
> Info: jtag.c:1389 jtag_examine_chain(): JTAG device found:
> 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
> Info: target.c:230 execute_script(): executing script
> 'openocd_lpc2103_reset.script'"
>
> And:
>
> "target remote localhost:3333
> warning: Can not parse XML memory map; XML support was disabled at compile time
> 0x00000156 in feed () at main.c:31
> 31 PLLFEED=0x55;
> auto erase enabled
> monitor flash write_image erase ../main.bin 0x0
> wrote 952 byte from file ../main.bin in 1.375452s (0.675914 kb/s)
> monitor reset run
> JTAG device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
> monitor sleep 500
> monitor soft_reset_halt
> requesting target halt and executing a soft reset
> monitor arm7_9 sw_bkpts enable
> software breakpoints enabled
> symbol-file main.out
> continue"
>
> And the code never goes to main(), it hangs on feed(), as show is this image:
>
> http://www.flickr.com/photos/43558168@N00/3488986586/sizes/o/
>
> What means that error on OpenOCD:
> "Error: jtag.c:962 jtag_add_reset(): BUG: requested SRST assertion,
> but the current configuration doesn't support this"
>
> Thanks in advance.
>
I posted here...
http://tech.groups.yahoo.com/group/lpc2000/message/40444
... the OpenOCD.cfg file I use with my LPC2103 and the Olimex USB JTAG Tiny debugger.
TC








