Raspberry external mode memory error
조회 수: 7 (최근 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
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
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
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 -
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Run on Target Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!