Search found 148 matches

by ESP_Dazz
Thu Oct 10, 2019 3:26 am
Forum: ESP32 Arduino
Topic: Make Arduino Code work inside Custom ESP32 Wrover32 Module
Replies: 1
Views: 206

Re: Make Arduino Code work inside Custom ESP32 Wrover32 Module

You shouldn't need to. The first stage bootloader is ROM code that is already inside the ESP32, and the second stage bootloader is part of the binary that you flash. No BLE communication is initialized. Could you be more specific as to what isn't working? For example, are you seeing any UART log out...
by ESP_Dazz
Thu Oct 10, 2019 3:23 am
Forum: General Discussion
Topic: How to profile ESP32 application performance?
Replies: 2
Views: 446

Re: How to profile ESP32 application performance?

Take a look at the Gcov Guide and Gcov Exmaple. It should be able to profile any functions of your choosing, but it requires JTAG.
by ESP_Dazz
Wed Oct 09, 2019 4:44 pm
Forum: ESP32 Arduino
Topic: Using the official CAN driver with Arduino
Replies: 7
Views: 568

Re: Using the official CAN driver with Arduino

@ dmaxben Just a few pointers regarding IDF CAN driver usage It's probably a good idea to use the member names when initializing a CAN message structure in case the order of the members change in the future versions of the driver. There are also a bunch of message flags documented here to set/check ...
by ESP_Dazz
Wed Oct 09, 2019 10:49 am
Forum: ESP32 IDF
Topic: Interrupt wdt on Uninstall CAN driver
Replies: 9
Views: 406

Re: Interrupt wdt on Uninstall CAN driver

@brp80000 I think I see the issue. When can_driver_uninstall() is called, internally it will deallocate the driver's interrupt by esp_intr_free() . However, if the interrupt was allocated on one core (e.g. Core 0), then freed by the other core (e.g. Core 1), esp_intr_free() will internally call esp_...
by ESP_Dazz
Wed Oct 09, 2019 9:34 am
Forum: ESP32 IDF
Topic: Interrupt wdt on Uninstall CAN driver
Replies: 9
Views: 406

Re: Interrupt wdt on Uninstall CAN driver

Would it be possible for you to post your .elf file. I want to see the full backtrace of both CPUs.
by ESP_Dazz
Wed Oct 09, 2019 9:16 am
Forum: ESP32 IDF
Topic: Interrupt wdt on Uninstall CAN driver
Replies: 9
Views: 406

Re: Interrupt wdt on Uninstall CAN driver

Run xtensa-esp32-elf-addr2line and provide the project's .elf and backtrace addresses as arguments. The .elf file should be located somewhere in your project's build directory. For example: cd $MY_PROJECT_WORKSPACE/hello_world xtensa-esp32-elf-addr2line -e build/hello-world.elf 0x40087cc0:0x3ffbcc70...
by ESP_Dazz
Wed Oct 09, 2019 8:47 am
Forum: ESP32 IDF
Topic: Interrupt wdt on Uninstall CAN driver
Replies: 9
Views: 406

Re: Interrupt wdt on Uninstall CAN driver

Could you decode the backtrace please
by ESP_Dazz
Tue Oct 08, 2019 12:10 pm
Forum: ESP32 Arduino
Topic: ED Stripes with Button Interrupts strange behaviour
Replies: 4
Views: 244

Re: ED Stripes with Button Interrupts strange behaviour

Moderators Note: Moved to ESP32 Arduino forum
by ESP_Dazz
Tue Oct 08, 2019 8:21 am
Forum: General Discussion
Topic: Esp entering boot mode
Replies: 1
Views: 2557

Re: Esp entering boot mode

GPIO0 should be internally pulled up, so leaving the PIN floating usually isn't an issue. However, keep in mind the internal pull-ups are quite weak (45 K Ohms). Is GPIO0 left completely floating or is it connected to something else (e.g. PCB trace)? Does the issue still persist if you externally ap...
by ESP_Dazz
Tue Oct 08, 2019 7:30 am
Forum: ESP32 Arduino
Topic: Can bus issue , stuck messages
Replies: 9
Views: 824

Re: Can bus issue , stuck messages

I'm not too familiar with the MCP CAN controllers, but generally speaking, a CAN node that is transmitting a message will continuously repeat a message if it detects some form of error in the message it is trying to transmit (e.g. Bit, Form, CRC, and ACK errors). Depending on the error type, this ca...

Go to advanced search