pycom / pycom-libraries

MicroPython libraries and examples that work out of the box on Pycom's IoT modules
330 stars 378 forks source link

Wrong documentation #71

Closed darox closed 5 years ago

darox commented 5 years ago

In the documentation to upgrade the firmware, there's a step called: os.mkfs(sd)

this formats the sd card and therefore not true.

After not executing this command, it worked!

danspndl commented 5 years ago

Hi @darox 👋

On which page did you find this issue?

darox commented 5 years ago

@sdaniel55 https://github.com/pycom/pycom-libraries/blob/master/lib/sqnsupgrade/README.md

Sorry forgot to mention, that this formats the sd card, if the files are already on the card. Not everyone, is uploading the files via FTP.

danspndl commented 5 years ago

@darox First step: "Format your SD card as with the FAT file system and then copy the files onto the card using your computer" then mount it. Once you've set up the SD card, you transfer the upgrade files. If you follow the steps in their order, it works fine.

danspndl commented 5 years ago

@darox I've changed the layout and added comments to the code example to avoid confusion

darox commented 5 years ago

Thanks!