How to make a persistent FS on the Nucleo F767ZI board ?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
uc69
Posts: 4
Joined: Sat Oct 07, 2017 9:26 am

How to make a persistent FS on the Nucleo F767ZI board ?

Post by uc69 » Sat Oct 07, 2017 9:36 am

Hello,

Quite new to uPython - I successfully installed it on a Nucleo F767ZI board.
How could I get some persistent file system on the Nucleo F767ZI board ?
When this board is plugged in the PC, there is a 'NODE_F767ZI' drive that appears (with 2 files: mbed.html & details.txt)
How can I access it via uPython ? It seems it is not persistent, is there a way to make it persitent ?
Thanks.
J.

shaoziyang
Posts: 252
Joined: Sun Apr 17, 2016 1:55 pm

Re: How to make a persistent FS on the Nucleo F767ZI board ?

Post by shaoziyang » Sat Oct 07, 2017 3:29 pm

uc69 wrote:Hello,

Quite new to uPython - I successfully installed it on a Nucleo F767ZI board.
How could I get some persistent file system on the Nucleo F767ZI board ?
When this board is plugged in the PC, there is a 'NODE_F767ZI' drive that appears (with 2 files: mbed.html & details.txt)
How can I access it via uPython ? It seems it is not persistent, is there a way to make it persitent ?
Thanks.
J.
if you plug in ST-Link usb port, you will get mbed disk, when you plug in F767's USB, you will get PYBFlash.

chrismas9
Posts: 101
Joined: Wed Jun 25, 2014 10:07 am

Re: How to make a persistent FS on the Nucleo F767ZI board ?

Post by chrismas9 » Sat Oct 07, 2017 9:51 pm

On most ST boards you have to power them from the debug port so you will probably need 2 USB cables. You can use a phone charger for the debug port unless you want to reflash with ST-LINK.

uc69
Posts: 4
Joined: Sat Oct 07, 2017 9:26 am

Re: How to make a persistent FS on the Nucleo F767ZI board ?

Post by uc69 » Sun Oct 08, 2017 2:07 pm

Thanks a lot ! I feel stupid, I tried both port but not the 2 at the same time...
Can the NODE_ F767ZI "partition" be accessed thru Micropython ? How ? Or can it be disabled and/or replaced by more flash/memory space ?
J.

User avatar
dhylands
Posts: 3181
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: How to make a persistent FS on the Nucleo F767ZI board ?

Post by dhylands » Mon Oct 09, 2017 4:12 am

Looking at the schematics, if you run a jumper from PA9 (CN12 piin 21) to U5V (CN12 pin 8) then you should be able to power the board using just the USB connector going to the microcontroller (i.e. CN13 aka USER USB)

I'm not aware of a way for MicroPython to access the NODE_f767ZI partition. That's only accessible from the STM32F103 processor on the ST-Link portion of the board.

Post Reply