The following error occurred during deployment to your hardware board: The generated code exceeds the available memory on the processor. It uses 98.1% of available program me
조회 수: 11 (최근 30일)
이전 댓글 표시
답변 (1개)
Raj
2023년 10월 5일
편집: Raj
2023년 10월 6일
Hello Yang,
Atmega 328p microcontroller has a Program Memory Size of 32 KB and a RAM of just 2 KB.This is fairly less than the memory that is required by the code generated by your model to do its processing.
Data memory that is a volatile memory is used for storing variables, intermediate results, and other runtime data during program execution. Overflow of data memory indicates you might have way too many variables and you can solve it either by optimizing your code or deleting unused variables to clear up space.
You can also think of using a different development board that has bigger memory storage capacity and a better RAM to carry out the processing that you require.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!