Good Morning Sir/Madam,
I have been working with the nxp mbdt toolbox in Simulink. Every time I create a PWM or adc or Dio model, Only the initial configuration settings are updated in the target (s32k312). If I bring about a change in the model, Even after building the model to the target the processor seems to function with the initial build. I have posted this query before and tried the suggestion received from the nxp community: to check with the Port Component Configuration and delete the ert file generated. However, although the port component configuration was all done, I still had the issue. I tried deleting the ert file and it seems to solve the issue, but I have to do the deletion before every build process to the target. Kindly clarify the issue. I have attached the simulink file. I have also uploaded the images.
From the first image, I have the set led to blue and built the model into the target. The second image verifies that with the generated c code. However, with the third image, I changed the parameters to green from blue and that is also reflected in the code. However, the second time I built the model the change is not effective in the target. It only becomes effective, only when I manually delete the ert_rtw file every time . Kindly clarify the issue. first image where led is blue
blue led generated code
blue to green led code(changed)