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?
  • Unable to update firmware on ExpansionBoard 3.1 - Cannot open DFU device

    5
    0 Votes
    5 Posts
    133 Views
    G
    Hmm I don't remember ever having to use elevated privileges to run dfu-util, but I'll add it to the documentation, it could be a solution for some people! Thanks Gijs
  • Firmware update troubles

    2
    0 Votes
    2 Posts
    72 Views
    B
    I am unsure what i did as i could have sworn i did this already, but i tried it again with wiping the filesystem and resetting the config and things seem to be working again.
  • DCHP Server on ETH interface

    1
    0 Votes
    1 Posts
    38 Views
    No one has replied
  • Trying to understand all these firmware versions got OTA updating

    4
    0 Votes
    4 Posts
    120 Views
    G
    r means 'release' where 'rc' stands for 'release candidate'. The 'b' label is used for 'beta' releases not meant for production environments. I recommend to use the latest available 'r' or 'rc' release (whichever is latest), currently that is 1.20.2.r4, when describing any issues, or specifically mention you're running a beta firmware for testing.
  • 0 Votes
    3 Posts
    75 Views
    L
    @Daniel-Near said in Uploading pycom/ulab firmware build thru Pycom Firmware updater gets stuck reading file: You do not need firmware updater only run command something like make flash
  • Code made on V1.18 not working on V.1.20

    5
    0 Votes
    5 Posts
    101 Views
    J
    @Dylan as @Gijs wrote, it’s obvious from the output that the module didn’t connect to the WLAN. What is weird is that even when it works you don’t have the Network found! output. Are you running the same code on both? If the first log comes from a device actually running the code you gave, it means it didn’t find the network. Try logging all networks found to check for a typo of some sort, or loop around scan (with a small sleep) until you find it.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • modem firmware releases notes?

    4
    0 Votes
    4 Posts
    148 Views
    L
    @Gijs the modem manufacturer gives pycom no notes on what they are giving to you? that seems weird. I assumed the stability notes are what the manufacturer told Pycom but thats not even the case - you are saying you have no clue what the changes are but through manual testing yourselves? How is this okay?
  • Keep getting error when calling pycom.bootmgr to update to littleFS

    6
    0 Votes
    6 Posts
    146 Views
    robert-hhR
    @lmerza What do you expect as the result? If you just call pycom.bootmgr(), the actual boot setting are reported.
  • Can I downgrade from littleFS to fatFS?

    10
    0 Votes
    10 Posts
    141 Views
    robert-hhR
    @lmerza After update. If at that moment to he file system is not switched, change the setting and reboot. During reboot the new filesystem will get active. Since switching to the FS which is already set does not change anything, you can just set LittleFS and reboot. Sobthe sequence is: save files, if required update firmware reboot set FS to LittleFS reboot restore the files
  • Trying to understand all these firmware versions got OTA updating

    1
    0 Votes
    1 Posts
    65 Views
    No one has replied
  • Using ESP-IDF on a Lopy/Pygate

    8
    2
    0 Votes
    8 Posts
    168 Views
    rcolisteteR
    For Ubuntu and other Debian-like Linux : $ sudo usermod -a -G dialout <username>
  • LoRaWAN OTA firmware update

    2
    0 Votes
    2 Posts
    78 Views
    G
    To be honest I have never tried the Lorawan OTA firmware update, so I cannot say if it is in working condition. I think the page is mentioning the readme is 'coming soon', but the OTA firmware update looks like it should work, per the documentation page. Let me know if you're able to get it working! Gijs
  • ticks_ms() return big value at startup with custom firmware

    10
    0 Votes
    10 Posts
    295 Views
    K
    @robert-hh said in ticks_ms() return big value at startup with custom firmware: gettimeofday() Which brings me to my other question of do you know why gettimeofday() isn't available in userland?
  • RMT channel used for the RGB LED

    3
    0 Votes
    3 Posts
    76 Views
    G
    Ill get that changed! Thanks, was not aware of this mistake
  • Pycom W01 boot: UART not working

    8
    0 Votes
    8 Posts
    150 Views
    robert-hhR
    @Gijs I know this reference board. But the poster should better tell, what is used and how it is used.
  • 0 Votes
    12 Posts
    145 Views
    robert-hhR
    @Manuel-Ricardo-Alfonso-Sanchez I do not see whther this was discussed already, but which TTN server do you have configured. There were people which had problems because the join accept message from the TTN server arrived too late at the gateway. And you have some TX messages in the server log which have been rejected being too late. so you could try to use other server URLs.
  • LoPy4 BLE GATTS Write only

    2
    0 Votes
    2 Posts
    61 Views
    P
    write only finally done with code: chr2 = srv2.characteristic(uuid=1234,permissions=0x02 | 0x10,properties=0x08 | 0x04, value=11)
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Pycom firmwares with single/double precision and ulab module

    10
    3 Votes
    10 Posts
    363 Views
    J
    @rcolistete this is really great work - I've been tempted to try a ulab port to pycom chips but didn't think I'd have the technical depth. What is your plan to keep updating these? Alternatively are you able to share source code and marked changes (especially micropython v1.12 back port) to allow me to continue doing this custom build with ulab and dp? The reason I ask is that Firmware Release v1.20.2.r2 has some LTE fixes I need so I'm hoping to apply this to the latest firmware

Pycom on Twitter