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.

F28377D-SEP: How to Deploy Simulink Code to Flash for Auto-Execution After Power Cycle (MATLAB R2024a + C2000 Blockset)

Part Number: F28377D-SEP
Other Parts Discussed in Thread: UNIFLASH

Hi TI Experts,

I'm working with MATLAB R2024a and the C2000 Microcontroller Blockset along with Embedded Coder. My goal is to deploy a Simulink model to a TI C2000 device (TMS320F28377DPTPQ) such that the code runs automatically after a power OFF/ON cycle, similar to how we select Flash instead of RAM in Code Composer Studio (CCS).

Here’s what I’ve done so far:

  • Selected the correct hardware board in Simulink.
  • Enabled ERT system target file (ert.tlc).
  • Enabled "Boot from Flash (standalone execution)" option under Hardware Implementation > Target Hardware Resources > Build Options.
  • Attempted to use cscdesigner, but the default tic2000demospkg is read-only, and I’m unsure how to proceed with assigning memory sections for Flash.
  • I even tried with Uniflash, didn't work.

Questions:

  1. How can I ensure the generated code is built for Flash and not RAM?
  2. What are the correct steps to assign memory sections (e.g., ramfuncs) in Simulink for Flash execution?
  3. Are there any device-specific boot pin settings I should be aware of?

Any guidance or documentation links would be greatly appreciated!

Thanks,
Ashushree Fulzele