I have the FX3 DVK Device Board and I has install the FX3Sdkv1. So long everything is fine, I be able to compile the example projects and download it to the board with the "Control Center". But now I want to use Breakpoints and so on and thats why I bought a yellow j-link Adatpter and follow the instructions under " 11.FX3 Development Tools". But when I want to debug, the debugger never reach a Brekpoint. The ProgrammCounter will always hang at memory 0xf0000048. Has anybody a idea? Maybe i only have wrong configuration?
The yellow J-Link works very well. Did you set up the GDB commands correctly in eclipse? Or did you try to attach to a running FX3? There are deifferent setups. Did you allow the J-Link software to act as server and not blocked by the firewall?
Hi and thanks for your answers.
I set the GDB up how it is described in the FX3 Programmers Manual. Set the GDB debugger to arm-none-eabi-gdb.exe and add the following to the command section:
set prompt (arm-gdb)
# This connects to a target via netsiliconLibRemote
# listening for commands on this PC's tcp port 2331
target remote localhost:2331
monitor speed 1000
monitor endian little
set endian little
# Set the processor to SVC mode
monitor reg cpsr =0xd3
# Disable all interrupts
monitor memU32 0xFFFFF014 =0xFFFFFFFF
# Enable the TCMs
monitor memU32 0x40000000 =0xE3A00015
monitor memU32 0x40000004 =0xEE090F31
monitor memU32 0x40000008 =0xE240024F
monitor memU32 0x4000000C =0xEE090F11
# Change the FX3 SYSCLK setting based on
# input clock frequency. Update with
# correct value from list below.
# Clock input is 19.2 MHz: Value = 0x00080015
# Clock input is 26.0 MHz: Value = 0x00080010
# Clock input is 38.4 MHz: Value = 0x00080115
# Clock input is 52.0 MHz: Value = 0x00080110
monitor memU32 0xE0052000 = 0x00080015
# Add a delay to let the clock stabilize.
monitor sleep 1000
set $pc =0x40000000
In the debug-console is a warning, maybe this is the problem: