I can not upload a sketch to my WiPy 3.0 using Arduino IDE.
-
@armant No. At the time of Reset, GPIO0 must be high. I wonder why it is low at your device. Is anything connected to it?
-
@robert-hh I have just powered it up on a breadboard and connected a UART serial connection. Other than that nothing else is connected to it. As you have figured I am not using the standard expansion boards.
-
@armant In that case, GPIO0 (alias P2), the 4th pin from the reset switch, should be high. It may be that the WiPy has firmware loaded. In that case you should upload a firmware. You do not need a specific board for that and you can use the Pycom update tool. Only the device must be in upload mode (GPIO0 low at reset time), which you device seems to be.
-
@robert-hh said in I can not upload a sketch to my WiPy 3.0 using Arduino IDE.:
Pycom update too
Thank you I have updated the firmware. GPIO0 is at high now but I get the following error when trying to upload a sketch : ```
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header -
@armant That is still a message from the boot loader. if you just connect a terminal emulator at 115200 baud and push reset, which messages do you see?
-
@robert-hh said in I can not upload a sketch to my WiPy 3.0 using Arduino IDE.:
terminal emulator
I can not make the connection anymore. I tried Atom and PuTTy but got no message and failed to connect. I used to get some messages when I pushed the reset.
-
@armant With Putty you have to set flow control to None.
-
@robert-hh Still could not make the connection
My baud is 115200, data bits 8 , stop bits 1, parity none and flow control none. -
@armant That is strange. At least the boot loader should come up with messages like:
ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff8028,len:8 load:0x3fff8030,len:2156 ho 0 tail 12 room 4 load:0x4009fa00,len:19208 entry 0x400a05f4 -
This post is deleted! -
@robert-hh I managed to update the firmware again and get the serial working but again GPIO0 is not high this time and I can not program.
-
@armant Can you pull GPIO0 high externally, push reset & look at the messages? And, b.t.w., how and at which Pin do you power the device?
-
@robert-hh I pulled it High externally and now it works. Thank you very much! Really appreciate your help.
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