Upload issue due to 2-line code



  • I can't upload code to my Pycom Fipy anymore because this is the code that is running:

    import pycom
    import machine
    import time
    from network import LTE

    print("ik ga slapen")
    machine.deepsleep(40*1000)

    when i try to upload code i get this reaction
    Uploading project (main folder)...
    Safe booting device... (see settings for more info)
    Safe boot failed, uploading anyway.
    Uploading to /flash...
    Upload failed.: timeout Please reboot your device manually.

    but if i reset manually the device goes immediately in deepsleep as i coded...

    so how can i upload other code to my Pycom?

    kind regards,



  • @frederik-Leys Pull P12 up (connect to 3.3V) and push reset. Then, boot.py and main.py will not be executed.


Log in to reply
 

Pycom on Twitter