Subcategories

  • FTP ok with 1.18.1.r1 not 1.20.2.r1

    6
    0 Votes
    6 Posts
    40 Views
    G
    This is a terminal client I got with MacOS (installed via homebrew, inetutils)
  • W01 specsheet wrong

    bugs
    3
    0 Votes
    3 Posts
    385 Views
    G
    Thanks for the heads-up, Im poking our team now to get it fixed! Should be on there soon Gijs
  • Guru Meditation 1.20.2.r1 using W01 on wifi

    2
    0 Votes
    2 Posts
    33 Views
    G
    Concerning the first coredump (Assuming you are running the 1.20.2.r1 Wipy firmware): _DoubleExceptionVector /Users/ehlers/pycom/pycom-esp-idf/components/freertos/xtensa_vectors.S:543 ?? ??:0 m_malloc_maybe /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/malloc.c:100 mp_obj_exception_add_traceback /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objexcept.c:503 mp_execute_bytecode /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/vm.c:1409 fun_bc_call /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objfun.c:287 mp_call_function_n_kw /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624 mp_call_method_n_kw /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:640 mp_execute_bytecode /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/vm.c:1002 fun_bc_call /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objfun.c:287 mp_call_function_n_kw /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624 mp_call_method_self_n_kw /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objboundmeth.c:70 bound_meth_call /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objboundmeth.c:83 mp_call_function_n_kw /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624 thread_entry /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/modthread.c:187 freertos_entry /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/mpthreadport.c:140 This seems to be related to some sort of memory issue (perhaps udp has a memory leak..), can you use the following to check the memory available? import gc import micropython import pycom def memory(): machine.info() print("GC free=", gc.mem_free(), "alloc=", gc.mem_alloc(), "total=", gc.mem_alloc() + gc.mem_free()) # micropython.mem_info() print("mp stack", micropython.stack_use()) print("heap internal", pycom.get_free_heap()[0]) print("heap external", pycom.get_free_heap()[1]) Next, the second coredump, I cannot really make sense of the cause here.. Could be memory related, could be power related.. mp_execute_bytecode /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/vm.c:1338 mp_hal_delay_ms /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/hal/esp32_mphal.c:218 select_select /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../extmod/moduselect.c:176 fun_builtin_var_call /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objfun.c:127 mp_call_function_n_kw /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624 mp_execute_bytecode /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/vm.c:919 fun_bc_call /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objfun.c:287 mp_call_function_n_kw /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624 mp_call_method_self_n_kw /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objboundmeth.c:70 bound_meth_call /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/objboundmeth.c:83 mp_call_function_n_kw /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/runtime.c:624 thread_entry /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/../py/modthread.c:187 freertos_entry /var/jenkins_home/workspace/micropython-sigfox_Release_v1.20/esp32/mpthreadport.c:140
  • could not read adc minimum voltage in G01 pycom

    7
    0 Votes
    7 Posts
    40 Views
    K
    @ArulAfy The ADC is roughly linear from 0v4 to 2v2 so it is usable for 4-20mA current loop with a 100 ohm sense resistor, with judicious use of scale & offset corrections you can even achieve 10 bit performance. For voltages <0v4 I've had fair results from using a weak pullup to drag the input into the linear range but the arithmetic for scaling & offset gets ugly. Still easier than trying to get I2C to work with an ADS1115 IMHO, depends on your skill set I guess.
  • External sd card issues

    3
    0 Votes
    3 Posts
    42 Views
    A
    Hi Gijs, it's working. the reason is when use new sdcard first time, format the sdcard for FAT32 file system
  • Issue with I2C... or is it me?

    6
    1
    0 Votes
    6 Posts
    376 Views
    robert-hhR
    @CoachAllen It's just an display issue. The lowest bit is the R/W bit, and the address is in bits 1..7. You can configure the Logic software to ignore the R/W bit. Then it will show 0x20 as address.
  • 1 Votes
    24 Posts
    866 Views
    S
    @jand I have this same issue as well. Did you ever get anywhere?
  • Lopy 4 and Pygate not working

    3
    0 Votes
    3 Posts
    51 Views
    J
    @NickRT I understand the LoPy4’s LoRa interferes with the Pygate’s Ethernet interface (they share pins), and there seems to be a bit of confusion in the firmware when it comes to that combination. It’s probably better to use a WiPy or other device without LoRa on board if you are going to use a Pygate. Otherwise, make sure you don’t use the on-board LoRa (including disabling PyBytes startup on boot). As soon as you try using it with the Pygate version of the firmware it will crash.
  • Pycom Board Periodically Restarts

    18
    0 Votes
    18 Posts
    181 Views
    G
    Sorry if I was unclear. Pybytes will try to establish a WiFi connection to the network listed in the configuration file. Meaning that if you are connected to the network listed in the config file, it will keep the connection, but if the network is different, you will get disconnected and it will search for the network in the file. You could indeed edit the configuration to reflect the currently available network credentials by setting the key/value: pybytes.set_config(key, value, permanent=True), with the correct keys and values. You could probably figure the correct keys and values from the file itself :) Edit: I reviewed the code again as I was not completely sure, and it seems that we do in fact first check if there is a connection to WiFi, by wlan.isconnected() and if it is there, we do nothing. If its not there, we scan the WiFi networks and choose one from the configuration if available. Im not sure what would be the most efficient way to detect if the WiFi gets disconnected, other than checking wlan.isconnected()
  • pysense 2.0.x link redirect to play store

    2
    0 Votes
    2 Posts
    16 Views
    G
    Hi, That should not happen and I cannot reproduce the issue, could you let me know if it still occurs if you clear the website cache in your browser? Gijs
  • initializing LoRa with region gives core dump

    26
    0 Votes
    26 Posts
    121 Views
    G
    Hi, Yes, that's what pycom says all over the manuals. So why am I getting the core dump when the command is issued? Because we did not make a nice exception for it (yet), thats all, The PyGate is firmware is still a 'release candidate', but in the next stable version, I assume this will be fixed. Gijs
  • Unable to download from device in atom

    2
    0 Votes
    2 Posts
    24 Views
    G
    Hi, I can indeed reproduce the issue on Pymakr 2.1.6 with Atom 1.52, thanks for noticing, I will let the developers know! Gijs
  • program doesn't dumps in G01 module

    13
    0 Votes
    13 Posts
    35 Views
    G
    The issue was fixed by a firmware update to 1.20.2.r1 -Gijs
  • WiPy 3.0 BLE server handler take 2 positional arguments

    4
    0 Votes
    4 Posts
    34 Views
    J
    @RuCilo said in WiPy 3.0 BLE server handler take 2 positional arguments: This software needs to be updated. Contact the developer for more information. Right-click on the Updater, then Open. In the alert, click Open. This is just because it's not signed, and only the first time after downloading it.
  • Bluetooth BLE problem with services

    2
    0 Votes
    2 Posts
    45 Views
    K
    I solved the issue. I updated with the software Pycom Upgrade and I erased the NVS and CONFIG partitions.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • 0 Votes
    8 Posts
    106 Views
    S
    @SciWax said in Very occasional hard freeze from Guru Meditation Error (StoreProhibited) on HTTP GET over LTE with Gpy: @knaris said in Very occasional hard freeze from Guru Meditation Error (StoreProhibited) on HTTP GET over LTE with Gpy: That is exactly the kind of information i was hoping to get. Many thanks to both of you! I will try switching to 41065 and see if that solves it. Did it solve your issues? I'm doing pretty much the same as you. Collecting a measurement string via UART and then using urequests to send the data to my server. The modem doesnt seem to be stable though. Today, I've downgraded my modem firmware to 41065 and I'm using GPy-1.20.2.rc6-0.10.1-vanilla-squirrel at the moment for the GPy. This combination also doesn't seem to be stable for me at the moment. Okay, the combination runs nearly for one day stable now, sending data every minute. I had to include some more exceptions. I hope it stays this way.
  • pbuf_free crash cause?

    7
    0 Votes
    7 Posts
    53 Views
    robert-hhR
    @troy-salt said in pbuf_free crash cause?: would using frozen modules help No. Frozen modules give more space in the Python heap, but your error seems to happen in the RTOS memory section.
  • Code error in BLE documentation

    2
    0 Votes
    2 Posts
    28 Views
    meshnerdM
    Just wanted to report back and say that I was using an old firmware so this is not a bug in the documentation but a bug in my brain. You can ignore/delete this.
  • Gpy / Fipy OTA issues

    2
    0 Votes
    2 Posts
    42 Views
    S
    I'm pretty sure I know what's wrong because i had the same issue while trying it out for the first time just now. your boot file should be in 1.0.4/flash/boot.py not in 1.0.4/boot.py => flash directory is missing. I found this out by checking where exactly the error was raised, and it turned out to be in 'fp = open(dest_path, 'wb')'. I guess You can't write directly into '/'

Pycom on Twitter