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.

MCU-PLUS-SDK-AM243X: OSPI issue

Part Number: MCU-PLUS-SDK-AM243X

Hi Team,

When tested in OSPI boot mode, exit after each test and then press normal debug without entering, you must re-program the bootloader before you can do so. Finally, it was successfully entered using load_DMSC.js mode, but it was found that the 0x60000000 locations of OSPI-Flash all changed to "E". 

MAIN_Cortex_R5_0_0: GEL Output: CPU reset (soft reset) has been issued through GEL.
MAIN_Cortex_R5_0_0: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x40: (Error -1065 @ 0x40) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.10.0.00080)
MAIN_Cortex_R5_0_0: File Loader: Verification failed: Target failed to write 0x00000000
MAIN_Cortex_R5_0_0: GEL: File: ****.out: Load failed.

Normally, there should be boot data, as follows:

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Hi ,

    Finally, it was successfully entered using load_DMSC.js mode, but it was found that the 0x60000000 locations of OSPI-Flash all changed to "E". 

    load_dmsc is not responsible for initialization of the OSPI or the flash. The application loaded via JTAG (if it requires flash) needs to perform the initialization.

    Can you try loading ospi_flash_dma or ospi_flash_io examples ? If these examples tests fails, then we can debug what went wrong in the setup, else it justifies the flow mentioned above.

    Best Regards,
    Aakash