Atom und Pymakr Zugriff auch die REPL während Programm läuft

Für unsere BOB/Hiverize-Micropython firmware verwende ich aktuell die Kombination aus Atom IDE und Pymakr-Plugin. Wenn das Board “keinen” code (bzw. nur den defailt-code) hat, kann ich neuen code problemlos hochladen. Wenn aber ein Programm auf dem FiPy läuft, das “nie fertig” ist, weil es, wie unsere Mess-Software, immer in einer Schleife läuft, kann man neuen oder geänderten code nicht mehr hochladen. Dann hilft der Abschnitt:

https://docs.pycom.io/gettingstarted/troubleshooting-guide.html#atom

Cannot connect to Pycom board via REPL

In the case of a board that has already has code uploaded to it and is running a loop/non-exiting script, the board may not boot into a REPL.

Solution: If the board is currently running code, you will need to exit the current script before proceeding:

  1. Ensure your board is connected to your computer
  2. Press the reset button on the device
  3. Press ctrl-c on within the Pymakr console to exit the current script/program

The REPL should then appear with the >>> prompt and you will be able to run/sync your code.