Search found 24 matches

by untitled
Mon Oct 05, 2020 9:26 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 19013

Re: Filesystem size with custom STM32F7 build

Awesome news! Gonna try it tomorrow
by untitled
Sun Sep 13, 2020 10:25 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 19013

Re: Filesystem size with custom STM32F7 build

Sorry for no response. The baby has happened to our family so totaly not into micropython right now :D

The last sugested values didn't work for me. It shows increased storage space but crashes on data write. Will try more some day later.
by untitled
Thu Aug 20, 2020 8:01 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 19013

Re: Filesystem size with custom STM32F7 build

Thanks for your help!

Double checking few numbers:

Code: Select all

{ 0x08040000, 0x20000, 7 },  <--- shouldn't it be here 0x40000 as sector size is 256k? 
and

Code: Select all

#define FLASH_SECTOR_SIZE_MAX (0x08000) <--- maybe 0x20000 for 128k?
by untitled
Thu Aug 20, 2020 2:37 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 19013

Re: Filesystem size with custom STM32F7 build

Is it possible to reserve 256k of ram? How?
Will it be enough to run Micropython with remaining ram?
by untitled
Wed Aug 19, 2020 10:32 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 19013

Re: Filesystem size with custom STM32F7 build

I was able to extend flash partition to 1.1 MB but MCU crashes after some data is written to it. l can write about 220 KB and after that MCU crashes. I guess it's an address issue and data gets written somewhere in a wrong location. Here's what I did: Added line to stm32f767.ld FLASH_FS2 (r) : ORIGI...
by untitled
Tue Aug 18, 2020 6:24 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 19013

Re: Filesystem size with custom STM32F7 build

Here is my board https://www.st.com/en/evaluation-tools/nucleo-f767zi.html It has a STM32F767ZI mcu. MCU datasheet didn't had much about flash but I found this doc https://www.st.com/resource/en/application_note/dm00266999-stm32f7-series-flash-memory-dual-bank-mode-stmicroelectronics.pdf As my F767 ...
by untitled
Mon Aug 17, 2020 10:30 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 19013

Re: Filesystem size with custom STM32F7 build

Thanks for an answer Travis! I have found similar information in https://forum.micropython.org/viewtopic.php?f=3&t=3702&p=22627&p22627#p22612 I have tried it but without any luck. I have no clue what those values are in flash.c file. First element (f.e. 0x08000000) should be address, second could be...
by untitled
Mon Aug 17, 2020 5:40 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 19013

Re: Filesystem size with custom STM32F7 build

I am using Nucleo dev board so no options to add external flash.
Later i will be building my own pcb so i'll think about external flash.

Travis, do i get i right that you moved to external flash and didn't find a way to resize internal flash filesystem?
by untitled
Mon Aug 17, 2020 8:16 am
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 19013

Re: Filesystem size with custom STM32F7 build

I would like to stick with internal flash for now but i need 200-300 kb of it.
Let me know if you will find something usefull.
by untitled
Sun Aug 16, 2020 11:24 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 19013

Re: Filesystem size with custom STM32F7 build

Travis did you succeed with increasing filesystem size? Could you please share your changes? I have been working on updating the filesystem flash size based on the nucleo STM32F767 build. I get it to recognize (show is free using an os) a larger filesystem, but unlike my efforts with the STM32F405 e...