Subcategories

  • General firmware discussion

    154 Topics
    685 Posts
    A
    The Pass to IP Layer .... string is generated into lwip library. I've added that string into the ethernet.c file that is part of the lwip library. I've built the wifi/scan project and then substituted the lwip.a file into the pycom-micropython project. The code used to generate that strings is something like this LWIP_DEBUGF(ETHARP_DEBUG, ("Pass to IP Layer \n")); Of course i've changed the ETHARP_DEBUG value from LWIP_DBG_OFF to LWIP_DBG_ON into lwipopts.h header file in order to enable the ETHARP DEBUG. The TCP - _send_receive ... string is generated at level application. I'm using a TCP Modbus external python library. I've added the following code into the library print('TCP - _send_receive - Receive %s' % response) The application (and the modbus tcp library of course) is frozen into the final build and then uploaded through pycom firmware update tool. TCP Modbus messages are managed from a manager that runs as a python thread. The log output is got from USB interface.
  • Firmware wishlist & desired features

    52 Topics
    236 Posts
    J
    @Gijs I think it's a concern of many users that Pycom is spreading resources thin by working on too many new products which never see the light of day while not following up enough on the existing products. Let's just consider this list of Pycom vapourware: PyGo 1/2 + PyLife : first announced 25/09/2018 (soon to be 3 years ago). PyNode range: announced 25/06/2020 PyNode Touch: announced 06/07/2020 Expansion board V4: announced 14/10/2020 M.2 format boards: announced 17/11/2020 ESP32-S3-based boards: announced 01/02/2021 PyNode+ range: announced 08/02/2021 I know time-to-market can be essential in this industry but this is getting a bit out of hand...
  • Anything related to firmware issues & bugs

    267 Topics
    2k Posts
    G
    I am having the same problem. Is there a solution?
  • LOPY - No more REPL by USB after upgrade

    lopy
    12
    0 Votes
    12 Posts
    3k Views
    C
    @keithmarsh said in LOPY - No more REPL by USB after upgrade: @robert-hh No, but I'm happy to press on with 9. It's my first few days with the WiPy, and I'm eager to have some fun, so happy to wait. Shorting the pins on a PySense is also a bit of a pain - I don't have an Expansion Board 2.0 (yet). The firmware is still under development. The firmware of the PyTrack has two leading zeros. There will be a lot of usefull updates. I suggest to solder a switch on The LoPy dev board. Invest 5 minutes and your life will be much nicer. I have to do this for the PyTrack as well. It is no fund to close every time the offical case, when the case has neither a suitable cable management nor matching fix point for the sensor boards.
  • [SOLVED] WiPy 3.0 firmware

    wipy
    3
    0 Votes
    3 Posts
    1k Views
    dominikD
    @danielm That was it. Thanks a ton! <3
  • Flashing with frozen main.py and boot.py

    esp32 lopy enhancement
    6
    0 Votes
    6 Posts
    2k Views
    Y
    @robert-hh Thanks! I tried this and it works great! I tried also the new update with the freezing the _main.py which also solves the problem.
  • Windows 10: Cannot connect via WiFi

    lopy
    5
    1
    0 Votes
    5 Posts
    1k Views
    K
    Anyone have a similar issue? Any input will be appreciated. Bar changing my operating system...I've followed every potential fix on the forum but I am still experiencing this issue. Could this be a Windows 10 problem?
  • Access to all 3 UARTS on ESP32

    esp32
    11
    0 Votes
    11 Posts
    7k Views
    J
    @colateral There aren't default pins for UART2 as far as know, just choose them at initialisation with pins=(TXD, RXD, RTS, CTS) option.
  • [SOLVED] Having issues build firmware from soure

    lopy esp32
    6
    0 Votes
    6 Posts
    3k Views
    Charly86C
    @jmarcelino said in [SOLVED] Having issues build firmware from soure: https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-61-gab8375a-5.2.0.tar.gz once again, @jmarcelino saved my day, thanks
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    19 Views
    No one has replied
  • Break out of input after interrupt

    esp32 other
    6
    1 Votes
    6 Posts
    2k Views
    M
    @robert-hh Thanks! Yeah I can do some stuff in the handler, but as far as I can understand it is recommended to keep the handler short and effective. In this case I would like to transmit (LoRaWAN), receive some data etc. Anyway - thanks for the help - I'll figure something out. :)
  • 0 Votes
    2 Posts
    951 Views
    E
    Note: This error continues to happen at various intervals. The error logs are similar, but never identical.
  • Critical: L01 update to 1.8.0.b1 shrink the memory to same size as LoPY

    lopy
    1
    0 Votes
    1 Posts
    751 Views
    No one has replied
  • Firmware download link

    wipy lopy
    3
    0 Votes
    3 Posts
    2k Views
    E
    Thanks jmarcelino, 1.7.4.b1 works.
  • Serial connection not working

    wipy
    8
    0 Votes
    8 Posts
    2k Views
    robert-hhR
    @PeteD Yes, that's a wipy1. By default, REPL is not enabled on boot. You have to enable it in boot.py, by: from machine import UART import os uart = UART(0, 115200) os.dupterm(uart) See also here: http://docs.micropython.org/en/latest/wipy/
  • Instructions for upgrading Pytrack / LoPy

    lopy
    25
    0 Votes
    25 Posts
    9k Views
    H
    @cinezaster @jcaron thanks guys, I'll try that!
  • 0 Votes
    3 Posts
    1k Views
    D
    Yes it is. The "trick" for me was to uncheck the High Speed transfer option when selecting the COM port. Once I did that it connected right away. For the jumper I used a terminal block lead (terminal blocks on each end) from an arduino kit connected to the little solder spikes on the Wipy 2 board. The update took 1- 2 minutes although I didn't time it.
  • [SOLVED] Firmware 1.7.8 build failed when flashing firmware on linux.

    esp32
    4
    0 Votes
    4 Posts
    2k Views
    J
    @yahia another option (if you have WiFi enabled) is just to copy the generated appimg.bin into /flash/sys using FTP.
  • 1 Votes
    2 Posts
    731 Views
    P
    @olivierd Wow, this tip saved a lot of time. The problem still persists in the updater tool as of today.
  • [SOLVED] Can't flash firmware

    wipy
    4
    0 Votes
    4 Posts
    1k Views
    J
    @tinjaw Thank you. The original WiPy (version 1) is not supported by the Pycom updater, the updater is only for the newer ESP32 based board (WiPy 2, LoPy, SiPy..) For the original WiPy you can download updates from the MicroPython site: http://micropython.org/download#wipy and install via FTP as described.
  • I2C repeated start

    bug
    3
    0 Votes
    3 Posts
    1k Views
    D
    @daniel Yes, I used readfrom_mem() and writeto_mem(). Thanks a lot for your solution proposal, this approach works for me well :)
  • How to pyTrack and pySense firmware upgrade in Windows

    other enhancement
    4
    1
    0 Votes
    4 Posts
    3k Views
    C
    This is the correct procedure. It works 100%. I really appreciate your quick and accurate response. THANKS !!!
  • Syncing files over serial

    lopy other
    3
    0 Votes
    3 Posts
    2k Views
    D
    @jubbs I see. With that information, it shouldn't be too hard to write a "directory sync" script :)

Pycom on Twitter