Portenta H7 - SDRAM Configutration #12292
Replies: 2 comments 1 reply
-
@barisserbay The Portenta firmware in the main repo definitely enables SDRAM. (I can't speak for the OpenMV firmware). It is also configured to do a sdram test on startup, importantly with "fail on error" set, so MicroPython wouldn't start up if there was a problem. BUT... it doesn't look like it's configured to actually uses the SDRAM for the MicroPython heap. Compare the Portenta config: to e.g. the F7 Discovery config, which overrides @iabdalkader Should we change this for the Portenta board? (and the Giga too?). Or is the intention with these boards to use the SRAM for heap and leave the SDRAM for other things? |
Beta Was this translation helpful? Give feedback.
-
@barisserbay Please add it as a feature request here: https://github.com/openmv/openmv/issues Adding 1MB for more MicroPython heap is possible. However, it's not the point of our system. But, if we give you the second heap block you could resize it then as you like to have more heap space yourself in a custom firmware. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I have a Portenta H7 Board and I’ve installed the OpenMV micropython firmware via using the IDE. But I’m not using the camera, I only use the OpenMV micropython firmware couse it has all the data analysis libraries that I need on my project. (Ulab and tf)
I can use the flash memory withouth any problem but I think the firmware is not able to handle with the 8MB SDRAM on board. I've also tried with the firmware official micropython firmware. (Downloaded here)
Here is what i see when I run the pyb.info() function:
Output:
Also, I’ve use the gc library to understand how much RAM available on the board, please see the code and output below.
Output:
Allocated Memory: 5040 Free Memory: 155024
Am I missing something or there is a problem with the firmware?
Beta Was this translation helpful? Give feedback.
All reactions