i’ve successfully installed the “ethernet demo” for eclipse / gcc and the LPC2368. however, when i m trying to implement my own simple task (it does nothing but incrementing and resetting a counter variable) openOCD crashes a few seconds after flashing with:
Error: armv4_5.c:186 armv4_5_mode_to_number(): invalid mode value encountered
Error: arm7_9_common.c:1075 arm7_9_debug_entry(): cpsr contains invalid mode value - communication failure
Error: target.c:1157 handle_target(): couldn’t poll target, exiting
so i can’t even start a GDB session to debug the program…
could anyone give me some beginners tips on what i have to focus when implementing my own code for freeRTOS?