Clear Filters
Clear Filters

Raspberry external mode memory error

7 views (last 30 days)
Cengizhan Demirbas
Cengizhan Demirbas on 22 May 2022
Answered: Piyush Kumar on 29 Jan 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 Comments
Prasanth Sunkara
Prasanth Sunkara on 2 Jun 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 on 14 Sep 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.

Sign in to comment.

Answers (1)

Piyush Kumar
Piyush Kumar on 29 Jan 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 -

Categories

Find more on Raspberry Pi Hardware in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!