Azure RTOS on MIMXRT1060-EVK

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

Azure RTOS on MIMXRT1060-EVK

ソリューションへジャンプ
1,295件の閲覧回数
shingofujiwara
Contributor II

Now I using "SDK_2_10_0_MIMXRT1062xxxxA" from "MCUXpresso SDK Builder".

I build AzureRTOS sample in "boards\evkmimxrt1060\azure_rtos_examples\threadx_demo".

By default configuration, project is built and run with no problem.

But I change optimize option from "-O1" to "-O0".

In this case, program is loop forever in "SCB_DisableDCache()" in "BOARD_ConfigMPU()".

Why system is loop at SCB_DisableDCache() ? 

With "-O0" option, need any other configuration ?

ラベル(1)
0 件の賞賛
1 解決策
1,238件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi @shingofujiwara :

 

I tried this demo with SDK 2.11, changed optimized level to -O0,  it works without issues.

SDK 2.11 will be released soon.

 

Regards

Daniel

元の投稿で解決策を見る

タグ(1)
0 件の賞賛
3 返答(返信)
1,282件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi @shingofujiwara :

 

The default optimization level is -O0 for debug target.  could you please double check the default level in your side?

danielchen_0-1639055582056.png

 

 

Regards

Daniel

0 件の賞賛
1,268件の閲覧回数
shingofujiwara
Contributor II

Thank you.

https://mcuxpresso.nxp.com/download/bb248a411d08badcd630f34481b80e56

I try again this SDK with MDK-ARM project.

But, default debug Target condition is "-O1".

So it work good.

After change to "-O0", it not work.

0 件の賞賛
1,239件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi @shingofujiwara :

 

I tried this demo with SDK 2.11, changed optimized level to -O0,  it works without issues.

SDK 2.11 will be released soon.

 

Regards

Daniel

タグ(1)
0 件の賞賛