Search found 1155 matches

by ESP_Angus
Thu Sep 20, 2018 5:56 am
Forum: General Discussion
Topic: How can I talk to the rom bootloader
Replies: 4
Views: 99

Re: How can I talk to the rom bootloader

The document that you found seems to be this wiki page: https://github.com/espressif/esptool/wiki/Serial-Protocol You can take a look at esptool.py to see how it works, as a reference. If you run "esptool.py --no-stub --trace ..." then you'll get a full dump of each command which is sent t...
by ESP_Angus
Thu Sep 20, 2018 5:54 am
Forum: General Discussion
Topic: system exception occurs...
Replies: 1
Views: 47

Re: system exception occurs...

Hi mzimmers,

Do you get a stack trace as well at this exception? Can you post the full panic handler output, please?

What IDF version are you using?


Angus
by ESP_Angus
Thu Sep 20, 2018 5:51 am
Forum: ESP32 IDF
Topic: ESP32 bare-metal configuration
Replies: 1
Views: 68

Re: ESP32 bare-metal configuration

Hi ret0, Unfortunately there is no example of this kind. You should be able to get something similar by following the steps used to build the IDF bootloader, though. You can build the bootloader in IDF with "make V=1 bootloader" to see all of the commands involved in building it - adapt th...
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: 326

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

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

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

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

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

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

Go to advanced search