-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Sketch doesn't run on latest build #867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
did you pull the commit I pushed a couple of hours ago? |
Certainly did. The previous issue I had was it wouldn't compile. Cheers. |
what do you get in the console? anything? |
Hi:)
Thank you. |
This is from a simple sketch with single Serial.println("Hello world!"); ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) |
can you please pull the last change and give it a go? |
Hmmm ..... unfortunately, it's still no go. BTW, I did a clean install by deleting the esp32 folder first and re-cloning. Cheers. |
hmm.. I went through all possible flags and changes since last lib build. this is the only thing I found. Got the new toolchain right? |
Yep. I did run get.exe after cloning. |
can you please try flash freq 40Mhz? I notice that I get that issue when booting at 80Mhz |
Eureka! Confirmed working at 40MHz flash frequency. I've always used 80MHz before and never had a problem so it's very strange to me, but I'm no expert on this issue. I guess you'll find a solution for this eventually and upload a new commit. Thanks for your prompt attention and all the hard work. Much appreciated. Cheers. |
that is sad though... means that some things need separate builds for different flash frequencies. I currently support 2 bootloaders and something like that would make the need for 4 bootloaders and a couple other libs. |
I have had the same problems with the latest build Just signed up, Thought this information might help |
Can confirm 40MHz solves that issue. Thanks a lot. I just recieved 3 new modules and almost got crazy because they all failed after the flashing. |
OK Guys! Give it a go. All configurations should work |
WORKS! With previous version using 80Mhz the Arduino sketch uploaded OK , but did not run. Reading this topic I tried 40Mhz and then it DID run. Just download the latest repo. Can confirm that it now uploads AND runs also at 80Mhz. Thx @me-no-dev |
this is only because of bad usb cable, I've changed the cable and the problem got solved. |
Hardware:
Board: ESP32 Dev Module
Core Installation/update date: 24/Nov/2017
IDE name: Arduino IDE 1.8.5 under Windows 10 Home 64bit
Flash Frequency: 80Mhz
Upload Speed: 115200
Description:
Compile and upload works, showing no errors, but the sketch doesn't run. Tried two different boards to rule out hardware.
Is it just me or is anyone else having same problems?
Sketch:
Not applicable. Tried different sketches.
Debug Messages:
Archiving built core (caching) in: C:\Users\tom00\AppData\Local\Temp\arduino_cache_624837\core\core_espressif_esp32_esp32_FlashMode_qio,FlashFreq_80,FlashSize_4M,UploadSpeed_115200,DebugLevel_none_cc8d03a82408ab89806eebc3d4cf6de4.a
Sketch uses 144193 bytes (11%) of program storage space. Maximum is 1310720 bytes.
Global variables use 11224 bytes (3%) of dynamic memory, leaving 283688 bytes for local variables. Maximum is 294912 bytes.
E:\OneDrive\Arduino\My Projects\hardware\espressif\esp32/tools/esptool.exe --chip esp32 --port COM8 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 E:\OneDrive\Arduino\My Projects\hardware\espressif\esp32/tools/partitions/boot_app0.bin 0x1000 E:\OneDrive\Arduino\My Projects\hardware\espressif\esp32/tools/sdk/bin/bootloader_qio.bin 0x10000 C:\Users\tom00\AppData\Local\Temp\arduino_build_205099/DHT.ino.bin 0x8000 C:\Users\tom00\AppData\Local\Temp\arduino_build_205099/DHT.ino.partitions.bin
esptool.py v2.1
Connecting........_
Chip is ESP32D0WDQ6 (revision 1)
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 1057.0 kbit/s)...
Hash of data verified.
Flash params set to 0x022f
Compressed 14144 bytes to 9238...
Writing at 0x00001000... (100 %)
Wrote 14144 bytes (9238 compressed) at 0x00001000 in 0.9 seconds (effective 130.5 kbit/s)...
Hash of data verified.
Compressed 145344 bytes to 81708...
Writing at 0x00010000... (20 %)
Writing at 0x00014000... (40 %)
Writing at 0x00018000... (60 %)
Writing at 0x0001c000... (80 %)
Writing at 0x00020000... (100 %)
Wrote 145344 bytes (81708 compressed) at 0x00010000 in 7.3 seconds (effective 159.9 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 122...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (122 compressed) at 0x00008000 in 0.1 seconds (effective 384.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting...
The text was updated successfully, but these errors were encountered: