Search found 63 matches
- Thu Jan 07, 2021 8:48 pm
- Forum: ESP-IDF
- Topic: Is there a way to jump to the serial program code
- Replies: 0
- Views: 68
Is there a way to jump to the serial program code
I am working on a remote system connected to a computer I can remote into. I want to be able to send a command to thesytem via the serial port that will jump to the RST handler with flags for a download_boot. I would think there ought to be a way to do so. Probably a new task that kills off all it s...
- Thu Dec 03, 2020 7:38 pm
- Forum: General Discussion
- Topic: How to change SPI Flash size in ESP32 in eclipse?
- Replies: 4
- Views: 928
Re: How to change SPI Flash size in ESP32 in eclipse?
I believe the solution is to use menuconfig and adjust the serial flasher config page. You have an option there to set flash size and to detect size when flashing. Saving the sdkconfig file is important.
- Thu Nov 12, 2020 6:45 pm
- Forum: General Discussion
- Topic: ESP32 Ints or Doubles to Strings
- Replies: 8
- Views: 2257
Re: ESP32 Ints or Doubles to Strings
A real (as in old school) embedded programmer would just do it manually, with truncating unsigned integer division and modulus arithmetic. One version for over 32 bits and one for 32 or less. Once the digit is identified, adding 30 to make it a character is trivial. Translating from signed to unsign...
- Wed Nov 11, 2020 9:19 pm
- Forum: ESP-IDF
- Topic: Clients can't connect to ESP32 SoftAP. Not getting IP address
- Replies: 3
- Views: 969
Re: Clients can't connect to ESP32 SoftAP. Not getting IP address
I have have is probably a similar situation. It looks like normal state engine progression until: [0mD (23816) wpa: wpa_rx: new eapol=0x3ffd4fc4 [0mD (23820) wpa: WPA: f0:08:d1:6b:36:fc WPA_PTK entering state PTKINITDONE [0mD (23827) system_event: SYSTEM_EVENT_AP_STACONNECTED, mac:f0:08:d1:6b:36:fc,...
- Wed Nov 11, 2020 9:00 pm
- Forum: ESP-IDF
- Topic: Obtain sender's MAC address for a UDP packet
- Replies: 3
- Views: 347
Re: Obtain sender's MAC address for a UDP packet
It should be bytes 6..11 in the datagram.
I suggest you get wireshark and capture some of your actual packets to ensure they are being built correctly.
I suggest you get wireshark and capture some of your actual packets to ensure they are being built correctly.
- Mon Nov 09, 2020 10:18 pm
- Forum: Hardware
- Topic: SPI bandwidth for analog to digital device
- Replies: 2
- Views: 410
Re: SPI bandwidth for analog to digital device
It depends on what you planning to do with the data. Also on who the master is. If the ADC is master then all the ESM32 has to do is respond to interrupts, copy the data, and send it out on WiFi. That is likely doable with a single processor. If you plan to do any data processing, you will need to s...
- Mon Nov 09, 2020 10:08 pm
- Forum: General Discussion
- Topic: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
- Replies: 8
- Views: 933
Re: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
I think there is likely a problem with getting such a file all at once. You would need to have something like DMA compatable RAM to drop the entire file into and I do not think any of the ESPs have enough of that that today. If you send it in small blocks with TFTP or some more robust protocol, you ...
- Mon Nov 09, 2020 10:01 pm
- Forum: General Discussion
- Topic: What would you like to see in The Next Chip?
- Replies: 392
- Views: 209312
Re: What would you like to see in The Next Chip?
I would like to see the real time clock able to survive losing VDD but keeping vdd_rtc. This would allow knowing the time when primary power was restored. I do not expect that the internal oscillator would be keeping perfect time, but it would provide some idea of the amount of down time for logging...
- Mon Nov 09, 2020 9:54 pm
- Forum: General Discussion
- Topic: Whit tou use uint8_t buffer to receive uart data?
- Replies: 5
- Views: 622
Re: Whit tou use uint8_t buffer to receive uart data?
The other issue is that often people forget that they have to have allocated the space for a received buffer, not just a pointer to it. If you say char * MyPtr = malloc(128); that sort of limits you to the number of characters you can receive and is a perfectly valid way to get there. Right up to ch...
- Mon Nov 09, 2020 9:42 pm
- Forum: General Discussion
- Topic: How long does it take for uart data to be available on RX Buffer?
- Replies: 9
- Views: 994
Re: How long does it take for uart data to be available on RX Buffer?
I am a wee bit confused by your mention of stop bits. If you are running with no stop bits (N-8-0) and you are seeing them, as the last active bit in a 10 bit pattern, then the other side seems to be cheating. If you are seeing your end of frame marker without a complete frame, that often implies a ...