Search found 142 matches

by ESP_Dazz
Fri Nov 08, 2019 11:52 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32如何触发软件复位?
Replies: 3
Views: 155

Re: ESP32如何触发软件复位?

有几种方法
  • 内核复位:除了RTC,会把整个digital 的寄存器全部复位,包括CPU、所有外设和数字GPIO。可以用RTC_CNTL_OPTIONS0_REG 的 RTC_CNTL_SW_SYS_RST 引发
by ESP_Dazz
Mon Nov 04, 2019 11:29 am
Forum: ESP32 Arduino
Topic: Restart if Guru Meditation Error
Replies: 7
Views: 362

Re: Restart if Guru Meditation Error

If configured to print and reboot, the log output should look something like this (notice how it prints "Rebooting" at the end). Hello World Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled. Core 0 register dump: PC : 0x400d395c PS : 0x00060630 A0 : 0x800d0ab1 A1 : 0...
by ESP_Dazz
Mon Nov 04, 2019 10:31 am
Forum: General Discussion
Topic: Can anybody explain me some things about the ESP32?
Replies: 2
Views: 142

Re: Can anybody explain me some things about the ESP32?

I have to transmit pulses created by an ATmega128 (my plan is to wire ATmegas' UART1 RX/TX with ESPs UART0 RX/TX) but I'm not sure how to set the UART0 only to recieve Not sure if that's a good idea. UART0 is the default UART for all of the ESP32's log output. Therefore, by setting UART0 to receive...
by ESP_Dazz
Mon Nov 04, 2019 9:55 am
Forum: ESP32 Arduino
Topic: CP2102 not activated?
Replies: 1
Views: 118

Re: CP2102 not activated?

boudewijn wrote: Does that chip need to be initiated on the ESP32-side? Can it be that such a chip is not active?
It shouldn't need to be activated. Which development board are you using? And is it a CP2102 or a CP2102N?
by ESP_Dazz
Mon Nov 04, 2019 9:43 am
Forum: ESP32 Arduino
Topic: Restart if Guru Meditation Error
Replies: 7
Views: 362

Re: Restart if Guru Meditation Error

It should already be configured to print and reboot on Arduino, at least according to the sdkconfig file. Could you paste the serial output of the Guru Meditation error you're seeing?
by ESP_Dazz
Fri Nov 01, 2019 5:46 pm
Forum: ESP32 Arduino
Topic: Restart if Guru Meditation Error
Replies: 7
Views: 362

Re: Restart if Guru Meditation Error

In menuconfig, the config option CONFIG_ESP32_PANIC should allow you to set the panic behavior to:
  • Print registers and halt
  • Print registers and reboot
  • Silent reboot
  • Invoke GDBStub
by ESP_Dazz
Tue Oct 22, 2019 3:12 pm
Forum: ESP32 IDF
Topic: Timer tick
Replies: 6
Views: 228

Re: Timer tick

Thank you! If the FreeRTOS tick 1ms, then it is 1000 Hz, not 100 Hz, right? Or do you mean tick is 10ms each so 100 Hz is correct? I read your example of the macro and think I should just go with the pdMS_TO_TICKS(). Yep, I meant 10ms. My bad :lol: BTW, do you know how long does it take to switch b...
by ESP_Dazz
Tue Oct 22, 2019 2:57 pm
Forum: ESP32 Arduino
Topic: himem.h
Replies: 6
Views: 377

Re: himem.h

I suggest you take a look at the Himem Example if you haven't already.
by ESP_Dazz
Tue Oct 22, 2019 2:54 pm
Forum: ESP-IDF 中文讨论版
Topic: ESP32如何触发软件复位?
Replies: 3
Views: 155

Re: ESP32如何触发软件复位?

可以使用 esp_restart(). 但是要注意,大部分外设不会被 esp_restart() 重启,而会在背后继续跑。
by ESP_Dazz
Tue Oct 22, 2019 2:01 pm
Forum: ESP32 IDF
Topic: Timer tick
Replies: 6
Views: 228

Re: Timer tick

If I want to do a delay, is there a convenience function like the delay() in arduino? I'm using a while loop with the vTaskDelay. vTaskDelay() should work as a simple delay. vTaskDelay() essentially blocks the calling task (thread) for a specified number of FreeRTOS ticks. However, since its resolu...

Go to advanced search