Hello,
I was doing one model to the microcontroler MPC 5744 in simulink.
I nedd to reset the micocontroler so I was thinkig to do a MATLAB Function to comand the reset whith the instructions:
MC_ME.MCTL = 23280;
MC_ME.MCTL = 42255;
But I can't get it?
Can someone help me to doing the reset?
Short the bottom two pins of the six-pin (2x3) header footprint just below the microcontroller in your picture. It’s in a white silkscreen outline.
Hello @Ekaitz ,
If you want to access registers in MBDT, then we have dedicated blocks for that, called Write_Register.
I never reset the MCU in this method. I wonder if you need to use the Watchdog timer.
Regards,
Marius