Hi Guys,
I have completed my coding and allow my program runs for a few days. But recently I realise that after around 3 days of running, N+ will hang. Even the external watchdog is not able to reset it. In fact, I even try to ground the RESET pin directly still no good. Lastly I have no choice but to power it off and power it up again to consider as reset. This is no good for any commercial project.
Now I need to know if I can do the debug statements printout like "Debug.writeline" in the "Immediate window" in VS. I thought of using the USB as the comm port and hock up to hyper terminal to receive the debug printout. Is it possible? I don't wish to enable the VS all the day as I am using my laptop for our development.
Please advise.
Regards,
Novice Alex
How to debug program without using VS?
Started by Novice Alex, Sep 13 2012 02:08 PM
2 replies to this topic
#1
Posted 13 September 2012 - 02:08 PM
#2
Posted 13 September 2012 - 04:22 PM
Hi Novice Alex,
Are you running .NET MF 4.1 or 4.2 on your board? If you're running .NET MF 4.1 and the board can't reset...there may be power draw considerations keeping it from restarting.
If you'd like to be able to see Debug.Print statements in HyperTerminal, you'll want to change your Netduino's deployment port to COM1 or COM2 (a serial port). You can also output data via USB...but you'll need to use MFDeploy to capture the incoming data stream.
Chris
#3
Posted 13 September 2012 - 11:45 PM
Hi Chris,
I am running in the latest .NETMF 4.2 release recently. But I am running the Netduino firmware on the N+ board as I need the SD card feature but without the Ethernet capability.
Currently, the board is power by an external source +12Vdc and also connected the usb cable to my computer for easy deployment when needs arise.
May I know where can I change the deployment port to COM1 or COM2? Is there any setting that I need?
Regards,
Novice Alex
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users