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?
  • Firmware update 1.18.2.r2 says success but still shows 1.18.0r0

    lopy
    5
    0 Votes
    5 Posts
    492 Views
    D
    @robert-hh No, I was relying solely on pybytes Web interface.
  • Closing socket - UDP

    1
    0 Votes
    1 Posts
    192 Views
    No one has replied
  • Firmware Over The Air (LPWAN)

    lora
    3
    0 Votes
    3 Posts
    493 Views
    P
    @asb said in Firmware Over The Air (LPWAN): Hi, Im curious about the following: Reading in the things networks forums, there is some interesting material about work regarding firmware updates using LoRa. Let's say for example the things network implements over the air updates via lora in their console. Could existing LoPy's (4) use this feature, or could a manual firmware update from pycom enable this feature or not possible? Thanks Best regards We have user's who have implemented there own firmware OTA using lora in the past. I dont think anything got released for public use however. Ill try and find out what our plans are Re: Lora OTA.
  • New version of Blynk library for MicroPython is released!

    wipy wifi ble fipy lopy
    2
    1
    2 Votes
    2 Posts
    795 Views
    P
    Im not the correct person to answer your BLE queries. but if you let me know what they are Ill get them infront of someone who can and get you answers :) Otherwise. Awesome work :D
  • Getting to OTA DFU

    fipy
    2
    0 Votes
    2 Posts
    370 Views
    J
    You have to go through all steps, the bootloader is not encrypted from the beginning. I am not sure about the error. Did you boot into bootloader mode, if not, that might be your problem.
  • Firmware update over FTP

    lopy
    2
    0 Votes
    2 Posts
    306 Views
    P
    You can specify the Lora region via the Lora() constructor in your code instead. I believe (but will have to confirm) that the drop down setting it only used when dealing with pybytes. I will confirm this however. Example for the EU868 region: lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.EU868)
  • W01 not waking from machine.deepsleep

    gpy
    8
    0 Votes
    8 Posts
    896 Views
    P
    @paul-thornton @ChangedDaily this is now reset. go ahead and re flash the firmware.
  • Where is the source code for 1.18.1.r7?

    wipy
    4
    0 Votes
    4 Posts
    541 Views
    robert-hhR
    @martinnn If you build the firmware from the sources you get the most recent version. These numers are in the file pycom_version.h. At the moment it tells 1.18.2. Revision tags are not added often to the repository. So you see just a few of them.
  • PyBytes Firmware OTA update failed?

    lopy
    3
    0 Votes
    3 Posts
    412 Views
    P
    Hey. Whilst not super convinient as its 50 miles from you. If you can reclaim it and flash https://forum.pycom.io/topic/4185/new-pybytes-firmware-1-18-1-r9-experimental-lte-support manually Is should solve the issue with corrupted / weird data from Lora.
  • 0 Votes
    2 Posts
    521 Views
    P
    Heya, Take a look at our own pybytes: http://pybytes.pycom.io/
  • UART configuration

    fipy
    1
    0 Votes
    1 Posts
    427 Views
    No one has replied
  • Modem firmware download requires login?

    lte-m
    3
    0 Votes
    3 Posts
    513 Views
    R
    @robert-hh Thank you. I missed that update.
  • C SDK

    gpy esp32 wifi
    6
    0 Votes
    6 Posts
    801 Views
    R
    I'm going to let someone who actually works at pycom answer licensing related questions other than pointing you at https://pycom.io/licensing/ . Hey @Paul-Thornton .
  • Lora wan stack Long range communication in Class C

    lora
    2
    0 Votes
    2 Posts
    378 Views
    J
    @nagesh-divatagi please provide more details, including at least the hardware (modules, antennas) and firmware used, the relevant parts of your code on both sides, the distance, whether you’re indoors or outdoors, and what you actually get (logs, stats...).
  • Change CPU Frequency

    esp32 lopy
    14
    1 Votes
    14 Posts
    4k Views
    C
    @robert-hh This is not working well. During make skdconfig.h is replaced by make GENCONFIG (that is using wifi/scan/sdkconfig). The best is to modify that config. However moving the freq from 160 to 80 -> it saves only 7mA ... I expected to be more. So LoPY+shield with Wifi disable is consuming 35mA.
  • socket.settimeout() and SSL

    esp32
    1
    0 Votes
    1 Posts
    368 Views
    No one has replied
  • 0 Votes
    5 Posts
    805 Views
    A
    @robert-hh Hi again, I got it working. I did a silly mistake... Frist I downloaded the firmware from here (LoPy): https://software.pycom.io/downloads/LoPy.html But of course I should have downloaded from here (LoPy4): https://software.pycom.io/downloads/LoPy4.html Sorry for wasting your time, @robert-hh
  • lora.join does not attempt every 15 seconds in background

    lora lopy bug
    12
    0 Votes
    12 Posts
    2k Views
    robert-hhR
    @graham said in lora.join does not attempt every 15 seconds in background: while not lora.has_joined(): pass I would add something like sleep(1) into the loop, giving the background tasks more time.
  • RTC ntp time server not working on static ip

    lopy
    17
    1 Votes
    17 Posts
    7k Views
    robert-hhR
    @shariq Obviously you can set up your own ntp server, if you like, which is called instead of the ntp server pool on the internet. if you get the date & time from a different source, like an external rtc, you can use rtc.init() to set the local date & time.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    45 Views
    No one has replied

Pycom on Twitter