AnsweredAssumed Answered

PIL Simulation Error - Soft Reset

Question asked by Sundar Natarajan on Jul 5, 2019
Latest reply on Jul 5, 2019 by Marius-lucian Andrei

Hello,

 

I am using MPC5744P DEVKIT, MBD Toolbox 2.0.0, with MATLAB 2016b to do PIL test. I was able to perform this in hard reset mode, but when it try to make this to soft reset by modifying mcu_init.c in src folder of MBD_Toolbox. I get error after the code flashes to the board [Invalid Payload Size].Could you tell us what is going wrong here or we missing something to do here.

 

I have also attached a sample model.

 

Original:

/* Mode transition to apply the PLL0 setup and set Normal mode with PLL running */
MC_ME.MCTL.R = 0x30005AF0; /* DRUN Mode & Key */
MC_ME.MCTL.R = 0x3000A50F; /* DRUN Mode & Key */

 

Modification Done: 

/* Mode transition to apply the PLL0 setup and set Normal mode with PLL running */
MC_ME.MCTL.R = 0x00005AF0; /* DRUN Mode & Key */
MC_ME.MCTL.R = 0x0000A50F; /* DRUN Mode & Key */

 

Error Details

Attachments

Outcomes