Closed WishToo closed 2 years ago
Check the pinmap. There is no gpio12 & 13 on a C3.
Developing on-board LEDs is gpio12 &13
gpio 12-17 are used for the spi flash. If you want your device to work, I would recommend not developing on-board LEDs on gpio 12 & 13.
gpio 12-17 are used for the spi flash. If you want your device to work, I would recommend not developing on-board LEDs on gpio 12 & 13.
@lbernstone it use DIO
mode, not QIO
gpio 12-17 are used for the spi flash. If you want your device to work, I would recommend not developing on-board LEDs on gpio 12 & 13.
@lbernstone it use
DIO
mode, notQIO
I have used DIO mode
DIO mode does not use gpio12 and gpio13, so it doesn't matter
it is a bug
if you flash esp32c3 with USB-CDC and use 2.0.3
version of arduino-esp32
, it won't boot. but 2.0.2
is ok.
i tested it
DIO mode does not use gpio12 and gpio13, so it doesn't matter
it is a bug
if you flash esp32c3 with USB-CDC and use
2.0.3
version ofarduino-esp32
, it won't boot. but2.0.2
is ok.i tested it
Yes, Arduino 2.0.2 works normally, but the status value of the IO port cannot be read. It is always low, so I am confused now
see #6572
Still using GPIOs which are normaly used for connecting Flash is a bad design idea. You never know what changes future brings...
Still using GPIOs which are normaly used for connecting Flash is a bad design idea. You never know what changes future brings...
bad idea: arduino not work, others works well😀
a funny joke
You need to set the pinmode to input if you want to read.
Still using GPIOs which are normaly used for connecting Flash is a bad design idea. You never know what changes future brings...
bad idea: arduino not work, others works well😀
a funny joke
I meet same problem when i use the luatos board;you can try to use platfomio , The Espressif 32 5.00 frameworks can work well on this demo board, but you should to change the "esp32-c3-devkitm-1.json"'s "flash_mode" to "dio";everything work well after i do this.
problem is that C3 DIO mode does not work in 2.0.3, but it will work in 2.0.4 that will be released today. I guess PIO guys will also release their update these days and you will be OK. Till then "flash_mode":"qio"
@WishToo Can you please retest your code under v2.0.4? Thanks.
@WishToo Can you please retest your code under v2.0.4? Thanks.
Thank you very much. I just tested it. Under version 2.0.4, this development board can be used normally
Hi
I'm just trying to used these pins too on a ESP32 c3 but I got the restart all the time :(
Using ESP32 2.0.4
Which pins can be used ? Which way ? Input / output ?
I tried DIO and QIO but doesn't solve :(
Thanks in advance for you help
ESP32 C3 On Arduino IDE With 2.0.4 With DIO
I'm only able to set GPIO12 and GOIO13 in OUTPUT mode.
Setting other pins GPIO14-17 makes it restart. Setting in INPUT mode makes it restart
So no way to use other pins and only in output
Is it normal ???
Thanks for your help
I too was getting infinite reboots with the AirM2M_CORE_ESP32C3 board, the only fix for me was enabling USB CDC On Boot.
Using 2.0.6 DIO works while QIO doesn't.
@thilojaeggi was a bug in core 2.0.3 solved later. Verified working in latest core.
Board
ESP32C3
Device Description
AirM2M_CORE_ESP32C3
Hardware Configuration
esp32-c3-devkitm-1
Version
v2.0.3
IDE Name
Arduino IDE
Operating System
macOS 12.2.1
Flash frequency
40MHz & 80MHz
PSRAM enabled
no
Upload speed
921600
Description
Infinite restart always occurs when testing any simple example
I have made the following settings, but the problem still exists: USB CDC On Boot: Enabled Flash Mode: DIO
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide