Search found 2397 matches

by WiFive
Tue Jun 25, 2019 6:13 pm
Forum: General Discussion
Topic: Write RAM using bootloader serial protocol
Replies: 5
Views: 81

Re: Write RAM using bootloader serial protocol

So how do you reboot into your app while preserving the memory? Esptool would normally do a hard reset. Put a call to a rom restart function at the beginning of the binary and let it execute? Use rtc ram and mark it as noinit in your app?
by WiFive
Tue Jun 25, 2019 4:19 am
Forum: General Discussion
Topic: Write RAM using bootloader serial protocol
Replies: 5
Views: 81

Re: Write RAM using bootloader serial protocol

Well the additional on device code could just be (open uart, write data to memory location). The rest of the code could be the same. So the attackers will be able to sniff WiFi at the factory and crack wpa2 psk or eap but not have the ability to compromise the provisioning machine? With esptool by d...
by WiFive
Mon Jun 24, 2019 8:54 pm
Forum: General Discussion
Topic: Missing line in cJSON
Replies: 1
Views: 41

Re: Missing line in cJSON

Is encoded null terminated and do you have enough free memory for it and does cjson support giant strings?
by WiFive
Mon Jun 24, 2019 4:55 pm
Forum: ESP32 IDF
Topic: Lack of understanding UART Pattern post_idle time
Replies: 4
Views: 151

Re: Lack of understanding UART Pattern post_idle time

You said you are expecting two events, which two? What are you sending? CHAR idle CHAR? I would guess the idle time is measured from the rising edge of the stop bit to the falling edge of the next start bit.
by WiFive
Mon Jun 24, 2019 4:42 pm
Forum: General Discussion
Topic: Write RAM using bootloader serial protocol
Replies: 5
Views: 81

Re: Write RAM using bootloader serial protocol

It's probably doable with some mods to esptool but you have to choose a ram area that the app is not going to use or init. Why not have the app check if it has been provisioned and if not, reopen the serial connection to get the provisioning data from the programmer? Or do it via WiFi so you have a ...
by WiFive
Sun Jun 23, 2019 5:08 pm
Forum: General Discussion
Topic: RMT data buffer and race condition
Replies: 1
Views: 60

Re: RMT data buffer and race condition

Use a flag/semaphore but is there a way to check if tx is done in the Arduino rmt driver?
by WiFive
Sun Jun 23, 2019 4:57 pm
Forum: General Discussion
Topic: ext0 deep sleep wake interrupting camera and sd card
Replies: 1
Views: 52

Re: ext0 deep sleep wake interrupting camera and sd card

There are very few unused pins, you probably have to use uart0 programming pins for the pir.

Go to advanced search