MATLAB Answers

How to configure NVRAM Service Component to match Argument of NvMServiceCaller

1 view (last 30 days)
Jaerok Kim
Jaerok Kim on 25 Mar 2019
Answered: Stefanie Schwarz on 3 Jun 2020
Hello,
I want to make simulations with AUTOSAR blockset which is NvM.
Because I want to save a parameter which is 4array of uint32, I set Argument specification to uint32([1 1 1 1]).
img1.PNG
And I made a test harness where NVRAM Service Component is.
img3.PNG
Unfourtunately, I have met error messages which are as below
img2.PNG
My question is that NVM Service Component can be configured according to the Argument specification of NvmServiceCaller(RealBlock).
To my knowledge, array signal should be saved through invoking NvmServiceCaller.
I hope I would get some answers.
Thanks in advance
- JR

Answers (1)

Stefanie Schwarz
Stefanie Schwarz on 3 Jun 2020
The issue you are seeing is a current limitation of our NVRAM Service Component implementation on the simulation side, so that only 'uint8' datatype is supported.
We apologize for the inconvenience. We have an internal report about this and it is planned to improve this in a future release.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!