Search found 62 matches

by dmaxben
Thu May 07, 2020 10:38 pm
Forum: ESP32 IDF
Topic: Unexplained CAN Errors
Replies: 16
Views: 1487

Re: Unexplained CAN Errors

What does your code look like for initializing the CAN controller, and reading messages?

You're sure the CAN transceiver is good and wired correctly? Which CAN transceiver are you using?
by dmaxben
Thu May 07, 2020 2:14 pm
Forum: ESP32 IDF
Topic: partition erase and partition write DOES NOT WORK [SOLVED]
Replies: 4
Views: 357

Re: partition erase and partition write DOES NOT WORK

Well I feel like a complete idiot!!

I was indeed not using the pointer to the partition struct correctly.... :lol:

Im surprised it compiled and let me build it...

but once I did find partition to get the pointer, then it worked!

Thanks so much for the help everyone, much appreciated!
by dmaxben
Thu May 07, 2020 3:45 am
Forum: ESP32 IDF
Topic: partition erase and partition write DOES NOT WORK [SOLVED]
Replies: 4
Views: 357

Re: partition erase and partition write DOES NOT WORK

WiFive wrote:
Thu May 07, 2020 2:41 am
esp_partition_find_first
Why does partition-find have to be called? I already know the proper offset, size, and name based on what I put into my partition file?
by dmaxben
Wed May 06, 2020 11:44 pm
Forum: ESP32 IDF
Topic: partition erase and partition write DOES NOT WORK [SOLVED]
Replies: 4
Views: 357

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: 371
Views: 146838

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: ESP32 IDF
Topic: Add custom headers to OTA update
Replies: 1
Views: 801

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: 7577

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: 2299

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: 371
Views: 146838

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: 5059

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 ...

Go to advanced search