Page 1 of 1
2.3rc3 Debugger and other questions
Posted: Mon Mar 16, 2009 10:13 am
by fiorio
(Two part post)
I've noticed other posts relating to the fact the the AppWizard Example cannot be debugged successfully, I confirmed this and the fact that the "Flashdemo" example cannot be debugged either.
Is there an issue with this release should I roll-back?
In an effort to learn about the hardware resources on my development kit, where can I find the code for such routines as "putleds", "getdipsw"?
Thanks in advance,
Frank
NNDK-MOD5234-KIT
Re: 2.3rc3 Debugger and other questions
Posted: Mon Mar 16, 2009 10:26 am
by Forrest
Hello,
fiorio wrote:(Two part post)
I've noticed other posts relating to the fact the the AppWizard Example cannot be debugged successfully, I confirmed this and the fact that the "Flashdemo" example cannot be debugged either.
Is there an issue with this release should I roll-back?
I looked at flashDemo, and I am assuming this is the case with appwizard as well.... These examples do not have debugging enabled. You must include the line:
Code: Select all
#ifdef _DEBUG
InitializeNetworkGDB_and_Wait();
#endif
in userMain if you want to run debug code. You also need to add
in your includes.
You should add the ifdef debug code after all stack/ethernet initializations, but before your code begins to run.
fiorio wrote:
In an effort to learn about the hardware resources on my development kit, where can I find the code for such routines as "putleds", "getdipsw"?
Thanks in advance,
Frank
NNDK-MOD5234-KIT
Our source code can be found in c:\nburn\system. Platform specific code will be in c:\nburn\<platform>\system. I assume that you have already seen the runtime library in C:\Nburn\docs\NetBurnerRuntimeLibrary. The filename to search under is usually listed in this helpfile.
Bonus, you can hit F3 while the mouse is clicked on any function in NBEclipse and you will be sent to the function declaration automatically. This is how I usually track down source.
Re: 2.3rc3 Debugger and other questions
Posted: Mon Mar 16, 2009 10:56 am
by fiorio
From a previous post
>I try to perform a step by step debugging (AppWizard example in chapter 8).
>1- When the debugger is launched I saw the thread but not their state (IDLE,STOP,....) There is only running putted.
>2- When I try to put a breakpoint during the debugger session the following error message appears (no line 31 in file >main.cpp)
>3-When I stop the debugger and put the breakpoint and then relaunch the debugger the error message appears (Can't >find source file ucos.c).
>But when I perform the same example with the 22rc1 version and the same directory it works fine !!!
>Have you any suggestions ??? Try the 2.2rc3 version ???
>Thanks by advance for your collaboration
The Appwizard has the Networkdebug.h and the directive, yet yields the issues described above.
Although "Flashdemo" works normally, with or without the code above, I get the Message Box; "Launching Flasdemo has cause a problem"
"Error creating session: 10.200.8.55:2159: No connection could be made because the target machine actively refused it.
10.200.8.55:2159: No connection could be made because the target machine actively refused it.
10.200.8.55:2159: No connection could be made because the target machine actively refused it.
10.200.8.55:2159: No connection could be made because the target machine actively refused it."
Thanks in advance