XCP Parameter Granularity Error (TI C2000)

3 visualizaciones (últimos 30 días)
Guido de Hek
Guido de Hek el 15 de En. de 2021
Respondida: Aditya Padmanabha el 23 de Sept. de 2021
Hi,
I am executing a model on a F28388D controlcard from Texas Instruments using external mode simulation. External mode communication uses the XCP protocol (serial via XCP). I have noticed that when a signal of type boolean is converted to a signal of type double, a so-called parameter granularity error can occur. The specific error message I get is:
External Mode Open Protocol Connect command failed
Caused by:
External Mode Open Protocol SetParam command failed
XCP Master internal error: Parameter tuning failed. Size of tunable parameter is not a multiple of target address granularity
I am using Matlab R2020b.
Does anyone have a suggestion on how to solve this issue? Any form of input is greatly appreciated!
  1 comentario
Roberto Di Lorenzo
Roberto Di Lorenzo el 10 de Jun. de 2021
I have the same problem. I don't understand why. I tried a different versions of TI C2000 code generator tools, but nothing changed.

Iniciar sesión para comentar.

Respuesta aceptada

Aditya Padmanabha
Aditya Padmanabha el 23 de Sept. de 2021
Hi Guido, Roberto,
The XCP external mode does not support data logging and parameter tuning of Uint8/int8 parameters for TI C2000 hardware boards. This limitation has been addressed from R2021a release. Since you are using R2020b release you can try to change the datatype of the parameters you want to tune in Simulink model to Uint16/int16 (ex. constant blocks) and similarly change the datatype of the signals sent to scope or display blocks for logging should be changed to Uint16/Int16.
Thanks,
Aditya

Más respuestas (0)

Categorías

Más información sobre Combine Multiple Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by