Comments (1)
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: 1adapter 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 kHzError: 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)
- Support for BMP280 sensor HOT 3
- EnigmaIOT beginner's guide or help sources? HOT 4
- trying to build MQTT-noSSL HOT 1
- Errors when DEBUG enabled HOT 2
- ESP32 WiFi won't connect HOT 1
- GatewayAPI.cpp getNodeInfo() compile error HOT 3
- Bootloop in new nodes HOT 1
- Canβt work with EnigmaIOT HOT 4
- MQTT command line to switch LED off/on HOT 3
- esp8266 do not have enough RAM to run the default examples due to NUM_NODE mostly HOT 2
- Issue building for an esp32 with version 0.9.7 HOT 4
- Node without name HOT 1
- Portal recovery problem
- Instructions from howto.md does not work HOT 1
- FailSafe.h HOT 1
- Notice when a node is connected or disconnected from EnigmaIOT network
- FR: Is there a way to seperate MQTT client from ESP-Now controller? HOT 5
- El Gateway MQTT EnigmaIOT no funciona correctamente. HOT 7
- Nodes outside range of gateway but within range of another node
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enigmaiot.