build and flash hello_world to mimxrt1170-evk thru native windows build get stuck after reset #87347
-
I build and flash hello_world to mimxrt1170-evk thru native windows build. no error seen in building and flashing. However application is stuck at memory access 0x40030000, What could be the reason? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hello @weiqifan2025, can you please double check that you are using the correct SDK? We have an i.MX RT1170 EVK and an i.MX RT1170 EVKB. When you have one board and use the SDK for the other, it fails to run. Please provide information about your Zephyr SDK version as well. Thanks, |
Beta Was this translation helpful? Give feedback.
-
hi David,
I am able to make a working build with vs code, the identified difference is indeed the revision.
In west command build, the revision is B. While in vs code build, the revsion is A.
[cid:7e76feb6-43f0-456f-b108-c6fed3c5105a]
However this build_info.yml file is generated when running west build command.
So I don’t know what is the original place to decide the revision when I run command
west build --pristine -b mimxrt1170_evk/mimxrt1176/cm7 samples/hello_world
Both build use same Zephyr sdk.
Could you advise what is the place to choose revision of mimxrt1170-evk when generating build_info.yml?
Thanks and best regards,
Dehong
…________________________________
From: David Piškula ***@***.***>
Sent: Tuesday, March 25, 2025 8:49 PM
To: zephyrproject-rtos/zephyr ***@***.***>
Cc: weiqifan2025 ***@***.***>; Mention ***@***.***>
Subject: Re: [zephyrproject-rtos/zephyr] build and flash hello_world to mimxrt1170-evk thru native windows build get stuck after reset (Discussion #87347)
Hello @weiqifan2025<https://github.com/weiqifan2025>, can you please double check that you are using the correct SDK? We have an i.MX RT1170 EVK and an i.MX RT1170 EVKB. When you have one board and use the SDK for the other, it fails to run.
Please provide information about your Zephyr SDK version as well.
Thanks,
David
—
Reply to this email directly, view it on GitHub<#87347 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BQUTXDVLENJQ2LGEA5GZU4D2WE7EPAVCNFSM6AAAAABZK2SJJ6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRRGQ3TMNY>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Dear David,
I tried this way but the board is not identified.
I also found the root cause.
In latest zephyr sdk, board info for MIMXRT1170-EVK is set to revision B by default.
The issus is solved by modifying related yml file by setting default to A in my case.
Thank you very much for the advice!
Best regards,
Dehong
…________________________________
From: David Piškula ***@***.***>
Sent: Tuesday, April 1, 2025 5:11 PM
To: zephyrproject-rtos/zephyr ***@***.***>
Cc: weiqifan2025 ***@***.***>; Mention ***@***.***>
Subject: Re: [zephyrproject-rtos/zephyr] build and flash hello_world to mimxrt1170-evk thru native windows build get stuck after reset (Discussion #87347)
Hello @weiqifan2025<https://github.com/weiqifan2025>, the revision can be chosen when wirting the build command:
image.png (view on web)<https://github.com/user-attachments/assets/e541716a-5478-45bd-9078-8426c527bf56>
https://docs.zephyrproject.org/latest/boards/nxp/mimxrt1170_evk/doc/index.html#overview
so when building for the evkB, you can rewrite the build command as:
west build --pristine -b ***@***.***/mimxrt1176/cm7 samples/hello_world
—
Reply to this email directly, view it on GitHub<#87347 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BQUTXDQDSA2HOCM3LDJBOKD2XJJ4NAVCNFSM6AAAAABZK2SJJ6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRYGYYTIMQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hello @weiqifan2025, can you please double check that you are using the correct SDK? We have an i.MX RT1170 EVK and an i.MX RT1170 EVKB. When you have one board and use the SDK for the other, it fails to run.
Please provide information about your Zephyr SDK version as well.
Thanks,
David