< div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >亲爱的对话框中,< / p > < p > < / p > < p >基于我发展自己的项目DSPS演示,并在user_on_system_powered回调期间添加一些客户流程。 我发现一个问题,当烧下来的代码,如果任务运行超过2.5秒在这个回调,MCU将挂起,永远不会恢复。
但是当我通过J-link调试时,这个问题消失了。代码可以运行良好,只要我们设计。由调试模式和正常模式运行的代码有什么不同?
我试图在这个回调中把任务切成碎片并返回KEEP POWERED by every return。但当时间成本高达2.5秒左右时,它也会失败。
你能给我一些关于这个问题的答案吗?关于长时间成本任务的用户级设计,你还有什么想法吗?
Looking forward to your reply
Roeder