当前位置: 首页 > 工具软件 > Netduino > 使用案例 >

netduino无法调试运行应用情况解决

松越
2023-12-01

用VS2013写个点灯程序,发现VS2013一运行就退出.....

调试信息输出如下

“[7] Micro Framework application: 托管”已退出,返回值为 0 (0x0)

另外DEVICE DEPLOYMENT有如下输出

Looking for a device on transport 'USB'

Starting device deployment...
Iteration 0
Opening port \\?\USB#VID_22B1&PID_1000#000000000000#{09343630-a794-10ef-334f-82ea332c49f3}\Operations
Attaching debugger engine...
... debugger engine attached!
Querying device assemblies...
Found Assembly mscorlib 4.3.1.0
Found Assembly Microsoft.SPOT.Native 4.3.1.0
Found Assembly Microsoft.SPOT.Hardware 4.3.1.0
Found Assembly Microsoft.SPOT.Net 4.3.1.0
Found Assembly System 4.3.1.0
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.SerialPort.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.3\le\secretlabs.netmf.hardware.netduino.pe to deployment bundle
Adding pe file C:\Users\蓝曙光\documents\visual studio 2013\Projects\NetduinoApplication5\NetduinoApplication5\bin\Debug\le\NetduinoApplication5.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.PWM.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.3\le\secretlabs.netmf.hardware.pe to deployment bundle
Attempting deployment...
Incrementally deploying assemblies to device
Deploying assemblies for a total size of 8888 bytes
Assemblies successfully deployed to device.


解决方法是,重新调整固件的ER_CONFIG的代码起始位置,重新编译固件并下载即可.




 类似资料: