FreeRTOS hard fault when using Newlib

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FreeRTOS hard fault when using Newlib

438件の閲覧回数
chect1
Contributor III

Trying to get Segger RTT working and found I needed reentr.h, so I tried switching to newlib to solve that problem. Once I do, I get hard fault (Imprecise data bus) when I try and use the idle function in FreeRTOS

Project attached

Switching to Redlib works fine, newlib crashes

Seems to work ok if I turn the idle function off, although I haven't troubleshot it further

My goal is to get Segger RTT working on the CM4 core, which is proving much more difficult than anticipated. Are there any examples for this?

タグ(1)
0 件の賞賛
返信
1 返信

408件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @chect1,

Unfortunately we do not have any documentation or example of how to integrate Segger RTT with the RT1170's CM4 core. However, Erich Styger does have a post on how to properly integrate newlib (and newlib-nano) with FreeRTOS for our MCUs, so please look into that and let me know if it works for you: Using FreeRTOS with newlib and newlib-nano | MCU on Eclipse

BR,
Edwin.

0 件の賞賛
返信