Search found 8 matches
- Fri Sep 06, 2019 10:42 am
- Forum: Other Boards
- Topic: [STM32F407VGT6] Board HELP!
- Replies: 11
- Views: 8241
Re: [STM32F407VGT6] Board HELP!
My mpconfigboard.h for this board https://pastebin.com/A6J2XcLb
- Fri Sep 06, 2019 10:21 am
- Forum: Other Boards
- Topic: [STM32F407VGT6] How to erase flash fs?
- Replies: 8
- Views: 4925
Re: [STM32F407VGT6] How to erase flash fs?
Thank you. I already found this part, but don't understand why i can't catch right moment.
For one STM32F4DISCOVERY, that work strange i plan to build firmware with explicitly format flash fs on boot.
For one STM32F4DISCOVERY, that work strange i plan to build firmware with explicitly format flash fs on boot.
- Thu Sep 05, 2019 8:06 pm
- Forum: Other Boards
- Topic: [STM32F407VGT6] How to erase flash fs?
- Replies: 8
- Views: 4925
Re: [STM32F407VGT6] How to erase flash fs?
Boot modes are:
...
3. Green and orange LED together, *filesystem reset*: resets the flash
filesystem to its factory state, then boots in safe mode.
So with only one LED with invers controll very hard to get this mode...
...
3. Green and orange LED together, *filesystem reset*: resets the flash
filesystem to its factory state, then boots in safe mode.
So with only one LED with invers controll very hard to get this mode...
- Thu Sep 05, 2019 7:45 pm
- Forum: Other Boards
- Topic: [STM32F407VGT6] How to erase flash fs?
- Replies: 8
- Views: 4925
Re: [STM32F407VGT6] How to erase flash fs?
There is a note somewhere about flash fs part not erased on firmware upgrade to save it content...
Finaly found solution - USER button press and hold while reseting board cleared flash fs. Tried this method before, but able may be not holding long enough or released in wrong moment.
Finaly found solution - USER button press and hold while reseting board cleared flash fs. Tried this method before, but able may be not holding long enough or released in wrong moment.
- Thu Sep 05, 2019 6:59 pm
- Forum: Other Boards
- Topic: [STM32F407VGT6] How to erase flash fs?
- Replies: 8
- Views: 4925
Re: [STM32F407VGT6] How to erase flash fs?
And flash formatting not working...
>>> import uos
>>> uos.VfsFat.mkfs("/flash")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'str' object has no attribute 'readblocks'
>>> import uos
>>> uos.VfsFat.mkfs("/flash")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'str' object has no attribute 'readblocks'
- Thu Sep 05, 2019 6:48 pm
- Forum: Other Boards
- Topic: [STM32F407VGT6] How to erase flash fs?
- Replies: 8
- Views: 4925
Re: [STM32F407VGT6] How to erase flash fs?
There is garbage after flashing.
Also noted that after flashing STM32F4DISC-20190529-v1.11.dfu to STM32F4DISC i got same problems - there is filenames on FS, but content is garbage.
Also noted that after flashing STM32F4DISC-20190529-v1.11.dfu to STM32F4DISC i got same problems - there is filenames on FS, but content is garbage.
- Thu Sep 05, 2019 6:24 pm
- Forum: Other Boards
- Topic: [STM32F407VGT6] How to erase flash fs?
- Replies: 8
- Views: 4925
[STM32F407VGT6] How to erase flash fs?
I compile micropython to DIY MORE STM32-407 board (with STM32F407VGT6 MCU) using STM32F4DISC as starting point. My mpconfigboard.h available at https://pastebin.com/A6J2XcLb Almost all works without problem, but content of flash filesystem is garbage. I can format it from PC and all OK till next fir...
- Thu Sep 05, 2019 12:04 pm
- Forum: Other Boards
- Topic: [STM32F407VGT6] Board HELP!
- Replies: 11
- Views: 8241
Re: [STM32F407VGT6] Board HELP!
You need to build custom FW for this boars, as there is no MICROPY_HW_USB_VBUS_DETECT_PIN (pin_A9)and MICROPY_HW_USB_OTG_ID_PIN (pin_A10)