I am trying to connect my BF518 to an ICE 100B in eclipse under windows. I don't know how to start from eclipse, so I ran bfin-gdbproxy from a cmd prompt:
bfin-gdbproxy --port=2000 bfin --unlock-on-connect --reset
The prompt returns:
Found USB cable: ICE-100B
... BF518 is detected
notice: bfin: jc: waiting on TCP port 2000
notice: bfin: jc: (you must connect GDB before using jtag console)
notice: bfin-gdbproxy: waiting on port 2000
notice: bfin-gdbproxy: connected
My bare metal debug configuration is set for the GDB Command bfin-elf-gdb with Generic TCP/IP, localhost port number 2000. The startup is:
set remotetimeout 300
When I run the debug in eclipse, the response is:
test Default [Blackfin GNU Toolchain Bare Metal Application (ELF) on JTAG Device]
GDB Hardware Debugger (2/28/13 9:41 AM) (Suspended)
bfin-elf-gdb (2/28/13 9:41 AM)
C:test\test.elf (2/28/13 9:41 AM)
The console reads:
No symbol "new" in current context.
Current language: auto; currently asm
Loading section .text, size 0x1b84 lma 0xffa00000
Start address 0xffa00000, load size 7044
Transfer rate: 277596 bits/sec, 7044 bytes/write.
Breakpoint 2 at 0xffa00002: file TEST.S, line 52.
But after this I cannot view anything or step into the program. What is missing?
I updated the ICE-100B firmware to 2.0.7 and now the PID reads 1225 in the device manager. But eclipse is still not accessing it.