FiPy connects COM forever and

  • Hello every one,

    A week ago I've started to work with my FiPy module with Extension Board 2.0 and this is also my first time with ESP32.
    During this week everythink was fine. I've been making tutorials one by one form

    Just yesterday I've faces with frist problem with "Not safe booting, disabled in settings", I've stack for a moment i couldn't upload any code to my FiPy but I was able to fix this problem without doing nothing actually :)

    Just today i faced with another problem. In both IDEs Atom and VS Code I have the same problem. Its stack during connecting - result :
    Connecting port COM5... and I can't reach arrows >>>
    What is interesting I'm able to upload code to FiPy from project using "Upload" button. Here is the resoult :

    Connecting on COM5...

    Uploading project (main folder)...
    Not safe booting, disabled in settings

    Reading file status
    [1/1] Writing file
    Upload done, resetting board...
    OKets Jun 8 2016 00:22:57

    rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    mode:DIO, clock div:1
    entry 0x400a059c
    Pybytes library: v0.9.0
    Traceback (most recent call last):
    File "", line 9
    SyntaxError: invalid syntax
    Pycom MicroPython 1.18.0.r1 [v1.8.6-849-9569a73] on 2018-07-20; FiPy with ESP32
    Type "help()" for more information.

    Code has been load to board beacuse I can see blinking RGB diode with diferent colours (just for testing)
    And there I can see the arrows at the bottom but I can write any commends here.

    Information bout firmwere versions, IDE etc:
    I have two FiPys module with extension bords 2.0
    FiPys firmware version1.18.0.r1
    Visual Studio version 1.25.1
    Atom version: 1.29.0
    Pymakrs version 1.0.1
    Jumpers : RTS and CTS are removed, rest of them is on its place
    Windows 10 64bit


    During wrting this I've reach arrows >>> at terminal for the moment but it was temporary :(

    I will be very glad for help

  • @szyba91 P12 can be pulled up directly. But using a resistor is also OK. 4.7K is a good choice.
    CTRL-F is to be pushed in the Terminal window, where you expect the REPL prompt. it will be caught the the serial interrupt handler.

  • @egimbernat Right! Thanks - actually the currernt situation is in the "Exp Board 2.0 serial communication problem" in extension board tag. And it seams that it is not realted to code bugs :/

  • @robert-hh P12 schould be pulled to Vcc by resistor right ? Crrl-f should be pushed insted of "upload" ? (sorry for silly questions)

  • @szyba91 You could try a safe boot, either by pushing Ctrl-f of booting with p12 pulled high.

  • @szyba91 at first glance, your code is causing an error, this could lead to REPL power off, since technically your code is crashing.

    Traceback (most recent call last):
    File "", line 9
    SyntaxError: invalid syntax

    You may also check for any other source that is using that port (COM5), for example many Atom windows and Pycom updater.

Pycom on Twitter