0
mickey atias

Hi,

 

I am trying to flash / debug the Ameba board, using the examples on the standard SDK.

I was able to compile the code, and have a .AXF file generated succesfully.

running the openocd with JLINK configuration connects to the board and recognizes the CPU.

 

trying to debug, eclipse connects to the openocd GDB server, but fails to load the code. here is the output.

I appreciate any help solving this issue
thanks!

cortex_m reset_config sysresetreq
ameba1_init
Info : No device selected, using first device.
Info : J-Link ARM V8 compiled Nov 28 2014 13:44:46
Info : Hardware version: 8.00
Info : VTarget = 2.911 V
Info : clock speed 10 kHz
Info : JTAG tap: rtl8195a.cpu tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x4)

Info : rtl8195a.cpu: hardware has 6 breakpoints, 4 watchpoints

Info : accepting 'gdb' connection on tcp/3333
undefined debug reason 7 - target needs reset
Info : JTAG tap: rtl8195a.cpu tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x4)

target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00000100 msp: 0x1ffffffc
0x40000040: 00fcc702
0x40005000: 0000000d

semihosting is enabled

Warn : negative acknowledgment, but no packet pending
Warn : negative acknowledgment, but no packet pending
Warn : negative acknowledgment, but no packet pending
Warn : negative acknowledgment, but no packet pending
Warn : negative acknowledgment, but no packet pending

-------------

mickey atias 回答了