MIMXRT1170-EVK FreeRTOS Hello Example Issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MIMXRT1170-EVK FreeRTOS Hello Example Issue

130 Views
Rosh
Contributor I

Hi Team,

I imported the evkbmimxrt1170_freertos_hello_cm7 example project from the MCUXpresso SDK into MCUXpresso IDE without making any significant modifications.

The project builds successfully without any errors or warnings and downloads to the MIMXRT1170-EVK(MIMXRT1176DVMAA) board successfully.

The task created successfully and executes only once and then stops at address 0xDEADBEEE. This behavior occurs every time.

LED Toggle Task:

To verify whether the problem was related to vTaskSuspend(), I've created another task with a simple LED blinking task.

Expected behavior:

  • LED should toggle every 100 ms continuously.

Actual behavior:

  • LED toggles only once.
  • After the first execution, debugger again stops at: 0xDEADBEEE

Kindly clarify the following queries,

  • What does address 0xDEADBEEE indicate in the MCUXpresso SDK for i.MX RT1170?
  • Why does the task execute only once instead of running periodically?
  • Is there any additional configuration required to work correctly on the MIMXRT1170-EVK?
  • What changes are required to make the task execute periodically as expected?

Rosh_0-1786093292545.pngRosh_1-1786093311524.pngRosh_2-1786093339102.png

 

 

Tags (1)
0 Kudos
Reply
2 Replies

102 Views
Habib_MS
NXP Employee
NXP Employee

Hello @Rosh,
I understand that you are currently using the MIMXRT1170-EVK. Please note that the SDK for the MIMXRT1170-EVK is different from the SDK provided for the MIMXRT1170-EVKB. Could you please download and test with the SDK specifically generated for the RT1170-EVK using the MCUXpresso SDK Builder?

Habib_MS_0-1786125239179.png

I understand your point. The SDK examples are intended to provide a common use cases for each peripheral functionality. The 0xDEADBEE value is typically associated with a HardFault condition.
Could you please run the example without any modifications and let me know the results using the latest available SDK version?

BR
Habib

0 Kudos
Reply

57 Views
Rosh
Contributor I

Hi @Habib_MS 

I've downloaded the SDK specifically generated for the RT1170-EVK using the MCUXpresso SDK Builder and tested it. It is working fine now.

