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.

AM2434: AM243x

Part Number: AM2434
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hi there,

we will have own prototype board using the flashless AM243x chip. The OSPI flash will come with empty content. We don't have custom bootloader yet and are not planning to have it soon. No SD card at this moment.


Is it possible to use single boot mode to initialize SOC and download application to the OSPI flash? For example, boot mode is fixated at UART mode or no boot mode - but provides only one boot mode.


Best regards,
Jinlong

  • Hi Jinlong,

    You will need to change the bootmode from UART to OSPI to boot from OSPI after UART flashes the images to OSPI.

    Another option would be to set OSPI as primary boot mode and UART as secondary boot mode. In this case ROM will first check OSPI for booting the SBL, if OSPI is empty it will fall back to secondary bootmode UART,  you can then flash the OSPI using UART. In the next power cycle as OSPI is flashed, ROM will boot the SBL from OSPI.

    Best Regards.

    Meet.

  • Thank you, Meet. I will need to read about it first.
    For now I am told that we this value: BOOTMODE [15:0] = 0000.0001.0001.0011.
    What kind of boot mode is it? 

    Update: it looks like QSPI as primary boot mode and no boot as backup boot mode. With empty flash, we would end up in no boot mode. 

    In addition: TI offers sbl_jtag_uniflash. It seems that we can run this demo with which we can then program an application on engineering computer to AM243 board.
    Not clear how it triggers actions on engineering PC to send the application file to AM243 and further gets it written to OSPI flash. 
    Could you please elaborate a bit?

    Best,

    Jinlong

  • Hi Jinlong,

     

    Not clear how it triggers actions on engineering PC to send the application file to AM243 and further gets it written to OSPI flash. 
    Could you please elaborate a bit?

    It just uses JTAG as an interface instead of UART to flash the file to OSPI. You perform some basic initialization using CCS script then load the sbl_jtag_uniflash to the core via JTAG. You can check the code of sbl_jtag_uniflash, essentially it uses Flash APIs available in the MCU+SDK to perform the flashing: https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/10_01_00_32/exports/docs/api_guide_am243x/BOARD_FLASH_PAGE.html

    Best regards,

    Meet.

  • Hi Meet,

    It is a pity that we will have aforementioned boot mode. We will end up in none as backup boot mode.

    Any chance to perform SoC initialization? 

    Best,

    Jinlong

  • Hi Jinlong,

    It is a pity that we will have aforementioned boot mode. We will end up in none as backup boot mode.

    You can change the boot mode as previously mentioned by me and put OSPI as primary and UART as secondary. Are there any issues with changing the boot switches in your set-up?

    Best regards,

    Meet.

  • Thank you , Meet. We would have to. The question was meant to check if we have overlooked any other means apart from changing wiring for boot mode. It is now clear that to change boot mode is a must. The aforementioned change should be most easy one for the work afterwards. This issue is resolved.