Search found 79 matches

by dmaxben
Wed May 06, 2020 11:44 pm
Forum: ESP-IDF
Topic: partition erase and partition write DOES NOT WORK [SOLVED]
Replies: 4
Views: 883

partition erase and partition write DOES NOT WORK [SOLVED]

Im at a loss here...ive been messing around with this for 7 hours and I cant figure out why esp_partition_erase_range and esp_partition_write do not work. All they do is return either "invalid size" or "invalid argument" errors. ESP32-wroom32, 16MB flash. My partition table is setup for a SPIFFS par...
by dmaxben
Mon Apr 27, 2020 4:51 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 387
Views: 182676

Re: What would you like to see in The Next Chip?

CAN is a bit of a... thing. I won't say we have a CAN controller in our chip (because of ...reasons), but I can say that the ESP32-S2 has a peripheral we call the 'TWAI (Two Wire Automotive Interface) controller'; which happens to be fully compatible with the peripheral you used to use for that on ...
by dmaxben
Sat Apr 18, 2020 6:11 pm
Forum: ESP-IDF
Topic: Add custom headers to OTA update
Replies: 1
Views: 1062

Add custom headers to OTA update

Does anyone have any idea how to add/send custom headers when making an OTA firmware request? My custom firmware update server requires some custom information from the ESP32 before it pushes a firmware/SPIFFS bin...but I cant figure out how to adapt/slip in custom headers simultaneously with the OT...
by dmaxben
Thu Mar 19, 2020 9:26 pm
Forum: ESP IoT Solution
Topic: How to compress and decompress the bin file for OTA
Replies: 4
Views: 8564

Re: How to compress and decompress the bin file for OTA

Hi there, I have seen in internet that some people are compressing the bin file for OTA. Could you tell us that what library should i use to compress and decompress the bin file? and i have seen that it is done in esptool.py while flashing the bin file via serial port. Thanks Ganesh What was the so...
by dmaxben
Thu Feb 27, 2020 1:34 pm
Forum: ESP32 Arduino
Topic: Sketch too big
Replies: 2
Views: 3393

Re: Sketch too big

Couple options...

Change the partition table sizes

If you do not need OTA firmware update abilities, switch to a single partition

Remove the SPIFFS partition

Switch to the 16MB (128Mbit) version of the ESP32-WROOM32
by dmaxben
Sun Feb 23, 2020 5:43 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 387
Views: 182676

Re: What would you like to see in The Next Chip?

Captain.Chode wrote:
Sat Feb 22, 2020 11:24 pm
Maybe a second CAN controller, support for MIPI DSI displays, and please keep the RMT peripheral, I just love it, it is very useful.
A second CAN controller would be amazing!!!! :D
by dmaxben
Tue Jan 07, 2020 7:26 pm
Forum: General Discussion
Topic: OTA update spiffs
Replies: 7
Views: 6609

Re: OTA update spiffs

Anyone else had luck updating SPIFFS via OTA? I cant seem to find much information on it... How hard is it to have the ESP32 download a compressed SPIFFS image via OTA, and then unpack it and write it into SPIFFS? Im using a 16MB flash unit, and downloading/writing a full uncompressed 11MB bin will ...
by dmaxben
Sun Dec 29, 2019 3:32 pm
Forum: General Discussion
Topic: SPIFFS partition size limit??
Replies: 2
Views: 1264

SPIFFS partition size limit??

Is there any limit to how big you can make the SPIFFS partition? I upgraded my project to the new ESP32-WROOM32-D with 128Mbit (16 megabyte) flash chip due to wanting both more program space, and wanting a larger amount of SPIFFS storage. Im setting it up with 3MB app partitions (OTA), and the remai...
by dmaxben
Thu Dec 12, 2019 7:00 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 387
Views: 182676

Re: What would you like to see in The Next Chip?

Whatever Espressif has planned for the future chip...please do NOT remove the CAN bus controller!!
by dmaxben
Thu Oct 10, 2019 5:52 pm
Forum: ESP32 Arduino
Topic: Using the official CAN driver
Replies: 9
Views: 3771

Re: Using the official CAN driver with Arduino

@ dmaxben Just a few pointers regarding IDF CAN driver usage It's probably a good idea to use the member names when initializing a CAN message structure in case the order of the members change in the future versions of the driver. There are also a bunch of message flags documented here to set/check...

Go to advanced search