Comments (2)
Yes unfortunately the arduino IDE doesn't upload the required SPIFFs.
There are two that need to be created and uploaded.
The best bet is to start out with the initialflash.bin file from the releases section on github and flash that to the entire chip (its a full 4MB flash image). This will setup all the partitions and all required stuff.
Then after that you can flash a new firmware from the arduino IDE if you want.
from canserver.
Thanks, I tried that and even with the initialflash.bin file loaded first, Arduino still overwrites all the flash contents with and uses its own default partitions. However I found a workaround. If you turn on verbose upload output in Arduino's settings, it will give you the command being sent to esptool.exe. I removed all the entries at the end except for the .bin file, and it only uploaded my new code to the application partition and left everything else intact. I'm posting it below in case it helps anybody else out:
C:\Users\<yourusername>\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\2.6.1\esptool.exe --chip esp32 --port COM3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x10000 C:\Users\<yourusername>\AppData\Local\Temp\arduino_build_<yourbuildnumber>/CANserver.ino.bin
from canserver.
Related Issues (13)
- Two µDisplay issues HOT 6
- Want help with building the web-based interfaces? HOT 4
- What do 'V' and 'C' indicate under BusComparison? HOT 2
- Analysis screen lockup HOT 1
- Cannot be built with Arduino HOT 2
- Can data transcoding HOT 1
- v2 Source Code HOT 3
- CanServer V2 to Tesla CAN Diagnostic Cable (Sept 2015 and up) – Bare Wire HOT 1
- Interval Filtered Logging HOT 1
- Support for filtering multiplexed signals
- Leverage a micro MQTT broker for "inter device" communication? HOT 3
- Turn off/black displays when not in use HOT 4
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 canserver.