Network Debugging issues
Posted: Thu Sep 25, 2014 10:42 am
I'm having trouble getting network debugging to work with MOD5272. I've seen it work fine at least once, so I know it's doable, but as I sit here now I am stuck in the mud. Here are some issues I've seen:
1) After starting debugger, the progress bar stays at 0 until I get a "timed out" message. At this point, my app in flash gets corrupt. I see the boot menu "Waiting 2sec to start 'A' to abort," on the serial port but not the usual stuff that my app prints out on startup. I have to painstakingly reflash the NB via my eval kit serial port because the app never loads...very annoying when the netburner is hard to get to.
2) After starting the debugger, the progress bar goes to 100%, the perspective changes to the debug perspective, but my breakpoint near the start of the code (after initialization) is never hit, and I'm stuck on a screen that says "No source available for """. Other than this, my app appears to be working fine...I even verified that the app was getting uploaded correctly by changing a version string.
3) After starting the debugger I can step through the code somewhat, but after a few steps the code just seem to run and I'm not hitting any breakpoints anymore....
As for my IDE setup, it's a "NetBurner Launcher" configuration with target IP matching my NB, Debugger is "NetBurner Standard Debugger", I've tried stopping on main as well as just unchecking the box to stop on main. GDB debugger command says "m68k-elf-gdb", GDB command file is blank, Protocol is "Default", Reboot time is 10 seconds, connection type is TCP with hos name matching the IP address of my NB, port number 2159.
Any suggestions?
1) After starting debugger, the progress bar stays at 0 until I get a "timed out" message. At this point, my app in flash gets corrupt. I see the boot menu "Waiting 2sec to start 'A' to abort," on the serial port but not the usual stuff that my app prints out on startup. I have to painstakingly reflash the NB via my eval kit serial port because the app never loads...very annoying when the netburner is hard to get to.
2) After starting the debugger, the progress bar goes to 100%, the perspective changes to the debug perspective, but my breakpoint near the start of the code (after initialization) is never hit, and I'm stuck on a screen that says "No source available for """. Other than this, my app appears to be working fine...I even verified that the app was getting uploaded correctly by changing a version string.
3) After starting the debugger I can step through the code somewhat, but after a few steps the code just seem to run and I'm not hitting any breakpoints anymore....
As for my IDE setup, it's a "NetBurner Launcher" configuration with target IP matching my NB, Debugger is "NetBurner Standard Debugger", I've tried stopping on main as well as just unchecking the box to stop on main. GDB debugger command says "m68k-elf-gdb", GDB command file is blank, Protocol is "Default", Reboot time is 10 seconds, connection type is TCP with hos name matching the IP address of my NB, port number 2159.
Any suggestions?