Forgive me if this has been brought up before but I am having difficulties working with my lpc-p2148 development board and JTAG interface. It worked fine until a few days ago, so I spent a few hours trying to figure it out and no luck. Same deal today, only I am using my girlfriends computer, no luck.
I am using eclipse and trying to load and debug my program with the JTAG interface. When I go to use the OpenOCD this is the error I get:
Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported
$URL: http://svn.berlios.de/svnroot/repos/ope … /openocd.c $
Info: options.c:50 configuration_output_handler(): jtag_speed: 2, 2
Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported
Info: jtag.c:1389 jtag_examine_chain(): JTAG device found: 0xdf3f1f1f (Manufacturer: 0x78f, Part: 0xf3f1, Version: 0xd)
Error: embeddedice.c:191 embeddedice_build_reg_cache(): unknown EmbeddedICE version (comms ctrl: 0x80000000)
Info: jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Error: armv4_5.h:114 armv4_5_mode_to_number(): invalid mode value encountered
Error: arm7_9_common.c:1102 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure
Error: armv4_5.h:114 armv4_5_mode_to_number(): invalid mode value encountered
Error: arm7_9_common.c:1102 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure
Error: armv4_5.h:114 armv4_5_mode_to_number(): invalid mode value encountered
Error: arm7_9_common.c:1102 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure
Error: armv4_5.h:114 armv4_5_mode_to_number(): invalid mode value encountered
Error: arm7_9_common.c:1102 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure
Error: armv4_5.h:114 armv4_5_mode_to_number(): invalid mode value encountered
Error: arm7_9_common.c:1102 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure
Warning: arm7_9_common.c:700 arm7_9_poll(): DBGACK set while target was in unknown state. Reset or initialize target.
Error: armv4_5.h:114 armv4_5_mode_to_number(): invalid mode value encountered
Error: arm7_9_common.c:1102 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure
If someone knows what is wrong please let me know, and steps on how to fix it. I am running the Gannymede version of Eclipse and the drivers that came with the installation CD from Olimex.