Raspberry external mode memory error

8 次查看(过去 30 天)
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 个评论
Prasanth Sunkara
Prasanth Sunkara 2022-6-2
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 2022-9-14
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.

请先登录,再进行评论。

回答(1 个)

Piyush Kumar
Piyush Kumar 2024-1-29
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 -

类别

Help CenterFile Exchange 中查找有关 Raspberry Pi Hardware 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by