Hola, estoy trabajando con la EDU-CIAA-NXP sobre LPCXpresso y con firmware_v2. Desde que configuré la estación de trabajo pude debuggear y correr programas, pero ahora me sucedió un problema al querer hacerlo. No se si tendrá alguna relación pero me encontraba probando las funciones de "LPC18xx/43xx Power Management Controller driver" al momento de ocurrirme. Intenté desinstalando OpenOCD y reinstalando pero no dió resultado. Copio debajo la salida del OpenOCD al intentar debuggear/correr un programa.
Desde ya, muchas gracias.
Saludos,
Mariano.
---------------------------------------------------------------------------------------------------------------
GNU ARM Eclipse 64-bits Open On-Chip Debugger 0.10.0-dev-00287-g85cec24-dirty (2016-01-10-10:13)
Licensed under GNU GPL v2
For bug reports, read
adapter speed: 2000 kHz
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
none separate
cortex_m reset_config vectreset
Started by GNU ARM Eclipse
Info : clock speed 2000 kHz
Info : JTAG tap: lpc4337.m4 tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
Info : JTAG tap: lpc4337.m0 tap/device found: 0x0ba01477 (mfg: 0x23b, part: 0xba01, ver: 0x0)
Error: Could not initialize the debug port
Info : accepting 'gdb' connection on tcp/3333
undefined debug reason 7 - target needs reset
Error: Target not examined yet
Error: Target not examined yet
Info : JTAG tap: lpc4337.m4 tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
Info : JTAG tap: lpc4337.m0 tap/device found: 0x0ba01477 (mfg: 0x23b, part: 0xba01, ver: 0x0)
Error: Could not initialize the debug port
Error: Could not initialize the debug port
Error: Target not examined yet
in procedure 'reset'
in procedure 'ocd_bouncer'
Error: Target not examined yet
Error: Target not examined yet
Error: Target not examined yet
Info : JTAG tap: lpc4337.m4 tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
Info : JTAG tap: lpc4337.m0 tap/device found: 0x0ba01477 (mfg: 0x23b, part: 0xba01, ver: 0x0)
Error: Could not initialize the debug port
Error: Could not initialize the debug port
Error: Target not examined yet
in procedure 'reset'
in procedure 'ocd_bouncer'
Error: Target not halted
Error: failed erasing sectors 0 to 1
Error: flash_erase returned -304
Info : dropped 'gdb' connection