Search found 1536 matches

by ESP_Angus
Tue Apr 23, 2019 11:56 pm
Forum: ESP32 IDF
Topic: Read registers using C code?
Replies: 5
Views: 69

Re: Read registers using C code?

Moderator's note: This question was asked in two places and I've merged the responses here. If replies seem to not make sense, this is because not all of the posts were originally in this thread.
by ESP_Angus
Tue Apr 23, 2019 11:53 pm
Forum: General Discussion
Topic: GPIO34-36 Interrupt cause kernel panic
Replies: 2
Views: 46

Re: GPIO34-36 Interrupt cause kernel panic

Can you post the details of the crash? It's hard to guess otherwise, but it may be the problem WiFive mentioned (which will cause an Interrupt Watchdog failure).
by ESP_Angus
Tue Apr 23, 2019 11:49 pm
Forum: General Discussion
Topic: MINGW issues: to_string is not a member of std
Replies: 1
Views: 21

Re: MINGW issues: to_string is not a member of std

Hi PeterR, Is the code failing to compile for ESP32 or for Windows? Mingw is a Windows unix layer applied at compile time so you can build "native" Win32 apps using *nix APIs. The ESP32 toolchain for Windows is built using Mingw (to run on the host), but it's a cross-toolchain targeting the ESP32 so...
by ESP_Angus
Tue Apr 23, 2019 4:58 am
Forum: ESP32 IDF
Topic: Could not find Git / could not find Perl
Replies: 6
Views: 154

Re: Could not find Git / could not find Perl

Hi Arnold, I don´t use msys. i just use this installation. https://github.com/Deous/VSC-Guide-for-esp32 This third party guide is pretty old. It mentions the feature/cmake branch, this branched was merged to master last September. If you're using the current master branch of ESP-IDF, I suggest follo...
by ESP_Angus
Tue Apr 23, 2019 4:45 am
Forum: ESP32 IDF
Topic: esptool timed out after "Running stub..."
Replies: 3
Views: 108

Re: esptool timed out after "Running stub..."

Thanks for the trace. I think this is a timing issue with the USB/serial converter buffering received serial data for longer than expected. Can you please try one thing for me. In esptool.py, find this line near the top: MEM_END_ROM_TIMEOUT = 0.05 # special short timeout for ESP_MEM_END, as it may n...
by ESP_Angus
Tue Apr 23, 2019 12:57 am
Forum: ESP32 IDF
Topic: need help on understanding RMT item
Replies: 1
Views: 51

Re: need help on understanding RMT item

That's right, each item register is only 32 bits wide. The union is between "val", which gives thar raw 32-bit value of the item register and the anoymous struct, which uses a C feature called "bitfields" to have integers which are only X bits wide. The width of each field is given after the ":" on ...
by ESP_Angus
Tue Apr 23, 2019 12:54 am
Forum: ESP32 IDF
Topic: Stupid enum problem....
Replies: 3
Views: 65

Re: Stupid enum problem....

Hi Greg,

Typed enums are a C++ feature added in C++11.

You will need to either remove the ": uint8_t" part (without this specified type, in both C & C++ the enum values will have the type of int, ie 4 bytes wide not 1 byte wide), or compile this code as C++ not C.
by ESP_Angus
Thu Apr 18, 2019 12:52 am
Forum: ESP32 IDF
Topic: esptool timed out after "Running stub..."
Replies: 3
Views: 108

Re: esptool timed out after "Running stub..."

Hi b4hofer, Can you please post the full output from "trace" somewhere? Is there any chance you have a logic analzyer and can capture the serial interactions to/from the ESP32, on the wire? The unusual thing which sticks out in your report is the MSP430 as USB/serial adapter. In the past there have ...
by ESP_Angus
Mon Apr 15, 2019 11:49 pm
Forum: General Discussion
Topic: SHA_256 Not matching
Replies: 6
Views: 245

Re: SHA_256 Not matching

Hi Ritu21, App .bin files have a SHA-256 hash appended to them for verification. The bootloader checks this SHA-256 hash before it boots the app, and the esp_partition_getsha256() function verifies the app is valid and the embedded SHA-256 hash matches. (In this way, the behaviour is different for a...
by ESP_Angus
Mon Apr 15, 2019 11:36 pm
Forum: Hardware
Topic: ESP32 Test Flash Encryption
Replies: 1
Views: 129

Re: ESP32 Test Flash Encryption

Hi Gerry, No, this is not possible. The ESP32 flash encryption engine can only source its key from one place, and that is efuse block 1. The "key generator" algorithm mentioned in the TRM is because the flash encryption uses a "key tweak" mode of AES where the key for each 32 byte block of flash is ...

Go to advanced search