[SOLVED] WiPy firmware to a standard WROOM-32?
-
@crankshaft I'm the one who marked my own thread solved because except for the pinouts still needing to be modified, I can boot successfully on an ESP-WROOM-32 from Espressif. Both the individual module and on the Espressif breakout board. I had to modify the flasher program as stated above but that's what I needed to do. I didn't get the error you're getting, so I marked it as solved.
Sorry that I don't know the answer to your question, but perhaps someone else does. Perhaps try exactly the same modules I tried?
https://smile.amazon.com/gp/product/B01MU8LL47/ref=oh_aui_detailpage_o07_s00?ie=UTF8&psc=1
https://smile.amazon.com/gp/product/B01N0SB08Q/ref=oh_aui_detailpage_o05_s00?ie=UTF8&psc=1
-
Hi;
This thread is marked as solved, but there does not appear to be a solution ?
I have flashed the firmware to an esp32-wroom, however I get the RTCWDT_RTC_RESET reboot.
I have seen this before with the micropython port and the cause was related to the flash size, type and speed which is now included in the application (wipy) binary file.
If there is a solution, would someone mind sharing it as the esp-32 port looks like it is constrained by lack of resources and is moving extremely slowly.
Many Thanks
-
@BetterAuto
https://github.com/pycom/pycom-micropython-sigfox/blob/master/esp32/boards/make-pins.py
and @jmarcelino below answer
-
@BetterAuto
Change pins.csv https://github.com/pycom/pycom-micropython-sigfox/blob/master/esp32/boards/WIPY/pins.csv perhaps?
-
Several pins are unusable on the ESP-WROOM-32. GPIO16, 7, 32, 33, 25, 26, 27, and 13.
Anyone know of a way to remap the pins? Probably have to recompile the firmware is my guess.
-
Thank you!
Found that I can do it with the standard firmware updater. I edited C:\Program Files (x86)\Pycom\Pycom Firmware Update\Upgrader\bin\updater.py, changed qio to dio.
-
@BetterAuto You can fimnd them here.
https://software.pycom.io/downloads/WiPy-1.6.13.b1.tar.gz
For the other versions, just change the version number in the link.
See also https://forum.pycom.io/topic/517/downgrading-firmware-advanced-users
-
A comment in the IRC chat is I should try flashing in DIO mode. Since the flasher tool does not include the binary firmware is there somewhere I can just download it?
-
Same error on the Espressif-built dev board. It flashes just fine but loops this on boot.
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x3fff9010,len:8
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x3fff9010,len:8
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x3fff9010,len:8
load:0xffffffff,len:-1
-
@BetterAuto I see that the Wemos Lolin32 is available at aliexpress:
https://www.aliexpress.com/item/WEMOS-LOLIN32-V1-0-0-wifi-bluetooth-board-based-ESP-32-4MB-FLASH/32808551116.html?spm=2114.01010208.3.2.DXyahW&ws_ab_test=searchweb0_0,searchweb201602_1_10152_10065_10151_10068_436_10136_10157_10137_10060_10138_10155_10062_10156_10154_10056_10055_10054_10059_100032_100033_100031_10099_10103_10102_10101_10096_10147_10052_10053_10050_10107_10142_10051_10084_10083_10080_10082_10081_10177_10110_10111_10112_10113_10114_10181_10180_10183_10182_10185_10184_10078_10079_10073_10186_10123,searchweb201603_2,ppcSwitch_5&btsid=f83eac71-efb8-450c-9b60-df678e0e9263&algo_expid=b986c6e2-8366-45d3-87e4-a86052471d35-0&algo_pvid=b986c6e2-8366-45d3-87e4-a86052471d35
-
@jmarcelino The Pycom board is powered from 3.3V. The breadboard power supply is an MB102 variant like this which claims to do 700mA. I'm using a bare WROOM-32 which uses even less than the Pycom board so if anything the Pycom should not work. I suspect a dead chip and will be able to confirm that tomorrow with the arrival of the Espressif-built dev board.
@robert-hh I started to buy a Sparkfun but then saw it does not have a WROOM-32 on it as you noted. Went direct to the manufacturer for their dev board. If that doesn't work then I don't know what to do :-D
-
@BetterAuto Alternative boards are "sparkfun esp32 thing", "Huzzah32" or "wemos lolin32". While the first one is a custom layout, the Wemos and Huzzah devices just use the wroom-32 as module, and as always, the Wemos device is unbeatable in price. But it looks as if the first batch was sold out immediately. I tried the sparkfun device, and waiting for the wemos device to be delivered. That may take a while with the slow boat from china.
-
@BetterAuto
OK but is the Pycom board also powered from 3.3V or is it 5V? How much current can the breadboard power source ? Do you have a link?I'm not sure you can just assume it's sufficient just because Pycom works with it.
-
@jmarcelino 3.3V breadboard supply. Keep in mind both chips are using the same supply and the Pycom board works.
I just bought this one and should get it in two days so I can confirm it's really a damaged WROOM. Made by Espressif.
https://smile.amazon.com/gp/product/B01N0SB08Q/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1
-
@BetterAuto
how are you powering it?
-
I had asked the same question on Twitter and was informed by Pycom that it is possible. So maybe my WROOM is bad.
https://twitter.com/pycomIOT/status/863669914992877568FYI here's the error I'm getting on my WROOM-32. I'm going to buy another one and try again.
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x3fff9010,len:8
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x3fff9010,len:8
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x3fff9010,len:8
load:0xffffffff,len:-1
-
Other way around. WiPy firmware to a WROOM-32. I thought they are both ESP32 under the hood?
-
@BetterAuto
What do you mean? You try to flash Wipy2 with WROOM rom?
If yes then not it is not compatibile