发 帖  
原厂入驻New
发烧友10周年庆典,全网超值优惠来袭!千元现金券,下单抽奖赶紧参与》》
[问答] 怎么使用RTOS锁定板
191 rtos
分享
嗨,所有的,我有伯克利服务器演示设置。它很好用。我点击RTOS并选择FrRetos V8xx。因为它使用定时器1,我返回到驱动程序,并确保定时器使用其他东西是设置汤姆定时器2。我现在产生。一切都很好。我运行演示,它似乎锁定。在调试时,我可以看到insys_.->xTaskCreate(第2次或第3次调用线程)->*pvPortMalloc->vApplicationMallocFaiLEDHook,然后循环一个无限循环,没有错误报告:sI使用.onyv1.8.1,freeRTOSv8.2.2。以太网V1启动器KITI猜测这与内存有关吗?但不知道什么,我找不到和谐的文件如何增加它?有人能建议吗?谢谢

以上来自于百度翻译


      以下为原文

    Hi All,
I have berkeley server demo set up.  It works fine.  I click on RTOS and select freertos v 8xx.  Because it uses timer 1, I go back into drivers and make sure timer use for other stuff is set tom timer 2.  I now generate.  Everything compiles fine.  I run the demo and it appears to lock up.  On debugging I can see the in
sys_tasks->xTaskCreate ( 2nd or 3rd time it's called for thread ) -> *pvPortMalloc->vApplicationMallocFailedHook   it then loops round a infinite for loop no error reporting :s

I'm using hARMony v1.8.1,  freeRTOS  v8.2.2. Ethernet V1 starter kit

I'm guessing this has something to do with memory? But Have no idea what, I can't find harmony documentation on how to increase it?

Can anyone aDVIse please? Thanks

0
2019-7-4 15:48:02   评论 分享淘帖 邀请回答
5个回答
你最好从一个演示应用程序开始…

以上来自于百度翻译


      以下为原文

    you might be better off starting with one of the demo apps...
 
2019-7-4 15:56:30 评论

举报

你看过FRIERTOS网络演示应用程序吗?看看MHC设置,以确保你有你所需要的。或者如所指出的,从其中一个开始,并将套接字代码添加到它。

以上来自于百度翻译


      以下为原文

    Did you look at the FreeRTOS network demo apps? Look at the MHC settings to be sure you have what you need.
Or as pointed out start with one of the and add the socket code to it.
2019-7-4 16:11:00 评论

举报

嗨,演示程序有问题,不像其他演示,x显示为一个文件夹,而不是打开项目的芯片图标?我已经让它“运行”了,堆大小为50000,线程4096,而不是1024。问题在于它非常缓慢,需要20秒来回复我的消息,并将消息分成多个部分,可能是15个字符,然后是下一个15个字符,等等。我可能愚蠢地天真,但协调点不是设置了所有需要的值或者至少警告我有些错误在哪里?

以上来自于百度翻译


      以下为原文

    Hi 
I have an issue with the demo app, unlike every other demo, the .x shows up as a folder instead of a chip icon that open up the project?
 
I have got it to "sort of run", making heap size 50000, and giving the thread 4096 rather than 1024. The issue is its painfully slow,  taking up to 20 seconds to echo my message and breaking the message up into multiple parts, maybe 15 chars , then next 15 etc.
 
I might have been stupidly naive but isn't the point of harmony it sets all the need values or at least warns me someting is wrong and where?
 
 
2019-7-4 16:28:49 评论

举报

你应该检查每个任务的延迟量。默认情况下,MHC中的延迟为1秒,如果减少此延迟响应时间可能会减少。要获得类似芯片的图标,您需要点击MPLAB X窗口中的“项目”选项卡。在项目文件夹的上方,您应该看到三个选项卡“项目”、“文件”和“类”。您可能选择了“文件”将其改为“项目”。

以上来自于百度翻译


      以下为原文

    You should check the amount of delays in each task. By default this delay in MHC is 1sec, if you reduce this delay response time may reduce. To get the chip like icon you need to click on "Projects" tab in mplab x window. Right above the project folder you should see three tabs "Projects", "Files" and "Classes". You have probably selected "Files" change it to "Projects"
2019-7-4 16:45:33 评论

举报

让演示运行,还没有弄清楚它在做什么,找不到任何文档?有文件告诉你如何在任何地方使用它吗?我可以在网络上看到它。我可以看到代码有控制台的东西输出到USB控制台。但是不知道如何读取usb控制台:SCan有人建议freertos->tcpip_client_server的文档在哪里吗?似乎有4/5个应用程序线程的即时通讯运行。没有列出一个端口,所以我知道它不像TCIP伯克利服务器中的ECHO服务器:谢谢

以上来自于百度翻译


      以下为原文

    Got the demo running, haven't worked out what it's doing yet, can't find any documentation on it? Is there a document telling you how to use it anywhere?
I can see it the pic on the network. I can see the code has console stuff that outputs to USB console.  But have no idea how to read the usb console :S 
Can anyone advise where the documentation is for the freertos -> tcpip_client_server is?  There appears to be 4/5 app threads for comms running at once.  None list a port so I know it's not like the echo server in the tcip berkeley server :s
Thanks
2019-7-4 16:53:38 评论

举报

只有小组成员才能发言,加入小组>>

47个成员聚集在这个小组

加入小组

创建小组步骤

关闭

站长推荐 上一条 /10 下一条

快速回复 返回顶部 返回列表