RT1176 Custom Board – LED blink app does not run after reset

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

RT1176 Custom Board – LED blink app does not run after reset

526 Views
JoshuaV
Contributor I

I am working on a custom i.MX RT1176 board (based very closely on the FMU design, same memory set up). I am trying to bring up the MCU by blinking a simple LED. The LED is on GPIO_AD_33, which I have configured using the MCUXpresso Config Tools to GPIO10_IO00.

What I have done so far:

  1. Project setup

    • Created a simple LED blink project in MCUXpresso IDE using the SDK for MIMXRT1176.

    • Configured GPIO as output and toggled it every 1s using SysTick.

    • Used MCUXpresso Config Tools 25.06 to configure the pins
  2. Binary output

    • The project builds successfully and produces a .bin file.

  3. Programming method

    • Since this is a custom board, I only have USB-C access to the serial downloader.

    • I used the NXP Secure Provisioning Tool (blhost) to erase flash, write the AXF and binary from the project build.

    • All operations succeed with status 0x0 Success.

  4. The issue

    • After power-cycling the board, nothing happens.

      • I verified the programmed image by using blhost read-memory commands at the FlexSPI NOR addresses. The data at 0x30000400 (FCB), 0x30000600 (image version), and 0x30001000 (application image) matches what I expect
    • The LED on GPIO_AD_33 does not blink.

    • The board always re-enters Serial Downloader mode.

    • I do not have JTAG/SWD access, only USB-C serial downloader.This is the first time I have posted in a forum so I apologize if my ettiquette is off. Thank you. 

Tags (3)
0 Kudos
Reply
4 Replies

405 Views
Littell
Contributor III
Do you really have a board design that doesn't include SWD/JTAG? If so, you should fire the designer immediately for abject incompetence - you're guaranteed a miserable experience in trying to develop for that brick.
0 Kudos
Reply

388 Views
JoshuaV
Contributor I

lol I will fire myself. It’s a hobby board. I’m new to this. Definitely a learning experience for me. I solved the issue. My problem was that I was selecting “Full FDCB” which for whatever reason was not allowing the program to start properly. 

0 Kudos
Reply

371 Views
Littell
Contributor III
A hobby board? Hahaha, you tend to swing for the fence, don't you?

On a hobby board I'd submit it's even more important to design in debug facilities (GPIO's, LED's, JTAG/SWD) from beginning so you can get on with the fun stuff and not get wrapped around the axle with time-wasting silliness. Good luck to you - these RT's are riddled with quirks and the further you step away from the EVKB the more problems you'll have. Been there...got the scars.
0 Kudos
Reply

471 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @JoshuaV 

Apologies the late reply.

Could you confirm the boot mode of your pins? 

