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.

MSP432E401Y: Follow-Up: MCU Booting from External SDRAM Resolved – Issue Observed with Full Application Execution

Part Number: MSP432E401Y

Dear TI Support Team,

This email is a follow-up to the earlier thread regarding MCU booting from external SDRAM on our MSP432-based custom board.

old thread:

MSP432E401Y: MSP432 Booting Issue - Not Booting from SDRAM Address 0x60000000

 

Update on Previous Issue

We would like to inform you that the MCU booting issue from external SDRAM (0x60000000) discussed earlier in this thread has been successfully resolved.
The system is now able to correctly transfer execution to the application stored in external SDRAM.

As a confirmation, a simple hello-world application (~15 KB) executes successfully from SDRAM and produces the expected output.

 

New Issue Observed

After resolving the booting issue, we are now facing a new problem when executing a larger application (full ATP code) 78kb from SDRAM.

While the hello-world application runs correctly, the system fails to execute the full ATP application and appears to crash shortly after control is transferred to the SDRAM-based code. No application output is observed in this case.

 

 

Current Execution Flow

  1. Bootloader executes from internal flash

  2. External SDRAM is initialized

  3. Application binary is written into SDRAM

  4. Execution control is transferred to the SDRAM application

This flow works for the small application but fails for the full ATP application.

 

Observations

  • Execution from SDRAM is confirmed to be working

  • Failure occurs only when application size and complexity increase

  • The ATP application uses interrupts, drivers, stack, and heap

  • The issue appears after the jump to SDRAM code execution

  •  


Assistance Requested

We request your guidance on the following:

  1. Are there any limitations or constraints on executing large applications from external SDRAM on MSP432?

  2. Are there any mandatory configurations (VTOR relocation, stack pointer initialization, MPU settings, startup sequence) required for stable execution of larger applications from SDRAM?

  3. Are there any recommended TI reference examples or application notes for executing complex applications from external memory on MSP432E4?

 

I look forward to your continued support.