Purpose of BOOT_CFG4[7], infinite loop?

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

Purpose of BOOT_CFG4[7], infinite loop?

Jump to solution
1,162 Views
AlexHarford
Contributor II

On the iMX6 there is a BOOT_CFG4[7] bit that says infinite loop enable. I would like to know what this bit is for, and if it would be useful for board bring up? Would it be useful to bring out to a test pad?

Labels (1)
0 Kudos
1 Solution
804 Views
AnsonHuang
NXP Employee
NXP Employee

Hi, Alex

     If I remembered correctly, this bit is just for debug purpose, for example, if you found board can NOT boot up bootloader, you can enable this feature, and then connect JTAG into ROM code and debug it step by step to find why it boot fail. Not very sure about what you meant about "bring out to a test pad", can you explain more detail?

View solution in original post

0 Kudos
3 Replies
804 Views
raymondwang
Senior Contributor I

You should not set BOOT_CFG4[7] gpio bit(if you use gpio override setting) since it may cause MX6 enter infinite loops.

I encountered issue because of it on my rev1 board. You can see details @imx6q boot up failed with serial downloader mode or internal boot on new sabresd based custom board

0 Kudos
805 Views
AnsonHuang
NXP Employee
NXP Employee

Hi, Alex

     If I remembered correctly, this bit is just for debug purpose, for example, if you found board can NOT boot up bootloader, you can enable this feature, and then connect JTAG into ROM code and debug it step by step to find why it boot fail. Not very sure about what you meant about "bring out to a test pad", can you explain more detail?

0 Kudos
804 Views
AlexHarford
Contributor II

I was trying to determine if this would be routed to our supervisor MCU as part of normal operation, or if it could be a test pad that we would use for board bring up only. It sounds like this is for board bring up only as it would never be used in a deployed situation. Thanks!

0 Kudos