Search found 32 matches

by pepopi
Sat Jun 24, 2023 11:24 am
Forum: ESP-IDF
Topic: SPI FLASH ID
Replies: 0
Views: 1764

SPI FLASH ID

Hello,
I'm searching for the spi id in the technical reference manual, but I can't find it. Where can I find the reason for these values?
uint32_t size_id = flash_id >> 16;

if (size_id < 0x12 || size_id > 0x18) {
return ESP_LOADER_ERROR_UNSUPPORTED_CHIP;
}
Thank you
by pepopi
Sat Jun 24, 2023 11:01 am
Forum: ESP-IDF
Topic: ESP SERIAL FLASHER SPI COMMAND
Replies: 2
Views: 748

Re: ESP SERIAL FLASHER SPI COMMAND

Thank you, I have another question I'm looking up the SPI register in the technical reference manual and I can't find the flash ID register. Do you know where is it?
by pepopi
Thu Jun 22, 2023 3:04 pm
Forum: ESP-IDF
Topic: ESP SERIAL FLASHER SPI COMMAND
Replies: 2
Views: 748

ESP SERIAL FLASHER SPI COMMAND

Hello, I have a doubt, in the ESP serial flasher protocol.h do the commands have a reason for having those precise values? If so, where can I consult that in the technical reference manual? And if not why does it skip certain values? typedef enum __attribute__((packed)) { FLASH_BEGIN = 0x02, FLASH_D...
by pepopi
Wed Jun 21, 2023 2:09 pm
Forum: ESP-IDF
Topic: SPI FLASH ID
Replies: 1
Views: 605

SPI FLASH ID

Hello everyone,
I am reading the esp32 technical reference manual but I can not find where the SPI flash id register is and what these values are to detect the esp32 flash size. Does anyone know where can I find this information?
Thank you
by pepopi
Sun Jun 11, 2023 6:34 pm
Forum: ESP-IDF
Topic: Get the value of the addresses dynamically
Replies: 3
Views: 1009

Re: Get the value of the addresses dynamically

Thank you for answering, but could you give a more comprehensive response or an example where this is used?
Thank you
by pepopi
Fri Jun 09, 2023 9:19 am
Forum: ESP-IDF
Topic: Get the value of the addresses dynamically
Replies: 3
Views: 1009

Get the value of the addresses dynamically

Hello I am modifying the esp-serial-flaser and I would like to know if there is a way to obtain the application's address. Almost always the bootloader address and the partition table address is the same. But how could I obtain the address of where to flash the firmware.bin dynamically?
Thank you
by pepopi
Thu Jun 08, 2023 10:44 am
Forum: ESP-IDF
Topic: SPIFFS EXAMPLE
Replies: 1
Views: 644

SPIFFS EXAMPLE

Hello everyone, I am running the spiffs example in two different ESP32. However I get watchdog error. How can I solve it? Thank you. E (5336) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time: E (5336) task_wdt: - IDLE (CPU 0) E (5336) task_wdt: Task...
by pepopi
Fri May 26, 2023 9:32 am
Forum: ESP-IDF
Topic: ESP32 serial flasher example
Replies: 5
Views: 1469

Re: ESP32 serial flasher example

Sorry sir for bothering you again, but I have a problem. I have uploaded to the binaries folder the binaries of a project that blinks a LED to check if the flashing works correctly. But after flashing the files and disconnecting the uart0, gpio0 and enable pins, and reseting the slave slave esp32. T...
by pepopi
Thu May 18, 2023 9:49 am
Forum: ESP-IDF
Topic: ESP32 serial flasher example
Replies: 5
Views: 1469

Re: ESP32 serial flasher example

The only thing I hadn't tried was trying other cables. I have already found the problem.
Thank you very much for answering sir
by pepopi
Wed May 17, 2023 12:47 pm
Forum: ESP-IDF
Topic: ESP32 serial flasher example
Replies: 5
Views: 1469

Re: ESP32 serial flasher example

Sorry sir, my error is Cannot connect to target. Error: 2
I have tried executing the code in different computers and esp-idf versions and I still get this error. I have also tried it with different ESP32 dev boards.

Thank you