This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x ICE MMC boot and flashing SPI flash

Other Parts Discussed in Thread: SYSBIOS, AM3359

Dear sir or madam,

we are planing to run on the AM335x ICE Board the complete SysBios system (MLO and app) out of the MMC card. Which bootloader example do I have to generate and use for MLO?
1.) AM335x sysbios indusrial SDK 1.0.0.6 -> starterware -> bootloader, is this the correct one?
2.) Which address (hex value) do I have to use in the tiimage.exe to generate the correct header? (command: "tiimage 0x402F0400 MMCSD boot.bin MLO")

I've tried it on an ICE which was modified to boot from MMC and SPI has no effect (changed resistor matrix for boot config) - but this steps I've discribed above doesn't work.

3.) Is there a possibility to flash a MLO via MMC booted system to the SPI flash?

Best regards,

Matthias Boehmer

  • Hello,

    MMC boot is not supported on ICE boards as of now as MMC is on instance 1. To be able to boot from MMC, the instance must be 0.

    Regards,

    Shahid

  • Hello Shahid,

    thanks for your answer. I think, your assumption is right, if the constelation of the resistors for sysboot is unchanged. In table 26-7 of the TechRefManual of the AM335x I found the configuration for the sysboot 11100b on page 4258 where MMC1 is the first option of the boot sequence. So I think that a boot from MMC1 is also possible, right?

    Regards,

    Matthias

  • Mathias,

    generally you are right. But you also need to read 26.1.7.5.2 which shows some severe limitations on MMC1. Also there might still be a pin-mux conflict with GPMC. For sure we haven't tried and do not plan to support it for the ICE board.

    Any reason why you can't boot MLO from SPI FLASH and then your APP from MMC?

    Regards.

  • Dear Frank,

    thanks for that hint. The reason I'm trying to boot from MMC1 is to get a new AM3359 started. I haven't found a possibility to start a blank board yet - reason is to start a own board which is simular to the ICE. Is it possible you give me another hint how to bring the MLO to a new system and how this MLO must be configured (tiimage.exe - PIN-MUX).

    Regards, Matthias

  • Matthias,

    obviously this is a valid question you may ask here in the forum. Just be aware that ICE was designed with development features in mind. It is not a true reference design for all kind of use cases. Due to the pin-muxing and large amount of peripherals on AM335x I always would recommend to look at all options for a new design.

    So in your case I would first try to use MMC0. There are also some pin-mux changes in PG2.x silicon that would help. In addition make sure you read and understand all of chapter 26 of the TRM. There are more boot options that might help (e.g. UART). In production you might also use special JTAG FLASH programmers to write your non-volatile system memory.

    regards.

  • Frank,

    I've understood that the boot on ICE from MMC is not the easiest way to boot.

    How can I bring a MLO to a untouched processor / SPI flash which is simular to the ICE?

    Thank you for your help.

    Regards