Thank you for your support.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2402819%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMIMXRT1170-EVK%20FreeRTOS%20Hello%20Example%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402819%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Team%2C%3C%2FP%3E%3CP%3EI%20imported%20the%20%3CSTRONG%3Eevkbmimxrt1170_freertos_hello_cm7%3C%2FSTRONG%3E%20example%20project%20from%20the%20MCUXpresso%20SDK%20into%20MCUXpresso%20IDE%20without%20making%20any%20significant%20modifications.%3C%2FP%3E%3CP%3EThe%20project%20builds%20successfully%20without%20any%20errors%20or%20warnings%20and%20downloads%20to%20the%20MIMXRT1170-EVK(MIMXRT1176DVMAA)%20board%20successfully.%3C%2FP%3E%3CP%3EThe%20task%20created%20successfully%20and%20executes%20only%20once%20and%20then%20stops%20at%20address%20%3CSTRONG%3E0xDEADBEEE%3C%2FSTRONG%3E.%26nbsp%3BThis%20behavior%20occurs%20%3CSTRONG%3Eevery%20time.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ELED%20Toggle%20Task%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3ETo%20verify%20whether%20the%20problem%20was%20related%20to%20vTaskSuspend()%2C%20I've%20created%20another%20task%20with%20a%20simple%20LED%20blinking%20task.%3C%2FP%3E%3CP%20class%3D%22%22%3EExpected%20behavior%3A%3C%2FP%3E%3CUL%3E%3CLI%3ELED%20should%20toggle%20every%20100%20ms%20continuously.%3C%2FLI%3E%3C%2FUL%3E%3CP%3EActual%20behavior%3A%3C%2FP%3E%3CUL%3E%3CLI%3ELED%20toggles%20only%20once.%3C%2FLI%3E%3CLI%3EAfter%20the%20first%20execution%2C%20debugger%20again%20stops%20at%3A%26nbsp%3B%3CSTRONG%3E0xDEADBEEE%3C%2FSTRONG%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3EKindly%20clarify%20the%20following%20queries%2C%3C%2FP%3E%3CUL%3E%3CLI%3EWhat%20does%20address%20%3CSTRONG%3E0xDEADBEEE%3C%2FSTRONG%3E%20indicate%20in%20the%20MCUXpresso%20SDK%20for%20i.MX%20RT1170%3F%3C%2FLI%3E%3CLI%3EWhy%20does%20the%20task%20execute%20only%20once%20instead%20of%20running%20periodically%3F%3C%2FLI%3E%3CLI%3EIs%20there%20any%20additional%20configuration%20required%20to%20work%20correctly%20on%20the%20MIMXRT1170-EVK%3F%3C%2FLI%3E%3CLI%3EWhat%20changes%20are%20required%20to%20make%20the%20task%20execute%20periodically%20as%20expected%3F%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Rosh_0-1786093292545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Rosh_0-1786093292545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Rosh_0-1786093292545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393962iDCD52E5746D5FB49%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Rosh_0-1786093292545.png%22%20alt%3D%22Rosh_0-1786093292545.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Rosh_1-1786093311524.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Rosh_1-1786093311524.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Rosh_1-1786093311524.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393963i55F850F43E2E8A72%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Rosh_1-1786093311524.png%22%20alt%3D%22Rosh_1-1786093311524.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Rosh_2-1786093339102.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Rosh_2-1786093339102.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Rosh_2-1786093339102.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393964i548943D3467E2613%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Rosh_2-1786093339102.png%22%20alt%3D%22Rosh_2-1786093339102.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2402978%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MIMXRT1170-EVK%20FreeRTOS%20Hello%20Example%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402978%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F265404%22%20target%3D%22_blank%22%3E%40Rosh%3C%2FA%3E%2C%3CBR%20%2F%3EI%20understand%20that%20you%20are%20currently%20using%20the%20MIMXRT1170-EVK.%20Please%20note%20that%20the%20SDK%20for%20the%20MIMXRT1170-EVK%20is%20different%20from%20the%20SDK%20provided%20for%20the%20MIMXRT1170-EVKB.%20Could%20you%20please%20download%20and%20test%20with%20the%20SDK%20specifically%20generated%20for%20the%20RT1170-EVK%20using%20the%20MCUXpresso%20%3CA%20href%3D%22https%3A%2F%2Fmcuxpresso.nxp.com%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ESDK%20Builder%3C%2FA%3E%3F%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Habib_MS_0-1786125239179.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Habib_MS_0-1786125239179.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Habib_MS_0-1786125239179.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393999iE71080226665C4E9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Habib_MS_0-1786125239179.png%22%20alt%3D%22Habib_MS_0-1786125239179.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20understand%20your%20point.%20The%20SDK%20examples%26nbsp%3Bare%20intended%20to%20provide%20a%20common%20use%20cases%20for%20each%20peripheral%20functionality.%20The%200xDEADBEE%20value%20is%20typically%20associated%20with%20a%20HardFault%20condition.%3CBR%20%2F%3ECould%20you%20please%20run%20the%20example%20without%20any%20modifications%20and%20let%20me%20know%20the%20results%20using%20the%20latest%20available%20SDK%20version%3F%3C%2FP%3E%0A%3CP%3EBR%3CBR%20%2F%3EHabib%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2403564%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MIMXRT1170-EVK%20FreeRTOS%20Hello%20Example%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2403564%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F231807%22%20target%3D%22_blank%22%3E%40Habib_MS%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20downloaded%20the%20SDK%20specifically%20generated%20for%20the%20RT1170-EVK%20using%20the%20MCUXpresso%20SDK%20Builder%20and%20tested%20it.%20It%20is%20working%20fine%20now.%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20your%20support.%3C%2FP%3E%3C%2FLINGO-BODY%3E