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?
  • LoRa Mesh security and addressing

    16
    0 Votes
    16 Posts
    871 Views
    R
    @catalin Thanks for the heads-up. I really would like to get my hands on the new release just to build my application.
  • FiPy modem firmware update through Python3 and PySerial

    2
    0 Votes
    2 Posts
    188 Views
    R
    I bought my way out of it. SD-card for the fipy. The problem must have been in the communication between PySerial and pycom, as the AT wakeup worked without any problem with the firmware locally on SD mounted on the pycom.
  • Can't update Pytrack - unrecognized by Windows

    2
    1
    0 Votes
    2 Posts
    153 Views
    A
    Solved Was able to use the Command Prompt to install the DFU properly.
  • RTC Clock - Unexpected Time Changes

    gpy
    1
    0 Votes
    1 Posts
    224 Views
    No one has replied
  • Lopy4 I2C trouble [OSError: I2C bus error]

    bug lopy
    9
    0 Votes
    9 Posts
    2k Views
    P
    @Eric73 Thank you. It helped me
  • Over the air (OTA) firmware update (LoPy4)

    lopy
    13
    0 Votes
    13 Posts
    2k Views
    S
    Has anyone runs the ota service without errors? My ota service ran into an error at rename files from boot.py to boot.py.new But why??
  • problems with I2C (OSError: I2C bus error)

    wipy
    6
    0 Votes
    6 Posts
    2k Views
    Q
    I'm testing this code with the correct frequency but i had probleme call "OSError: I2C bus error" in initialisation. i use the sipy on the P9 and P10 and i didn't use int out it's on this lines print("initialize") whoami = self.i2c.readfrom_mem(self.addr, _MAG3110_WHO_AM_I, 1) print(binascii.hexlify(whoami))
  • Lopy4 Self flash appimg.bin

    7
    0 Votes
    7 Posts
    339 Views
    R
    @robert-hh Regarding P2 will do more tests with my board in order to check whats going on. Ps. Thanks for your great support helping me and helping others, you are the forum angel ;)
  • Expansion board 3.1 stuck in bootloader mode

    2
    2
    1 Votes
    2 Posts
    270 Views
    P
    You dont seem to be the only one with this problem. Here is a related thread: https://forum.pycom.io/topic/4684/exit-from-dfu-mode/15 But it's interesting to see that the problem is systematic ... I hopy pycom comes forward with a solution.
  • Flash Wipy with esp32 C/C++

    6
    0 Votes
    6 Posts
    448 Views
    T
    @jenaflynn You could have a look at here: https://forum.pycom.io/topic/3134/using-pycom-boards-with-arduino-ide
  • 0 Votes
    1 Posts
    156 Views
    No one has replied
  • BLE Security

    ble
    2
    0 Votes
    2 Posts
    297 Views
    M
    Any update or information about this topic?
  • SD Card Compatibility and Benchmarks

    1
    2 Votes
    1 Posts
    195 Views
    No one has replied
  • Efficient firmware & app update

    1
    0 Votes
    1 Posts
    231 Views
    No one has replied
  • BLE mobile application to use with pymesh

    3
    0 Votes
    3 Posts
    272 Views
    R
    @catalin Thanks... I really like to get your demo code running and make a mesh demonstrator. Have played with the lora mesh example, but like to have a more full-fledged demo that I can show using a mobile (ios) device, without connecting to the USB port of the different nodes with my mac. Keep up the good work, really like your modules and the mesh capabilities Rudi
  • LTE_WAKE / GPIO27 Pin Behaviour

    gpy fipy
    3
    0 Votes
    3 Posts
    732 Views
    A
    Hi, ( @cschloss , @panda ) I think the furthest we can get with the available documentation is using the '+CNMI' command. Unfortunately, it enables an unsolicited result code that we cannot truly listen with the current LTE implementation. Also, a 'hack' using raw UART is not very useful, as the UART interrupt is not implemented... We end up in a pooling loop, just like we would do with lte.send_at_cmd('AT+CMGL="ALL"'). If you would like to see the '+CNMI' feature working, here's a small poc: import machine import utime from machine import UART from network import LTE lte = LTE() # instantiate the LTE object lte.send_at_cmd('AT+CGDCONT=1,"IP","hologram"') # change this to something that works for you lte.attach() # attach the cellular modem to a base station while not lte.isattached(): print('Attaching...') utime.sleep(0.25) print('LTE attached') # configure SMS New Message Indication # Full message (+CMT): lte.send_at_cmd('AT+CNMI=2,2,0,0,0') # OR just notification with memory location (+CMTI): # lte.send_at_cmd('AT+CNMI=2,1,0,0,0') # 'Force' text mode lte.send_at_cmd('AT+CMGF=1') # 'hijack' the modem UART. # The following pins are for FiPy. On GPy you should change to ('P5', 'P98', 'P7', 'P99') uart = UART(1, baudrate=921600, pins=('P20', 'P18', 'P19', 'P17')) print('Waiting for unsolicited result codes...') # Now just send some SMSs and check the output while True: # Ugly, but UART interrupt handler is not an option... if uart.any(): print(uart.read()) utime.sleep(1) Unfortunately, we cannot go very far without access to the modem datasheet and learn how the interrupt behaves under different configurations and usage scenarios. Probably it's something that can only be enabled in the modem's firmware. Sincerely I'm a bit disappointed with Pycom's LTE software stack that is lacking behind its highly capable hardware.
  • BLE MTU size

    ble lopy enhancement
    4
    0 Votes
    4 Posts
    615 Views
    M
    I have the same opinion as @jcaron . MTU size is something that has to be configurable. We should be able to set MTU size of Pycom. Changing is not going to break anything in case of good implementation (I've already tried it with Pycom). @Emmanuel-Florent the reason I've started this topic is that I've experience with ESP32-DevKitC and BLE MTU size changing, on that size everything worked fine, so I'm just requesting the same functionality on Pycom if possible.
  • SPI bug?

    lopy bug
    11
    2
    0 Votes
    11 Posts
    2k Views
    N
    Is there a fix to this? Im running the latest 1.18.2.r2 and im having this exact issue only the write_readinto() work around doesnt seem to work.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    24 Views
    No one has replied
  • 1.18.1.r7 -> 1.18.2

    gpy
    2
    0 Votes
    2 Posts
    411 Views
    P
    Same problem with the latest 1.18.2.r2. An SPI device that normally worked with 1.18.1.r7 does not work after 1.18.2.

Pycom on Twitter