Regarding Boot mode selection

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

Regarding Boot mode selection

628 Views
surendrajadhav
Contributor IV

Hello,

Reference manual of i.MX6UL specifies following Boot modes.

Boot modes.PNG

First of all (on fresh board), we have downloaded the image through USB by putting the board in "Serial Downloader" mode.

After this we changed mode "Internal Mode" by which its booting the code from eMMC and executing code by dumping in DDR3.

However when we try to bring it again on " Serial Downloader" by making "01", its not going in to it.

This is happening for all the boards.

Kindly advise.

Regards,

Surendra

Labels (1)
0 Kudos
3 Replies

481 Views
igorpadykov
NXP Employee
NXP Employee

Hi Surendra

please attach jtag debugger and check boot mode

in registers SRC_SBMR1,2. Note, one can erase eMMC and processor

if fails to boot from it, also jumps to serial downloader mode.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

482 Views
surendrajadhav
Contributor IV

Thanks Igor for your reply.

However we are not using JTAG debugger while using USB for programming.

Let me know is it right way to boot first and then erase CPU and memory?

We are really not able to understand why it does not go in Serial mode when we are using changing BOOT_MODE pins, once we flash the image in eMMC.

Regards,

Surendra

0 Kudos

482 Views
igorpadykov
NXP Employee
NXP Employee

Hi Surendra

 

>Let me know is it right way to boot first and then erase CPU and memory?

yes

>We are really not able to understand why it does not go in Serial mode 

probably boot pins are not correctly set, most simple way to check

this with oscilloscope and read SRC_SBMR1,2 registers with jtag.

 

Best regards
igor

0 Kudos