Raspberry external mode memory error

8 visualizaciones (últimos 30 días)
Cengizhan Demirbas
Cengizhan Demirbas el 22 de Mayo de 2022
Respondida: Piyush Kumar el 29 de En. de 2024
Hi, I am trying to get a video feedback from the usb webcam connected to Rpi 4 using the Simulink support for raspberry pi hardware. This is the simulink model that I have.
Whenever I use monitor&tune, I get the following error:
External Mode Open Protocol Connect command failed
Caused by: ERR packet with error code 'ERR_MEMORY_OVERFLOW' received in response to XCP command 'ALLOC_ODT_ENTRY'. Target memory available for allocation to internal data structures is not sufficient. Increase the target memory that is available for internal data structures. For details, see 'Customize XCP Software'.
I tried to look at customize XCP software, but it is too low level for me. Can you help me with this?
  2 comentarios
Prasanth Sunkara
Prasanth Sunkara el 2 de Jun. de 2022
Camera block generates a lot of data. Could you please try this again by reducing the resolution value setting in the block mask?
Charlie White
Charlie White el 14 de Sept. de 2022
Did this ever get resolved? I am struggling with the same issue, and reducing resolution or increasing step size doesn't help.
There are many MATLAB videos where this works easily, why is it not working in our case?
It's also not clear to me from the documentation how to increase the memory allocation.

Iniciar sesión para comentar.

Respuestas (1)

Piyush Kumar
Piyush Kumar el 29 de En. de 2024
Hi Cengizhan,
Please increase the "logging size in bytes" and also check the COM ports.
To read more about external mode simulation, refer to the following link -

Categorías

Más información sobre Run on Target Hardware en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by