After downloading the program to your board remember to change the boot mode to internal boot

 

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2177800%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERT1176%20Custom%20Board%20%E2%80%93%20LED%20blink%20app%20does%20not%20run%20after%20reset%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2177800%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20working%20on%20a%20%3CSTRONG%3Ecustom%20i.MX%20RT1176%20board%3C%2FSTRONG%3E%20(based%20very%20closely%20on%20the%20FMU%20design%2C%20same%20memory%20set%20up).%20I%20am%20trying%20to%20bring%20up%20the%20MCU%20by%20blinking%20a%20simple%20LED.%20The%20LED%20is%20on%20%3CSTRONG%3EGPIO_AD_33%3C%2FSTRONG%3E%2C%20which%20I%20have%20configured%20using%20the%20%3CSTRONG%3EMCUXpresso%20Config%20Tools%3C%2FSTRONG%3E%20to%20GPIO10_IO00.%3C%2FP%3E%3CH4%20id%3D%22toc-hId-178782747%22%20id%3D%22toc-hId-203501745%22%3EWhat%20I%20have%20done%20so%20far%3A%3C%2FH4%3E%3COL%3E%3CLI%3E%3CP%3E%3CSTRONG%3EProject%20setup%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3ECreated%20a%20simple%20LED%20blink%20project%20in%20MCUXpresso%20IDE%20using%20the%20SDK%20for%20MIMXRT1176.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EConfigured%20GPIO%20as%20output%20and%20toggled%20it%20every%201s%20using%20SysTick.%3C%2FP%3E%3C%2FLI%3E%3CLI%3EUsed%26nbsp%3BMCUXpresso%20Config%20Tools%2025.06%20to%20configure%20the%20pins%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3EBinary%20output%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3EThe%20project%20builds%20successfully%20and%20produces%20a%20.bin%20file.%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3EProgramming%20method%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3ESince%20this%20is%20a%20custom%20board%2C%20I%20only%20have%20%3CSTRONG%3EUSB-C%20access%20to%20the%20serial%20downloader%3C%2FSTRONG%3E.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EI%20used%20the%20%3CSTRONG%3ENXP%20Secure%20Provisioning%20Tool%3C%2FSTRONG%3E%20(blhost)%20to%20erase%20flash%2C%20write%20the%20AXF%20and%20binary%20from%20the%20project%20build.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EAll%20operations%20succeed%20with%20status%200x0%20Success.%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3EThe%20issue%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3EAfter%20power-cycling%20the%20board%2C%20nothing%20happens.%3C%2FP%3E%3CUL%3E%3CLI%3EI%20verified%20the%20programmed%20image%20by%20using%20%3CSTRONG%3Eblhost%20read-memory%3C%2FSTRONG%3E%20commands%20at%20the%20FlexSPI%20NOR%20addresses.%20The%20data%20at%200x30000400%20(FCB)%2C%200x30000600%20(image%20version)%2C%20and%200x30001000%20(application%20image)%20matches%20what%20I%20expect%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CP%3EThe%20LED%20on%20GPIO_AD_33%20does%20not%20blink.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EThe%20board%20always%20re-enters%20%3CSTRONG%3ESerial%20Downloader%20mode%3C%2FSTRONG%3E.%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CUL%3E%3CLI%3E%3CP%3EI%20do%20not%20have%20JTAG%2FSWD%20access%2C%20only%20USB-C%20serial%20downloader.This%20is%20the%20first%20time%20I%20have%20posted%20in%20a%20forum%20so%20I%20apologize%20if%20my%20ettiquette%20is%20off.%20Thank%20you.%26nbsp%3B%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184333%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RT1176%20Custom%20Board%20%E2%80%93%20LED%20blink%20app%20does%20not%20run%20after%20reset%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184333%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EA%20hobby%20board%3F%20Hahaha%2C%20you%20tend%20to%20swing%20for%20the%20fence%2C%20don't%20you%3F%20%3CLI-EMOJI%20id%3D%22lia_winking-face%22%20title%3D%22%3Awinking_face%3A%22%3E%3C%2FLI-EMOJI%3E%3CBR%20%2F%3E%3CBR%20%2F%3EOn%20a%20hobby%20board%20I'd%20submit%20it's%20even%20more%20important%20to%20design%20in%20debug%20facilities%20(GPIO's%2C%20LED's%2C%20JTAG%2FSWD)%20from%20beginning%20so%20you%20can%20get%20on%20with%20the%20fun%20stuff%20and%20not%20get%20wrapped%20around%20the%20axle%20with%20time-wasting%20silliness.%20Good%20luck%20to%20you%20-%20these%20RT's%20are%20riddled%20with%20quirks%20and%20the%20further%20you%20step%20away%20from%20the%20EVKB%20the%20more%20problems%20you'll%20have.%20Been%20there...got%20the%20scars.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184078%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RT1176%20Custom%20Board%20%E2%80%93%20LED%20blink%20app%20does%20not%20run%20after%20reset%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184078%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3Elol%20I%20will%20fire%20myself.%20It%E2%80%99s%20a%20hobby%20board.%20I%E2%80%99m%20new%20to%20this.%20Definitely%20a%20learning%20experience%20for%20me.%20I%20solved%20the%20issue.%20My%20problem%20was%20that%20I%20was%20selecting%20%E2%80%9CFull%20FDCB%E2%80%9D%20which%20for%20whatever%20reason%20was%20not%20allowing%20the%20program%20to%20start%20properly.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2183969%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RT1176%20Custom%20Board%20%E2%80%93%20LED%20blink%20app%20does%20not%20run%20after%20reset%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2183969%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDo%20you%20really%20have%20a%20board%20design%20that%20doesn't%20include%20SWD%2FJTAG%3F%20If%20so%2C%20you%20should%20fire%20the%20designer%20immediately%20for%20abject%20incompetence%20-%20you're%20guaranteed%20a%20miserable%20experience%20in%20trying%20to%20develop%20for%20that%20brick.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2180040%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RT1176%20Custom%20Board%20%E2%80%93%20LED%20blink%20app%20does%20not%20run%20after%20reset%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2180040%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%2F255370%22%20target%3D%22_blank%22%3E%40JoshuaV%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EApologies%20the%20late%20reply.%3C%2FP%3E%0A%3CP%3ECould%20you%20confirm%20the%20boot%20mode%20of%20your%20pins%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20downloading%20the%20program%20to%20your%20board%20remember%20to%20change%20the%20boot%20mode%20to%20internal%20boot%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E