Search found 30 matches

by Bryght-Richard
Fri Sep 06, 2024 6:50 pm
Forum: ESP-IDF
Topic: GATT procedure initiated: notify; att_handle =
Replies: 1
Views: 1536

Re: GATT procedure initiated: notify; att_handle =

Apologies for restarting this old thread, but Google has chosen it. Adjust the Nimble Log Level in SDK config to prevent those message:

CONFIG_BT_NIMBLE_LOG_LEVEL_WARNING=y
CONFIG_BT_NIMBLE_LOG_LEVEL=2
by Bryght-Richard
Thu Aug 29, 2024 6:43 pm
Forum: General Discussion
Topic: LILYGO T-SIM7000G WITH CAMERA
Replies: 1
Views: 878

Re: LILYGO T-SIM7000G WITH CAMERA

Find or build a demo project for each of those functions. Make sure they work, and that you understand them. Then combine them into a new project.
by Bryght-Richard
Wed Aug 28, 2024 4:46 pm
Forum: General Discussion
Topic: ESP32 Forum search bug
Replies: 1
Views: 684

Re: ESP32 Forum search bug

Yes, they recommended to use google with "site:esp32.com".

viewtopic.php?f=14&t=40211
by Bryght-Richard
Fri Aug 23, 2024 6:39 pm
Forum: General Discussion
Topic: xtensa calling convention: arguments pre-extended, post-extended, or both?
Replies: 1
Views: 657

xtensa calling convention: arguments pre-extended, post-extended, or both?

More notes here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116467 #include <stdint.h> __attribute__ ((noinline)) uint32_t callee(uint32_t x, uint16_t y){ return x + y; } __attribute__ ((noinline)) uint32_t caller(uint32_t x, uint32_t y){ return callee(x, y); } In the above code, both caller() and...
by Bryght-Richard
Tue Aug 13, 2024 3:24 pm
Forum: ESP-IDF
Topic: Profiling on Espressif MCUs woes
Replies: 11
Views: 2843

Re: Profiling on Espressif MCUs woes

Cleaned up patches for upstream OpenOCD available here, could use reviewers and testers for ESP32 and ESP32-S2.
by Bryght-Richard
Wed Aug 07, 2024 1:35 pm
Forum: ESP-IDF
Topic: RMT transaction on led strip corrupted by WiFi interrupts
Replies: 8
Views: 1816

Re: RMT transaction on led strip corrupted by WiFi interrupts

I saw this once, but it was 2.4GHz radio transmission was sagging power supply slightly, so then RMT bitstream level was not reaching VIH level for LED strip.
by Bryght-Richard
Fri Aug 02, 2024 4:23 pm
Forum: ESP-IDF
Topic: Profiling on Espressif MCUs woes
Replies: 11
Views: 2843

Re: Profiling on Espressif MCUs woes

I found Espressif's gprof. Changing the default is easy, but combining multiple text sections is more complicated, but should be doable by merging the symbol sets using BFD.
by Bryght-Richard
Fri Aug 02, 2024 3:31 pm
Forum: ESP-IDF
Topic: Profiling on Espressif MCUs woes
Replies: 11
Views: 2843

Re: Profiling on Espressif MCUs woes

Thanks ESP_Sprite. I think it should be possible to support them all with this approach, I just need to figure out how to structure it in OpenOCD so they can all share the same implementation. Also, does Espressif maintain their own port of gprof, or distribute mainline? It might make sense to patch...
by Bryght-Richard
Thu Aug 01, 2024 3:15 pm
Forum: ESP-IDF
Topic: Profiling on Espressif MCUs woes
Replies: 11
Views: 2843

Re: Profiling on Espressif MCUs woes

Moving to polling XDM_TRAX_DEBUGPC non-intrusively: Built-in JTAG -> 2.9ksamples/second. USB2.0 FT2232H -> 3.4ksamples/second Built-in JTAG with request batching -> 18ksample/second :) USB2.0 FT2232H with request batching -> 100ksample/second! A very rough set of changes is available for the ESP32-S...
by Bryght-Richard
Wed Jul 31, 2024 9:47 pm
Forum: ESP-IDF
Topic: Profiling on Espressif MCUs woes
Replies: 11
Views: 2843

Re: Profiling on Espressif MCUs woes

Thanks ESP_Sprite! I'll give that a try later.

I wired an FT2232H into OpenOCD - was able to reach ~14 samples per second, mostly due to reduced USB2.0 latency(125us for FT2232H vs 1ms for ESP32-S3 USB JTAG), not fast enough to usefully program our system.