FreeRtos移植与Nabto [英] FreeRtos Porting with Nabto

查看:62
本文介绍了FreeRtos移植与Nabto的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我正在尝试使用视觉工作室2017年或2015年使用Nabto for Windows移植FreeRtos,提供来自freertos网站的freertos + nabto sdk和freertos sdk以下链接

I am trying to port the FreeRtos with Nabto for windows using visual studio 2017 or 2015 , provided freertos +nabto sdk and freertos sdk from the freertos website in the below link

http://www.freertos.org/FreeRTOS-Plus/Nabto/Nabto.shtml

http://www.freertos.org/FreeRTOS-Plus/Nabto/Nabto.shtml

下载后我们已完成申请从此路径中的程序演示中修改

After downloading we have performed our application modified from the program demo in this path

D:\ afreertos \freertos \ FreeRTOS-Plus \Demo \FreeRTOS_Plus_UDP_and_CLI_Windows_Simulator

D:\freertos\freertos\FreeRTOS-Plus\Demo\FreeRTOS_Plus_UDP_and_CLI_Windows_Simulator

我们的应用程序在下面提供 

our application is provided in the below 

https://github.com/nabto/appmyproduct-device-stub

https://github.com/nabto/appmyproduct-device-stub

当我们编译上面的演示时通过使用visual studio将我们的应用程序添加到它中,它在运行时成功构建它显示此错误 

When we compile the above demo by adding our application into it using visual studio , it is successfully builded when we run it it is showing up this error 

在RTOSDemo.exe中0x00000000处抛出异常:0xC0000005:访问冲突执行位置0x00000000。



如果有这个例外的处理程序这个程序可以安全地继续。

我可以知道这是什么错误,因为我是使用visual studio的新手,有没有办法调试这个问题 

May i please to know what it is the error about as i am new using visual studio , is there any ways to debug this issue 

请帮助我们解决此问题

问候

Sakthi







推荐答案

当然,Visual Studio提供了一种调试C代码的方法。请花点时间,了解VC ++和调试器。  

Of course, Visual Studio provides a way to debug C code. Please take your time, get to know VC++ and the debugger.  

关于错误 - 在Windows和许多其他环境中,地址为0的位置是特殊的,它不能包含任何用户代码或数据。访问此位置会导致错误。如果是Windows,则会将此错误报告为"评估违规行为"。

As to the error - on Windows and many other environments, location with address 0 is special, it cannot contain any user code or data. Accessing this location causes error. In case of Windows, this error is reported as "assess violation".

- pa


这篇关于FreeRtos移植与Nabto的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