Size of usb key mounted as openmv

General discussion about topics related to OpenMV.
User avatar
chrisPyres66
Posts: 104
Joined: Mon Jul 16, 2018 9:22 am
Location: France

Size of usb key mounted as openmv

Postby chrisPyres66 » Fri Jul 12, 2019 6:06 am

Dear all,

When i connect a cam (H7/F7), there is a usb key mounted of 80Ko for F7 and 110Ko for H7 (without an SDCARD of course).
I would like to know if it is possible to increase this size of this usb key because the overall size of flash is 2Mo (F7/H7) and the full firmware + bootloader is around 1.3Mo.

I did not find any paramater in files of openmv3 and openmv4 directories.
In micropython/port/stm32/flashbdev.c, there are #define parameters but i dont understand how it works and so i dont know if there are the good ones...
#define FLASH_SECTOR_SIZE_MAX 0x08000
#define FLASH_MEM_SEG1_START_ADDR 0x080080000
#define FLASH_MEM_SEG1_NUM_BLOCKS 192

Thanks for help,
User avatar
iabdalkader
Posts: 883
Joined: Sun May 24, 2015 3:53 pm

Re: Size of usb key mounted as openmv

Postby iabdalkader » Fri Jul 12, 2019 6:58 am

No the filesystem is cached in memory, and the way it's designed limits the filesystem to the smaller sectors at the beginning of the flash (16 or 32). So it can't be increased.

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 10 guests