Search found 1306 matches

by ESP_igrr
Sun Jan 20, 2019 2:25 am
Forum: ESP32 IDF
Topic: Flash Bootloader to ESP32 via JTAG
Replies: 1
Views: 6

Re: Flash Bootloader to ESP32 via JTAG

Writing to the flash chip using JTAG is described in https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/jtag-debugging/index.html#upload-application-for-debugging for the (more common) case of writing the application. For the bootloader the command will be almost the same, except for t...
by ESP_igrr
Sun Jan 13, 2019 11:35 pm
Forum: ESP32 IDF
Topic: IRQ Startup latency
Replies: 11
Views: 410

Re: IRQ Startup latency

You can also move any other function you call from your ISR to IRAM, such as gpio_set_level. To do this you can add a linker script fragment to your component (https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/linker-script-generation.html). Example linker.lf: [mapping] archive: libdr...
by ESP_igrr
Fri Jan 11, 2019 1:41 am
Forum: General Discussion
Topic: Bootloader problem
Replies: 2
Views: 129

Re: Bootloader problem

Hi Theron, ESP32 contains a bootloader in mask ROM which can not be damaged or rewritten. Therefore running 'make flash' to program the application (such as a hello_world example) should always succeed. The only case this may not succeed is if some of the Efuses related to flash encryption, secure b...
by ESP_igrr
Fri Jan 11, 2019 1:34 am
Forum: ESP32 IDF
Topic: How to use WearLevel in spiffs?
Replies: 2
Views: 115

Re: How to use WearLevel in spiffs?

SPIFFS does wear levelling internally, and expects that it operates on raw SPI flash. As such, it can not be used on top of another flash translation layer, such as wear_levelling library, or on top of encrypted flash.
by ESP_igrr
Thu Jan 10, 2019 3:17 pm
Forum: ESP32 IDF
Topic: IRQ Startup latency
Replies: 11
Views: 410

Re: IRQ Startup latency

If the latency varies between the first and the subsequent ISR execution, then this is probably related to caching. You can move the ISR and the functions it calls into IRAM, by adding IRAM_ATTR to the function definition, or using the Linker Script Generation feature (check "noflash" mapping: https...
by ESP_igrr
Thu Jan 10, 2019 3:26 am
Forum: General Discussion
Topic: Question regarding Core Dumping, and the ELF file used for core dump
Replies: 9
Views: 281

Re: Question regarding Core Dumping, and the ELF file used for core dump

See "ROM Functions in backtraces" https://docs.espressif.com/projects/esp ... backtraces

You need to download the ROM elf file and pass it to the core dump tool using --rom-elf argument.
by ESP_igrr
Wed Jan 09, 2019 2:02 pm
Forum: General Discussion
Topic: Watchdog triggered after light sleep wake up
Replies: 5
Views: 212

Re: Watchdog triggered after light sleep wake up

Timer callbacks are not executed during light sleep (no code is executed, because CPUs are clock gated). After wakeup, pending timers (which would have triggered during sleep) will run. However periodic timers will run at most once, and then will keep running with their expected period.
by ESP_igrr
Wed Jan 09, 2019 1:07 pm
Forum: General Discussion
Topic: Question regarding Core Dumping, and the ELF file used for core dump
Replies: 9
Views: 281

Re: Question regarding Core Dumping, and the ELF file used for core dump

If the error is "Exception happened during core dump!" then the issue might be in the core dump code itself. Would you be able to reduce your code to some minimal example which exhibits the issue, and share that here?
by ESP_igrr
Wed Jan 09, 2019 12:28 pm
Forum: ESP-IDF 中文讨论版
Topic: OTA失败,且不断重启问题.
Replies: 2
Views: 139

Re: OTA失败,且不断重启问题.

Could you please run the app using IDF Monitor ("make monitor" or "idf.py monitor") tool? This will produce a readable backtrace. See https://docs.espressif.com/projects/esp-idf/zh_CN/latest/get-started/idf-monitor.html. The resulting backtrace will give more information to figure out what the issue...
by ESP_igrr
Wed Jan 09, 2019 12:26 pm
Forum: General Discussion
Topic: Question regarding Core Dumping, and the ELF file used for core dump
Replies: 9
Views: 281

Re: Question regarding Core Dumping, and the ELF file used for core dump

The elf file will be there once you have built your project. If you run "make" (or "make -j4" to speed things up) in your project directory, then one of the last few lines of the output will look like: LD build/blink.elf This means that the elf file was generated. The name of the .elf file may be di...

Go to advanced search