i.mx6 sometimes goes to serial downloader

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

i.mx6 sometimes goes to serial downloader

Jump to solution
1,720 Views
ivan_113
Contributor II

Custom board.

Normally boot from emmc, but sometimes goes to USB downloader.

Normal boot log:

Normal boot logNormal boot log

Failed boot log:

Failed boot logFailed boot log

Difference in entry #19: Jump to the boot image or Jump to the SDP

 

upd: this problem appears with boot from eMCC and SD too

 

Sometimes boot fails with following log:

Failed 2Failed 2

Labels (1)
0 Kudos
Reply
1 Solution
1,542 Views
ivan_113
Contributor II

Thanks to all.

Reset of MMDC before loading u-boot fixed the problem.

View solution in original post

0 Kudos
Reply
8 Replies
1,543 Views
ivan_113
Contributor II

Thanks to all.

Reset of MMDC before loading u-boot fixed the problem.

0 Kudos
Reply
1,668 Views
ivan_113
Contributor II

Hi. Thank for reply.

We have several versions of HW. On earlier versions it's all right. On current version was changed emmc and ddr. However, in case of load from SD errors occurs, problem may be in ddr. Stress test passing.

Previous ddr is EDB8132B4PM-1D-F-D

Current ddr is AS4C128M32MD2A-18BIN

Configuration in DCD are made

0 Kudos
Reply
1,607 Views
Harvey021
NXP TechSupport
NXP TechSupport

This kind of problem that sometimes starts normally and sometimes is not normal needs to be considered when doing ddr calibration first. I forgot to mention it earlier. 

@Mestkim  thanks for bringing up, you are correct.

 

Best regards

Harvey

0 Kudos
Reply
1,645 Views
Mestkim
Contributor III
  • If the board hardware is set to use internal ring oscillate as you mentioned, it could not be the ERR009678.

 

  • If you believe it could be ddr issue, you can check if you have finished the mass production  ddr stress test for i.MX6Solox and for this lot of the boards you made. 

  But still suggest to monitor the power ramping up of emmc and sdcard. 

 

  • Several years ago, I followed this document for mass production ddr stress test.  The document is to find a smallest window of ddr configuration to fit all the boards of a lot. 

i.MX6 DDR calibration/stress for Mass Production
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6-DDR-calibration-stress-for-Mass-Pr...

 

0 Kudos
Reply
1,681 Views
Mestkim
Contributor III

It could be  ERR009678 ROM: SD/EMMC/NAND prematurely times out during boot. 

And also suggest you to check the power sequence including emmc power on timing. 

2023-08-01_204415.png

0 Kudos
Reply
1,670 Views
ivan_113
Contributor II
32kHz crystal is removed and RTC_XTALI connected to GND
0 Kudos
Reply
1,691 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @ivan_113 

The problem caused can be various.

Does this issue happen same image? 

From ROM log, which seems telling the address in the signature is invalid, you can dump HAB log then share the HAB event.

If not the case above, what BSP you are using, it'd be better to share your schematics to (harvey.yu_1@nxp.com) me for further troubleshooting.

 

Best regards

Harvey

 

 

0 Kudos
Reply
1,679 Views
Mestkim
Contributor III

NXP expert,

"The problem caused can be various."  In fact, it cannot be HAB issue in those "various".

The log shows it is an open device.  Dump HAB log and share the HAB event of an open device? For what? 

Here is a description in reference manual. 

If it is an open device, it always gets authenticated error because "All HAB functions are executed as for a closed device." 

On the contrary, what you said "telling the address in the signature is invalid" is a normal ROM log. 

Is there any misunderstanding below? 

2023-08-01_204549.png

 

0 Kudos
Reply