Raspberry external mode memory error
9 ビュー (過去 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!