Search found 9 matches

by steaky1212
Tue Apr 18, 2023 12:11 pm
Forum: Hardware
Topic: ESP32-S3 USB JTAG and MSD
Replies: 3
Views: 2573

Re: ESP32-S3 USB JTAG and MSD

It's good to know that option1 is impossible due to silicon! Regarding switching out JTAG for MSD during run-time, would this just be a case of not running "tinyusb_driver_install" (etc.), or something a lot more involved? Also, is there a way for the ESP32 to know that it is currently under JTAG an...
by steaky1212
Mon Apr 17, 2023 1:20 pm
Forum: Hardware
Topic: ESP32-S3 USB JTAG and MSD
Replies: 3
Views: 2573

ESP32-S3 USB JTAG and MSD

Hi everyone, Is it possible to use the USB port for both JTAG and MassStorageDevice (or CDC)? This can either be: it enumerates as a composite device for the first 10 seconds of booting it is JTAG, but then switches over to MSD if nothing has connected I am using the ESP32-S3-Mini and I'm using ever...
by steaky1212
Thu Oct 27, 2022 3:48 pm
Forum: ESP-IDF
Topic: How to determine all ESP-IDF component include directories for running a code analysis tool
Replies: 6
Views: 4915

Re: How to determine all ESP-IDF component include directories for running a code analysis tool

Thanks gtjoseph. Do you know how I can call the standard GCC executable (I'm using Clang but that's just a drop-in-replacement for GCC so should be the same) and tell it to use this ESP-specific preprocessor executable? From what I can see I'm supposed to be using the -no-integrated-cpp and -B flags...
by steaky1212
Tue Oct 18, 2022 2:31 pm
Forum: ESP-IDF
Topic: How to determine all ESP-IDF component include directories for running a code analysis tool
Replies: 6
Views: 4915

Re: How to determine all ESP-IDF component include directories for running a code analysis tool

Apologies for the late reply, just getting around to this now. Thanks both for your suggestions, my tool works with both of them. However, there is an include of a "../hal.h" file in one of the IDF source files which cannot be resolved and thus causes an error to be produced in my tool. I've searche...
by steaky1212
Fri Sep 30, 2022 3:44 pm
Forum: ESP-IDF
Topic: How to determine all ESP-IDF component include directories for running a code analysis tool
Replies: 6
Views: 4915

How to determine all ESP-IDF component include directories for running a code analysis tool

I have built a code analysis tool using Clang that is intended to perform various checks on the first-party code in our ESP project (variable naming based on the type, function naming, etc.). In order for this tool to work correctly, it needs to be given the include directories for all of the ESP-ID...
by steaky1212
Tue Aug 30, 2022 2:49 pm
Forum: ESP-IDF
Topic: NimBLE how to do directed advertising with RPA address
Replies: 0
Views: 1065

NimBLE how to do directed advertising with RPA address

I need to have a BLE peripheral perform directed advertising to a central that has previously bonded. The central is a phone and is thus using a resolvable private address. How can this be achieved with the NimBLE stack? Specifically, how do I retrieve the correct address from the bonding storage to...
by steaky1212
Thu Aug 25, 2022 4:02 pm
Forum: ESP-IDF
Topic: NimBLE how to only allow previously bonded central to connect?
Replies: 2
Views: 1748

NimBLE how to only allow previously bonded central to connect?

I'm working on a BLE peripheral using the NimBLE stack, and a key requirement is that it must only allow a single central device which has previously bonded with it to connect (until a button is pressed, clearing the stored bond and allowing a different central to bond). But figuring out how to impl...
by steaky1212
Wed Jul 27, 2022 10:54 am
Forum: Hardware
Topic: ESP32-S3 enabling GPIO39-GPIO42
Replies: 7
Views: 5726

Re: ESP32-S3 enabling GPIO39-GPIO42

Yes, this was absolutely my fault!!

One pin I was trying to enable a pull-up on is probably being held externally low by something else.
The others, I was calling using the pin number for the mask, not (1u<<pin_number).

Apologies
by steaky1212
Wed Jul 27, 2022 7:53 am
Forum: Hardware
Topic: ESP32-S3 enabling GPIO39-GPIO42
Replies: 7
Views: 5726

ESP32-S3 enabling GPIO39-GPIO42

Hi, I am trying to use GPIO39-GPIO42 as IO (and SDIO) in a project, but I think they are still defined as JTAG pins and so I can't toggle them. I would still like to be able to JTAG through the USB interface. I would prefer to not rely on strapping GPIO3 high. Looking in the datasheet, I think I hav...