Search found 1152 matches

by ESP_Angus
Wed Sep 19, 2018 9:05 am
Forum: General Discussion
Topic: ESP32 Secure Boot - Your code only runs on your own hardware?
Replies: 10
Views: 286

Re: ESP32 Secure Boot - Your code only runs on your own hardware?

Then make a copy of the app_update component and modify esp_ota_write() to call the "plain" SPI flash write function rather than the "automatically encrypt in place" esp_partition_write() function, so the encrypted bytes are written verbatim to the flash rather than being double...
by ESP_Angus
Wed Sep 19, 2018 7:38 am
Forum: General Discussion
Topic: Sending encrypted flash content via esptool.py
Replies: 4
Views: 47

Re: Sending encrypted flash content via esptool.py

Is it possible to send more "commands" to a single espefuse.py? This is not currently possible. I've logged it as a feature request: https://github.com/espressif/esptool/issues/360 Yes I'm aware of that, but the device we produce have the same firrmware. Therefore, from a "probabilit...
by ESP_Angus
Wed Sep 19, 2018 5:26 am
Forum: Hardware
Topic: with ESP-NOW, it brown out with 500ma max current ldo ht7833
Replies: 1
Views: 29

Re: with ESP-NOW, it brown out with 500ma max current ldo ht7833

Do your boards have enough capacitance on the input & output of the LDO? Are you able to show us an image of the layout?

Are you using modules or a chip? If a chap, are all power pins correctly connected?
by ESP_Angus
Wed Sep 19, 2018 12:28 am
Forum: ESP32 Arduino
Topic: Write MPI values in SPIFFS file
Replies: 4
Views: 73

Re: Write MPI values in SPIFFS file

The additional code you need is something like this (this is uncompiled and untested, so may need some tweaking before it works 100%): SPIFFS.begin(); FILE *mpi_file = fopen("/spiffs/numbers.txt", "w"); mbedtls_mpi_write_file(NULL, &N, 16, mpi_file); mbedtls_mpi_write_file(NU...
by ESP_Angus
Wed Sep 19, 2018 12:06 am
Forum: General Discussion
Topic: unused code hangs program
Replies: 15
Views: 275

Re: unused code hangs program

Boot log looks normal to me.

If you can't post the full project source, would you be able to PM one of us a link to the output .elf, .map and .bin files for the project?

Thanks,

Angus
by ESP_Angus
Wed Sep 19, 2018 12:02 am
Forum: ESP32 IDF
Topic: Using a linker script in GCC to locate functions at specific memory regions
Replies: 3
Views: 91

Re: Using a linker script in GCC to locate functions at specific memory regions

I think I understand. You want to read this metadata externally, yes? ie the application runs on a computer and parses the .bin files. If so, writing to a fixed memory address only gets you part way. Because the ESP32 has an MMU, there's no guarantee that a virtual memory address (like 0x3F400018) c...
by ESP_Angus
Tue Sep 18, 2018 11:45 pm
Forum: General Discussion
Topic: Sending encrypted flash content via esptool.py
Replies: 4
Views: 47

Re: Sending encrypted flash content via esptool.py

Yes, this is possible. A few comments: possible side effect to brick the device if power is removed as state in online doc: If power is removed early it will temporarily "brick" the device (ie it will need reflashing), but no efuses are burned until this process is completed so it's fully ...
by ESP_Angus
Tue Sep 18, 2018 11:35 pm
Forum: ESP32 IDF
Topic: Preview release: CMake-based build system for ESP-IDF
Replies: 54
Views: 4523

Re: Preview release: CMake-based build system for ESP-IDF

Now changing serial device does not trigger a full rebuild, different devices can be programmed from the same build folder just by changing the settings. This is excellent for automation, release archiving, and/or CI-type purposes. Thank you @ESP_Angus, this is a very appreciated change. Glad you l...
by ESP_Angus
Tue Sep 18, 2018 7:50 am
Forum: ESP32 Arduino
Topic: Write MPI values in SPIFFS file
Replies: 4
Views: 73

Re: Write MPI values in SPIFFS file

Can you post the incomplete code that you have working now?

Go to advanced search