problem to PIL simulation dsp 28379D

8 Ansichten (letzte 30 Tage)
Gabriel Barria Mondaca
Gabriel Barria Mondaca am 28 Mai 2021
Kommentiert: Aditya am 9 Nov. 2023
I am doing a simulation with a pil block and a 28379D dsp and once the block is generated, when I put play, m, and some of these errors appear:
  • Invalid application id (2) received during SIL/PIL communication between Simulink and the target application. Check the rtiostream implementation for the target application.
  • Invalid payload size (540095093) received during SIL/PIL communication between Simulink and the target application. Check the rtiostream implementation for the target application.
  • Or error to generate all binary outputs
  1 Kommentar
Mohammed SETTI
Mohammed SETTI am 28 Mär. 2022
Bearbeitet: Mohammed SETTI am 28 Mär. 2022
Same issue with me. Please suggest help
Host: Windows 10 x64, MATLAB R2017b
Target: Arduino DUE

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Kary Chang
Kary Chang am 7 Nov. 2023
Hi
I got the same error and I change the COM port for PIL mode in Simulink Configuration.
You should ativate the load VCP at advanced pane of XDS 100 Clas Auxiliary Port in windows device manager.
Than you will find a new COM port.
  2 Kommentare
Aditya
Aditya am 8 Nov. 2023
Issue persistent on my end as well. Not the problem with COM port. Can it be because of the size of the PIL simulation?
Aditya
Aditya am 9 Nov. 2023
I was able to solve the issue by taking and replacing the PIL block one by one. If I try to replace all (more than 1 as well) blocks with their PIL, it shows the error. Doing one at a time works to be fine. Little tedious though.

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by