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?
  • Gpy updating firmware with USB UART

    11
    0 Votes
    11 Posts
    590 Views
    P
    @mtulabot Did you manage to upload code with the pymakr extension using this UART-USB interface?
  • Pycom 1.20.2.r2 firmware OTA not updating

    9
    0 Votes
    9 Posts
    160 Views
    D
    @Xykon I had several other units I tried to fix and get online that still wouldn't flash OTA. When I ran your debug commands, it did go thru. >>> import pycom >>> pycom.nvs_set('pybytes_debug', 5) >>> ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x32 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff8020,len:8 load:0x3fff8028,len:2140 ho 0 tail 12 room 4 load:0x4009fa00,len:19760 entry 0x400a05bc ssl_params={'ca_certs': '/flash/cert/pycom-ca.pem'} ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x32 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff8020,len:8 load:0x3fff8028,len:2140 ho 0 tail 12 room 4 load:0x4009fa00,len:19760 entry 0x400a05bc ssl_params={'ca_certs': '/flash/cert/pycom-ca.pem'} LIS2HH12 not imported ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x32 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff8020,len:8 load:0x3fff8028,len:2140 ho 0 tail 12 room 4 load:0x4009fa00,len:19760 entry 0x400a05bc ssl_params={'ca_certs': '/flash/cert/pycom-ca.pem'} LIS2HH12 not imported ssl_params={'ca_certs': '/flash/cert/pycom-ca.pem'} WMAC: 807D3A937CD8 Firmware: 1.20.2.r1 Pybytes: 1.6.0 Attempting to connect with network wifi Initialized watchdog for WiFi and LTE connection with timeout 1260000 ms WLAN connected? False Wifi connection attempt: 1 WLAN connected? False (ssid='AREDN-20-v3', bssid=b'$\xa4<t\xfd#', sec=0, channel=1, rssi=-36) (ssid='DesertIslandSupplyCo', bssid=b"X\x90C'\x9a&", sec=3, channel=11, rssi=-41) (ssid='Ericsson2.4G-2-1', bssid=b'\x00\rgv\xb6\xc9', sec=0, channel=1, rssi=-48) (ssid='AREDN-20-v3', bssid=b'hrQn.\xe0', sec=0, channel=1, rssi=-51) (ssid='ATTqsHdTxi_Ext', bssid=b'\xc4A\x1e^\xe0E', sec=3, channel=11, rssi=-52) (ssid='Red_Mountain_Makers', bssid=b'\xf0\x9f\xc2=!b', sec=3, channel=6, rssi=-56) (ssid='ATTqsHdTxi', bssid=b'\xf8-\xc0dUp', sec=3, channel=11, rssi=-56) (ssid='ATT6SH58Na', bssid=b'\xec\xa9@\xbb\xe8p', sec=3, channel=6, rssi=-59) (ssid='Red_Mountain_Makers', bssid=b'\xa0\x8ex2\x9f\xae', sec=3, channel=6, rssi=-63) (ssid='ATTqsHdTxi_Ext_Ext', bssid=b'\xc4A\x1e^\xe0G', sec=3, channel=11, rssi=-64) (ssid='DesertIslandSupplyCo', bssid=b'hrQ\x84Y\x9e', sec=3, channel=11, rssi=-67) (ssid='DIRECT-3D-HP OfficeJet Pro 7740', bssid=b'B\xb04vj=', sec=3, channel=6, rssi=-74) (ssid='woodrow hall-guest', bssid=b'\xc0\xc1\xc0\xc6@\x86', sec=0, channel=11, rssi=-83) (ssid='OpenEVSE_1678039', bssid=b'^\xcf\x7f\x19\x9a\xd7', sec=3, channel=1, rssi=-84) (ssid='Red_Mountain_Makers', bssid=b'\x00\x1d~\x97\xf8\x96', sec=3, channel=11, rssi=-86) WiFi connection established MQTT Protocol Packet sent. (Length: 118) This is PybytesProtocol.start_MQTT Packet sent. (Length: 44) Connected to MQTT mqtt.pybytes.pycom.io Pybytes connected successfully (using the built-in pybytes library) This is pack_info_message() __pack_message: b'010404a00581000000' MQTT Protocol Packet sent. (Length: 50) Pybytes configuration read from /flash/pybytes_config.json Pycom MicroPython 1.20.2.r1 [v1.11-a5aa0b8] on 2020-09-09; LoPy4 with ESP32 Pybytes Version: 1.6.0 Type "help()" for more information. >>> This is PybytesProtocol.__process_recv_message() This is PybytesLibrary.unpack_message(message=b'\x85') Performing OTA Requesting: manifest.json?current_ver=1.20.2.r1&sysname=LoPy4&wmac=807d3a937cd8&ota_slot=0x210000 to software.pycom.io:443 with SSL? True Wrapping socket Sending request Result: b'HTTP/1.1 200 OK\r\nServer: nginx\r\nDate: Fri, 27 Nov ' Requesting: downloads/appimg/firmware_LoPy4_1.20.2.r2-pybytes.bin to software.pycom.io:443 with SSL? True Wrapping socket Sending request Result: b'HTTP/1.1 200 OK\r\nServer: nginx\r\nDate: Fri, 27 Nov ' Sending OTA result back 2 __pack_message: b'0502' MQTT Protocol Packet sent. (Length: 47) ets Jun 8 2016 00:22:57 rst:0x7 (TG0WDT_SYS_RESET),boot:0x32 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff8020,len:8 load:0x3fff8028,len:2140 ho 0 tail 12 room 4 load:0x4009fa00,len:19760 entry 0x400a05bc ssl_params={'ca_certs': '/flash/cert/pycom-ca.pem'} LIS2HH12 not imported ssl_params={'ca_certs': '/flash/cert/pycom-ca.pem'} WMAC: 807D3A937CD8 Firmware: 1.20.2.r2 Pybytes: 1.6.1 Attempting to connect with network wifi Initialized watchdog for WiFi and LTE connection with timeout 1260000 ms WLAN connected? False Wifi connection attempt: 1 WLAN connected? False (ssid='DesertIslandSupplyCo', bssid=b"X\x90C'\x9a&", sec=3, channel=11, rssi=-40) (ssid='AREDN-20-v3', bssid=b'hrQn.\xe0', sec=0, channel=1, rssi=-46) (ssid='Ericsson2.4G-2-1', bssid=b'\x00\rgv\xb6\xc9', sec=0, channel=1, rssi=-48) (ssid='ATTqsHdTxi_Ext', bssid=b'\xc4A\x1e^\xe0E', sec=3, channel=11, rssi=-52) (ssid='ATT6SH58Na', bssid=b'\xec\xa9@\xbb\xe8p', sec=3, channel=6, rssi=-53) (ssid='Red_Mountain_Makers', bssid=b'\xf0\x9f\xc2=!b', sec=3, channel=6, rssi=-55) (ssid='ATTqsHdTxi', bssid=b'\xf8-\xc0dUp', sec=3, channel=11, rssi=-56) (ssid='Red_Mountain_Makers', bssid=b'\xa0\x8ex2\x9f\xae', sec=3, channel=6, rssi=-60) (ssid='AREDN-20-v3', bssid=b'hrQf\x9e\xf0', sec=0, channel=1, rssi=-62) (ssid='ATTqsHdTxi_Ext_Ext', bssid=b'\xc4A\x1e^\xe0G', sec=3, channel=11, rssi=-64) (ssid='HVP_b82ca091985a', bssid=b'\xb8,\xa0\x91\x98b', sec=5, channel=6, rssi=-65) (ssid='DesertIslandSupplyCo', bssid=b'hrQ\x84Y\x9e', sec=3, channel=11, rssi=-66) (ssid='DIRECT-3D-HP OfficeJet Pro 7740', bssid=b'B\xb04vj=', sec=3, channel=6, rssi=-72) (ssid='OpenEVSE_1678039', bssid=b'^\xcf\x7f\x19\x9a\xd7', sec=3, channel=1, rssi=-84) (ssid='Red_Mountain_Makers', bssid=b'\x00\x1d~\x97\xf8\x96', sec=3, channel=11, rssi=-85) (ssid='ATT-WI-6871', bssid=b'\xb0\xc1\x9e\x14mH', sec=3, channel=6, rssi=-90) WiFi connection established MQTT Protocol Packet sent. (Length: 118) This is PybytesProtocol.start_MQTT Packet sent. (Length: 44) Connected to MQTT mqtt.pybytes.pycom.io Pybytes connected successfully (using the built-in pybytes library) This is pack_info_message() __pack_message: b'010404a00582000000' MQTT Protocol Packet sent. (Length: 50) Pybytes configuration read from /flash/pybytes_config.json Pycom MicroPython 1.20.2.r2 [v1.11-3a7776d] on 2020-11-23; LoPy4 with ESP32 Pybytes Version: 1.6.1 Type "help()" for more information. >>>
  • How to register multiple siPy devices on the sigfox platform.

    3
    1
    0 Votes
    3 Posts
    99 Views
    P
    @Gijs Where can I get the end product certificate for the SiPy device? [image: 1606338833780-certificacion-sigfox.png] [image: 1606338840089-certificado-2.png]
  • Pycom G01 deep sleep current

    8
    0 Votes
    8 Posts
    213 Views
    J
    @peterp After updating the modem to CAT M1 41065 I got deep sleep currents of 20uA! I tried that with a GPy, updating the G01 over uart with a supply voltage of 3.3v for both the ESP and the sequans modem did not work. The GPy is supplied with 5v on the Vin pin, I suspect the problem with the G01 to be the low supply voltage for the sequans modem.
  • Pybytes registration freezing

    1
    1
    0 Votes
    1 Posts
    42 Views
    No one has replied
  • Revert FiPy from NBIoT to CatM

    2
    0 Votes
    2 Posts
    82 Views
    robert-hhR
    @barryjump You can always install the other modem firmware doing a full update.
  • GPY J-Link debugging

    2
    1 Votes
    2 Posts
    85 Views
    L
    I found the solution, I need to set the BTYPE=debug flag when building the firmware.
  • ulab.fft.spectrogram performance drops for 8192 points and beyond

    4
    1 Votes
    4 Posts
    149 Views
    rcolisteteR
    See the topic "Pycom firmwares with single/double precision and ulab module"
  • pycom-fwtool-cli flash command using .tar.gz vs .elf file

    1
    0 Votes
    1 Posts
    70 Views
    No one has replied
  • PyGate Source Code

    4
    0 Votes
    4 Posts
    160 Views
    G
    Its all in the readme of the repo: https://github.com/pycom/pycom-micropython-sigfox/. If you need any further instructions or have anything that is unclear let me know! Gijs
  • PyMesh license

    7
    1 Votes
    7 Posts
    461 Views
    N
    @catalin Do you have any news about the open source license for Pymesh and what it will and will not allow to do?
  • LoPy4 1.20.2.r3

    7
    0 Votes
    7 Posts
    162 Views
    A
    @Gijs Thanks for the very prompt reply. You seem to be very active on the forum, I've been trawling through the forum posts trying to get information on various things and see your handle crop up a lot. I don't like bugging people with a million questions and normally rely on data sheets / technical for my sources of info. Sorry for being grumpy earlier the prompt reply was much appreciated.
  • PyMesh by hands

    2
    0 Votes
    2 Posts
    100 Views
    catalinC
    hi @sylvainm, We have not released Pymesh firmware lately, last one was sent on Jan 2020, so you should use the Pybytes one and configure your Pymesh with the right BR. Next, you could disable pybytes using: pycom.pybytes_on_boot(False)
  • Need help upgrading modem firmware

    2
    0 Votes
    2 Posts
    90 Views
    G
    Hi, We are currently shipping modems with newer firmware than we have available. FIY, your modem is already a CAT-M1 firmware (LR5.xx) so you do not need to update it. If you do wish to update it, do not use the upgdiff files, as the none of the old versions match with what you currently have, you can only do a full upgrade using the CATM1-41064.dup file. Best, Gijs
  • FiPY firmware update

    3
    0 Votes
    3 Posts
    105 Views
    rcolisteteR
    To avoid migration problems from firmware 1.18.x to 1.20.x (with WiFi bugs, etc) : https://forum.pycom.io/topic/5318/flashing-v1-20-r1-bricks-my-lopy4/2 https://forum.pycom.io/topic/5338/no-lopy-4-wifi-after-updating-the-firmware so use the command "pycom-fwtool-cli" (see https://docs.pycom.io/advance/cli/) : https://forum.pycom.io/topic/5338/no-lopy-4-wifi-after-updating-the-firmware/5 $ pycom-fwtool-cli -p /dev/ttyACM0 erase_all Before installing the firmware v1.20.x.
  • Frozen Code, the Docker way

    esp32 other
    2
    0 Votes
    2 Posts
    181 Views
    G
    @Thosch42 I'm working on this https://github.com/buzzware/pycom-docker-firmware-build I can't vouch for it being correct or the output being functional or running on Windows, but it does complete the build on my Mac.
  • Firmware evolutions and support still alive?

    11
    5 Votes
    11 Posts
    307 Views
    D
    @catalin regarding firmware improvements, there's been some discussions on changing the way the lora.nvram_restore() function behaves. Mainly, on making it not delete the lora context immediately upon restore. A more in-detail explanation in this thread with @robert-hh: https://forum.pycom.io/topic/6010/don-t-erase-lora-context-on-nvram_restore?_=1590636018374
  • What is the current Wipy FW (Pycom Upgrade)?

    1
    0 Votes
    1 Posts
    148 Views
    No one has replied
  • W01 OEM Firmware

    6
    0 Votes
    6 Posts
    115 Views
    A
    @robert-hh: Thanks for referencing our firmware builds. @eranroll: Please also recognize the release notes and upgrade instructions at https://community.hiveeyes.org/t/squirrel-firmware-for-pycom-esp32/2960.
  • Atom difficulties

    2
    0 Votes
    2 Posts
    146 Views
    stephen.ugwuanyiS
    I am having the same issue and error messages with Fipy and Gpy. Upload done, resetting board... OKets Jun 8 2016 00:22:57 rst:0x7 (TG0WDT_SYS_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff9028,len:8 load:0x3fff9030,len:1060 load:0x4009fa00,len:0 ho 12 tail 0 room 4 load:0x4009fa00,len:14084 entry 0x400a05d4 Start program? (y/n)

Pycom on Twitter