AnsweredAssumed Answered

i.MX6 Internal Boot from SPI Stuck in ROM

Question asked by ronsandel on Jan 24, 2014
Latest reply on Feb 9, 2014 by Qiang Li - Mpu Se

We have developed a custom board with an i.MX6D and I've been trying to get it to load from the SPI NOR and it seems to be stuck in the ROM.  It is supposed to be in Internal Boot mode and loading from CS0 on eCSPI5.  I'm able to attach JTAG while it is stuck in the ROM and I can verify the following:

 

  • SRC_SBMR2 @ 0x20D801C = 0x22000001, so BOOT_MODE[1:0] is set to internal boot and BT_FUSE_SEL isn't set.
  • SRC_SBMR1 @ 0x20D8004 = 0x0CC00030:
    • BOOT_CFG1 = 0x30 which the documentation says is for serial boot.
    • BOOT_CFG4 = 0x0C which should be chip select 0, 3 byte addressing, and eCSPI5.

 

The log buffer contains:

 

00902190: 02 00 01 00 f0 00 02 00 00 00 03 00 00 00 04 00  ................

009021A0: 00 00 05 00 04 00 06 00 00 00 08 00 00 00 00 00  ................

009021B0: f0 00 08 00 00 00 09 00 33 05 0a 00 ff 1f 06 00  ........3.......

009021C0: 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

 

While in JTAG, I can place breakpoints for data access and I never see the eCSPI5 registers accessed.  I've gone through the documentation over and over and searched through this forum.  What does the log say is happening?

 

Thanks,

Outcomes