Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    [SOLVED] WiPy firmware to a standard WROOM-32?

    Scheduled Pinned Locked Moved Firmware
    esp32
    38 Posts 7 Posters 17.1k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      BetterAuto Pybytes Beta
      last edited by BetterAuto

      Is that possible?

      I tried it and the Windows tool said the flash was successful but the board is resetting with some error (that I don't have handy at the moment, sorry, but I can get it on request) . The same FTDI and breadboard power supply were then used to flash a genuine WiPy and it was successful. Not sure if that's my WROOM or if it just can't be done.

      L robert-hhR 2 Replies Last reply Reply Quote 0
      • L Offline
        livius @BetterAuto
        last edited by

        @BetterAuto
        What do you mean? You try to flash Wipy2 with WROOM rom?
        If yes then not it is not compatibile

        think about people first, then computers

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          BetterAuto Pybytes Beta @livius
          last edited by

          Other way around. WiPy firmware to a WROOM-32. I thought they are both ESP32 under the hood?

          1 Reply Last reply Reply Quote 0
          • B Offline
            BetterAuto Pybytes Beta
            last edited by

            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/863669914992877568

            FYI 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:57

            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:57

            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

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jmarcelino @BetterAuto
              last edited by

              @BetterAuto
              how are you powering it?

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                BetterAuto Pybytes Beta @jmarcelino
                last edited by

                @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

                J robert-hhR 2 Replies Last reply Reply Quote 0
                • J Offline
                  jmarcelino @BetterAuto
                  last edited by

                  @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.

                  B 1 Reply Last reply Reply Quote 0
                  • robert-hhR Offline
                    robert-hh @BetterAuto
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      BetterAuto Pybytes Beta @jmarcelino
                      last edited by

                      @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

                      robert-hhR 1 Reply Last reply Reply Quote 0
                      • robert-hhR Offline
                        robert-hh @BetterAuto
                        last edited by

                        @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

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          BetterAuto Pybytes Beta
                          last edited by

                          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:57

                          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:57

                          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

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            BetterAuto Pybytes Beta
                            last edited by

                            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?

                            robert-hhR 1 Reply Last reply Reply Quote 0
                            • robert-hhR Offline
                              robert-hh @BetterAuto
                              last edited by robert-hh

                              @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

                              1 Reply Last reply Reply Quote 1
                              • B Offline
                                BetterAuto Pybytes Beta
                                last edited by

                                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.

                                0_1495194659238_WiPy firmware on the ESP-WROOM-32.jpg

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  BetterAuto Pybytes Beta
                                  last edited by

                                  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.

                                  J L 2 Replies Last reply Reply Quote 0
                                  • J Offline
                                    jmarcelino @BetterAuto
                                    last edited by

                                    @BetterAuto
                                    Change pins.csv https://github.com/pycom/pycom-micropython-sigfox/blob/master/esp32/boards/WIPY/pins.csv perhaps?

                                    1 Reply Last reply Reply Quote 1
                                    • L Offline
                                      livius @BetterAuto
                                      last edited by livius

                                      @BetterAuto
                                      https://github.com/pycom/pycom-micropython-sigfox/blob/master/esp32/boards/make-pins.py
                                      and @jmarcelino below answer

                                      think about people first, then computers

                                      1 Reply Last reply Reply Quote 1
                                      • C Offline
                                        crankshaft
                                        last edited by

                                        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

                                        B 1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          BetterAuto Pybytes Beta @crankshaft
                                          last edited by

                                          @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

                                          C 2 Replies Last reply Reply Quote 0
                                          • C Offline
                                            crankshaft @BetterAuto
                                            last edited by crankshaft

                                            @BetterAuto - thanks, can you elaborate on what you mean by modify the flasher ?

                                            Is it possible you canalso let me know what you modified in the pins to save me re-inventing the wheel !

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom