Changing pulpissimo memory layout - Printable Version +- PULP Community (https://pulp-platform.org/community) +-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1) +--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2) +--- Thread: Changing pulpissimo memory layout (/showthread.php?tid=115) |
Changing pulpissimo memory layout - anfevp - 08-27-2019 Hello everyone, I would like to ask you how to change memory layout of pulpissimo My problem is that I need to use code that uses big vectors. Then, when I run the program in the virtual platform I got: 3699418377: 147973: [/sys/board/chip/soc/fc/warning ] Invalid access (offset: 0x1bfffcd8, size: 0x4, is_write: 1) Which is a problem of stack overflow. I could move big vectors to other memory sections but this implies to modify the code, which i shouldn't. Also, sometimes I got problems with the code size. So in general I would like to know how to modify the memory to be able to execute the code without modifications. The problem can be reproduced with the following code: Code: #include <stdio.h> Thanks in advance!! |