Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. esp32
    Log in to post

    • J

      Change CPU Frequency
      Firmware • lopy esp32 • • JuanMa  

      14
      1
      Votes
      14
      Posts
      3480
      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.
    • D

      wlan.scan() errno 12 ENOMEM
      MicroPython • wifi micropython esp32 memoryerror • • dhblumenfeld1989  

      2
      0
      Votes
      2
      Posts
      1209
      Views

      robert-hh

      @dhblumenfeld1989 This cannot be the full script. At least a two lines are missing upfront, like: from network import WLAN wlan = WLAN(mode=WLAN.STA) And as a side note: The flash size you get with uos.getfree() is not relevant for memory errors. These are caused by RAM shortage. The size of free RAM is told by gc.mem_free(). And for all people trying to help it is useful to know the firmware version, which can be obtained by uos.uname().
    • G

      wipy 3.0 esp32 chip id
      WiPy 2&3 • esp32 • • gferrara2016  

      8
      0
      Votes
      8
      Posts
      2196
      Views

      G

      @robert-hh Thanks I already know these aspects!
    • Y

      Flashing with frozen main.py and boot.py
      Firmware • lopy esp32 enhancement • • yahia  

      6
      0
      Votes
      6
      Posts
      2221
      Views

      Y

      @robert-hh Thanks! I tried this and it works great! I tried also the new update with the freezing the _main.py which also solves the problem.
    • M

      Break out of input after interrupt
      Firmware • other esp32 • • mahe  

      6
      1
      Votes
      6
      Posts
      1691
      Views

      M

      @robert-hh Thanks! Yeah I can do some stuff in the handler, but as far as I can understand it is recommended to keep the handler short and effective. In this case I would like to transmit (LoRaWAN), receive some data etc. Anyway - thanks for the help - I'll figure something out. :)
    • T

      Access to all 3 UARTS on ESP32
      Firmware • esp32 • • TravisT  

      11
      0
      Votes
      11
      Posts
      6696
      Views

      jmarcelino

      @colateral There aren't default pins for UART2 as far as know, just choose them at initialisation with pins=(TXD, RXD, RTS, CTS) option.
    • Y

      [SOLVED] Firmware 1.7.8 build failed when flashing firmware on linux.
      Firmware • esp32 • • yahia  

      4
      0
      Votes
      4
      Posts
      2037
      Views

      J

      @yahia another option (if you have WiFi enabled) is just to copy the generated appimg.bin into /flash/sys using FTP.
    • B

      LoPy firmware LoRa region selection
      Firmware • lopy lora esp32 • • bnjroos  

      4
      0
      Votes
      4
      Posts
      2029
      Views

      T

      See the following post on how to manually flash the firmware: https://forum.pycom.io/topic/517/downgrading-firmware-advanced-users
    • J

      [SOLVED] Having issues build firmware from soure
      Firmware • lopy esp32 • • Jonatan_Mc  

      6
      0
      Votes
      6
      Posts
      2522
      Views

      Charly86

      @jmarcelino said in [SOLVED] Having issues build firmware from soure: https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-61-gab8375a-5.2.0.tar.gz once again, @jmarcelino saved my day, thanks
    • E

      ESP32 Revision
      Issues & Bugs • esp32 • • Eric24  

      8
      1
      Votes
      8
      Posts
      4222
      Views

      E

      @jmarcelino Thanks! Good to know (and that only leaves one--brown-out reset, which isn't all that important).
    • J

      How to compile firmware for a particular development board?
      Firmware • wipy esp32 • • jack  

      1
      0
      Votes
      1
      Posts
      979
      Views

      No one has replied

    • D

      Power consumption summary
      Firmware • lopy wipy esp32 • • dwanninger  

      2
      0
      Votes
      2
      Posts
      2067
      Views

      L

      You don't need ulp for pin wakeup. You can do much less than 150ua if you sleep inside ulp program.
    • B

      [SOLVED] WiPy firmware to a standard WROOM-32?
      Firmware • esp32 • • BetterAuto  

      38
      0
      Votes
      38
      Posts
      17071
      Views

      P

      @robert-hh Thanks, You helped me a lot!
    • Innocenzo

      [WiPy 2.0] Pycom-esp-idf example error: undifined reference to 'mp_thread_clean'
      Firmware • wipy bug esp32 • • Innocenzo  

      13
      0
      Votes
      13
      Posts
      3456
      Views

      Innocenzo

      @jmarcelino Because we want preserve the Pycom WiPy firmware ad edit it with some frozen files and custom API C (like SSL and BT that have some problems).
    • A

      [Wipy 2.0] Error when building firmware bootloader
      Firmware • wipy esp32 • • Arkaik  

      4
      0
      Votes
      4
      Posts
      1893
      Views

      A

      @robert-hh Hi, thank you for the answer, I think I missed something during the procedure because I tried again from scratch and it works perfectly. I think I forgot an environment variable as you propose.
    • I

      Pycom git repository mix-up?
      Discussion • firmware wipy2.0 esp32 • • Immondizia  

      2
      1
      Votes
      2
      Posts
      1088
      Views

      jmarcelino

      @Immondizia The current repo is pycom-micropython-sigfox for all 3 boards
    • E

      Accuracy of RTC
      Firmware • esp32 • • Eric24  

      18
      0
      Votes
      18
      Posts
      6148
      Views

      robert-hh

      @Colateral I used the same circuitry (10 pF capacitors) and a crystal with 12.5 pF load capacitance. The model is called MS1V-T1K from Micro Crystal Switzerland. It was the one easy to get from a local store. The 12.5 pF load capacitor would lead to ~22pF C1 C2 capacitors. Since I have a set-up with the LOPY4 development board + a carrier board +..., there is already a lot of unknown stray capacitance. Therefore the 10 pF work. I did however not run a test over a day yet to see the clock drift. I just measured the frequency of the crystal while running. But I can do this time drift test in the next days.
    • K

      C framework for LoPy
      Enhancements • lorawan esp32 c framework • • karolalexander  

      7
      0
      Votes
      7
      Posts
      4273
      Views

      jmarcelino

      @karolalexander Have a look at the code for Lua ESP32 + LoRaWAN (Whitecat project). Should run on the LoPy and might be more to your liking: https://github.com/whitecatboard/Lua-RTOS-ESP32 In particular they ported the LMIC library for LoRaWAN which is older and less featured than Semtech's but simpler to understand (no HALs) so you might be able to borrow some of the code from there.
    • R

      Failure Building Firmware 1.6.9.b1- Error 126 executing make -flash
      Firmware • lopy esp32 • • rdixey  

      9
      0
      Votes
      9
      Posts
      2914
      Views

      robert-hh

      @Colateral Did you build mpy-cross? It is the Python byte code compiler needed in the build process. to do that, do to micopython/mpy-cross and issue: make mpy-cross then got back to microypthon/esp32 and retry the build. If it fails at the step, when loading into the device, the access rights for the port may be wrong. You can then either run under sudo, or put your account into the dialout group with: sudo addgroup <yourname> dialout
    • 1
    • 2
    • 2 / 2