Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Running your program without CTRL-D from REPL

    Scheduled Pinned Locked Moved SiPy
    repl
    1 Posts 1 Posters 914 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pmulvey
      last edited by

      Is it possible from the REPL to run one python program that you are debugging without doing the soft reset. I am trying to run the SD demo program (SD_01.py) and while it works putting in one line at the time at the REPL it will not work from a soft reset. After the soft reset the demo program does start as I have a print statement in it but the process of connecting to the WiFi in STA mode seems to go on a bit with the connecting process sending back info even after I have started the SD_01.py program. If I could avoid doing a soft reset each time I want to run SD_01.py it would be great.

      Booted in STA mode
      WiFi setup...
      In SD_01...
      I (12159867) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:6
      I (12159867) wifi: state: init -> auth (b0)
      I (12159869) wifi: state: auth -> assoc (0)
      I (12159873) wifi: state: assoc -> run (10)
      I (12159905) wifi: connected with PBM, channel 1
      I (12169873) wifi: pm start, type:0
      
      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post

      Pycom on Twitter

      Pycom