MQX_USE_LOGS - error log to file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MQX_USE_LOGS - error log to file

跳至解决方案
2,787 次查看
jasonscott
Contributor IV

Hi,

I was wondering if there was an example of how to use the error log and save it to a file on an SD card?

I am running MQX 4.2.

I looked under that directory for an example, but nothing jumped out at me.

Anyone have any references i can look at?

Thanks,

Jason

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
2,612 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Jason:

I would suggest you  refer to the web_hvac demo

Freescale_MQX_4_2\demo\web_hvac

You can see there is a logging task, it can store log information on a USB Memory Stick


Have a great day,
Daniel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
2,613 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Jason:

I would suggest you  refer to the web_hvac demo

Freescale_MQX_4_2\demo\web_hvac

You can see there is a logging task, it can store log information on a USB Memory Stick


Have a great day,
Daniel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

2,612 次查看
jasonscott
Contributor IV

Hi Daniel,

Thanks for that info!

I have a followup question about the TAD pointer.

Is there an easy way to check what line of code or instruction that the pointer is pointing to?

I am basically trying to find out where this occurred.

Normally id look at the map file to figure this out, but if it occurs in kernel space i am not sure how to track it down.

Thanks,

Jason

0 项奖励
回复