Nucleo-F411RE file UPLOAD/DOWNLOAD limit ??

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
valoni
Posts: 6
Joined: Wed Aug 26, 2020 9:25 pm

Nucleo-F411RE file UPLOAD/DOWNLOAD limit ??

Post by valoni » Thu Aug 27, 2020 5:54 am

did Nucleo-F411RE have any file UPLOAD/DOWNLOAD limit

because i have latest firmware NUCLEO_F411RE-20191220-v1.12.dfu

and tried some code to upload and i always got message download false4

Image

can someone help me about this code to see how to run it
about memory it show me about 95100 bytes what is enought but why can not upload code that is mystery to me

all this code tried
https://drive.google.com/drive/folders/ ... sp=sharing

bat only FreeMemory.py can upload and run ..

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Nucleo-F411RE file UPLOAD/DOWNLOAD limit ??

Post by jimmo » Thu Sep 03, 2020 5:29 am

The 411RE has 112kiB of space on the internal filesystem.

Has it ever been able to successfully copy the files? i.e. did it suddenly stop working? Have you tried copying the files with a different mechanism (e.g. rshell or pyboard.py).

valoni
Posts: 6
Joined: Wed Aug 26, 2020 9:25 pm

Re: Nucleo-F411RE file UPLOAD/DOWNLOAD limit ??

Post by valoni » Thu Sep 03, 2020 6:03 am

i face this problem on both board Nucleo f411 or Nucleoo F401 (only short file with 3 lines can upload) ,during file upload (with more than 4 line) it give me download false4 always only and before upload i always restart board (to be able also to delete blank uploaded files on board)

seems communication breaks something

User avatar
aivarannamaa
Posts: 171
Joined: Fri Sep 22, 2017 3:19 pm
Location: Estonia
Contact:

Re: Nucleo-F411RE file UPLOAD/DOWNLOAD limit ??

Post by aivarannamaa » Thu Sep 03, 2020 11:30 am

If I remember correctly, then Nucleo boards required explicit "flush" after writing each block while uploading, otherwise there was very long delay before next command could be issued and this may have confused uPyCraft.

I recommend to try freshly published Thonny 3.3.0 beta (https://github.com/thonny/thonny/releases/tag/v3.3.0b2). With it I could upload files to my Nucleo F401RE without problems.

(macOS binaries for Thonny 3.3.0b2 are coming soon)
Aivar Annamaa
https://thonny.org

valoni
Posts: 6
Joined: Wed Aug 26, 2020 9:25 pm

Re: Nucleo-F411RE file UPLOAD/DOWNLOAD limit ??

Post by valoni » Thu Sep 03, 2020 11:44 am

aivarannamaa wrote:
Thu Sep 03, 2020 11:30 am
If I remember correctly, then Nucleo boards required explicit "flush" after writing each block while uploading, otherwise there was very long delay before next command could be issued and this may have confused uPyCraft.

I recommend to try freshly published Thonny 3.3.0 beta (https://github.com/thonny/thonny/releases/tag/v3.3.0b2). With it I could upload files to my Nucleo F401RE without problems.

(macOS binaries for Thonny 3.3.0b2 are coming soon)
please can you provide steps how to use this ide with Nucleo F401
- step by step to upload files on Nucleo with Thonny

User avatar
aivarannamaa
Posts: 171
Joined: Fri Sep 22, 2017 3:19 pm
Location: Estonia
Contact:

Re: Nucleo-F411RE file UPLOAD/DOWNLOAD limit ??

Post by aivarannamaa » Thu Sep 03, 2020 11:57 am

Short:

* Run => Select interpreter => MicroPython (generic) => Select your port
* View => Files
* Right-click on a local file and select "Upload to ..."

Longer story: https://github.com/thonny/thonny/wiki/MicroPython
Aivar Annamaa
https://thonny.org

valoni
Posts: 6
Joined: Wed Aug 26, 2020 9:25 pm

Re: Nucleo-F411RE file UPLOAD/DOWNLOAD limit ??

Post by valoni » Thu Sep 03, 2020 11:59 am

aivarannamaa wrote:
Thu Sep 03, 2020 11:57 am
Short:

* Run => Select interpreter => MicroPython (generic) => Select your port
* View => Files
* Right-click on a local file and select "Upload to ..."

Longer story: https://github.com/thonny/thonny/wiki/MicroPython
just done it

THANX , THANX a lot and this work perfectly just tested

very fast ide and work pretty well
loved this IDE now is my fovourite ones

valoni
Posts: 6
Joined: Wed Aug 26, 2020 9:25 pm

Re: Nucleo-F411RE file UPLOAD/DOWNLOAD limit ??

Post by valoni » Thu Sep 03, 2020 1:28 pm

@jimmo

it also work well and with Thonny Ide 3.2.7
just tested thanx a lot for tips and infomation 8-)

humberto ontiveros
Posts: 3
Joined: Thu Oct 29, 2020 2:35 am

Re: Nucleo-F411RE file UPLOAD/DOWNLOAD limit ??

Post by humberto ontiveros » Fri Nov 06, 2020 4:59 pm

HELLO jimmo, do you know if the stm32 nucleo-L452RE has a filesystem?, i am using a stm32 nucleo-L432KC but this board does not have a filesystem and i need a board wiht filesystem

thanks!!!

Post Reply