Giter VIP home page Giter VIP logo

Comments (1)

Ing-Med avatar Ing-Med commented on September 23, 2024

huh, so i finally managed to get it to compile. i reinstalled my whole vscode, but in the end i think it was a basic beginners mistake. renaming EnigmaIOTGatewayMQTT from .ino to .cpp.

Unfortunately, my troubles do not end here.

Building didn't work out either with the provided .ini file. it threw errors:

Open On-Chip Debugger v0.11.0-esp32-20220706 (2022-07-06-15:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1

adapter speed: 20000 kHz

WARNING: boards/esp-wroom-32.cfg is deprecated, and may be removed in a future release.
DEPRECATED! use 'adapter speed' not 'adapter_khz'
adapter speed: 5000 kHz

Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '', serial '' at bus location ''
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6014, description '
', serial '' at bus location ''
** OpenOCD init failed **
shutdown command invoked

*** [upload] Error 1

So i was able to change the upload protocol to esptool. Which built and uploaded just fine thankfully.

However, the board does crash right on reboot.

16:08:50.716 >
16:08:50.716 >
16:08:50.716 >
16:08:50.716 >
16:08:50.716 > ELF file SHA256: 0000000000000000
16:08:50.716 >
16:08:50.716 > Rebooting...
16:08:50.742 > ets Jun 8 2016 00:22:57
16:08:50.743 >
16:08:50.743 > rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
16:08:50.743 > configsip: 0, SPIWP:0xee
16:08:50.743 > clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
16:08:50.743 > mode:DOUT, clock div:2
16:08:50.743 > load:0x3fff0030,len:1184
16:08:50.743 > load:0x40078000,len:13132
16:08:50.743 > load:0x40080400,len:3036
16:08:50.743 > entry 0x400805e4
16:08:51.294 >
16:08:51.295 > assert failed: do_core_init startup.c:298 (flash_ret == ESP_OK)
16:08:51.295 >
16:08:51.295 >
16:08:51.295 > Backtrace:0x4008379d:0x3ffe3aa00x4008cd39:0x3ffe3ac0 0x400929e5:0x3ffe3ae0 0x401039ae:0x3ffe3c10 0x40082e9e:0x3ffe3c40 0x400792ba:0x3ffe3c90 |<-CORRUPTED
16:08:51.295 >
16:08:51.295 >
16:08:51.295 >
16:08:51.295 >
16:08:51.295 > ELF file SHA256: 0000000000000000
16:08:51.295 >
16:08:51.295 > Rebooting...

i am only a hobbyist usually developing my own small sketches, so this is unfortunately above me. Do you have any clues whats wrong here? Or is this due to changing the upload protocol? I just cant get it to work with esp-prog...
Thanks

from enigmaiot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.