When utilizing the memory read / write blocks per the example project, things work great.
If I try to put the write block in a subsystem, I get the attached error:
My end goal is to write to a flash region and make the subsystem enabled to avoid memory wear out.
My blockset version is "Model-Based Design Toolbox for S32K3xx Series Version 1.2.2"
Is there a way around this error?
Solved! Go to Solution.
Hello @BillDuley ,
We have investigated the described issue and we would like to share with you the following fix, in the form of the check_range.p file contained by the archive attached to this post.
After you download the archive and extract the file, can you please copy it inside the <toolbox_root>/mbdtbx_s32k3/+mbd_s32k3/+mem folder and overwrite the already existing one? After this process is completed, you should be able to use a MBDT Memory Write block inside a subsystem, as required by your use case.
However, please note that this solution is applicable only for the current toolbox version you are using (1.2.2) and it will not work with newer toolbox versions due to compatibility issues.
Let us know if this helps or further assistance is needed from our side.
Thank you,
Irina
Patch worked great! Thx!
Hello @BillDuley ,
We have investigated the described issue and we would like to share with you the following fix, in the form of the check_range.p file contained by the archive attached to this post.
After you download the archive and extract the file, can you please copy it inside the <toolbox_root>/mbdtbx_s32k3/+mbd_s32k3/+mem folder and overwrite the already existing one? After this process is completed, you should be able to use a MBDT Memory Write block inside a subsystem, as required by your use case.
However, please note that this solution is applicable only for the current toolbox version you are using (1.2.2) and it will not work with newer toolbox versions due to compatibility issues.
Let us know if this helps or further assistance is needed from our side.
Thank you,
Irina