EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1386 background imageLoading...
Page #1386 background image
Chapter 4. API Guides
Warning: Attempting to use serial over the wrong channel with the FTDI driver will cause a kernel panic.
The ESP-WROVER-KIT uses channel A for JTAG and channel B for serial.
4. Run OpenOCD:
openocd -f board/esp32s2-kaluga-1.cfg
5. In another terminal window, load FTDI serial port driver again:
sudo kextload -b com.FTDI.driver.FTDIUSBSerialDriver
Note: If you need to restart OpenOCD, there is no need to unload FTDI driver again just stop OpenOCD and
start it again. The driver only needs to be unloaded if ESP32-S2-Kaluga-1 was reconnected or power was toggled.
This procedure can be wrapped into a shell script, if desired.
Modifying FTDI driver In a nutshell, this approach requires modification to FTDI driver configuration file, which
prevents the driver from being loaded for channel B of FT2232H.
Note: Other boards may use channel A for JTAG, so use this option with caution.
Warning: This approach also needs signature verification of drivers to be disabled, so may not be acceptable
for all users.
1. Open FTDI driver configuration file using a text editor (note sudo):
sudo nano /Library/Extensions/FTDIUSBSerialDriver.kext/Contents/Info.plist
2. Find and delete the following lines:
<key>FT2232H_B</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.FTDI.driver.FTDIUSBSerialDriver</string>
<key>IOClass</key>
<string>FTDIUSBSerialDriver</string>
<key>IOProviderClass</key>
<string>IOUSBInterface</string>
<key>bConfigurationValue</key>
<integer>1</integer>
<key>bInterfaceNumber</key>
<integer>1</integer>
<key>bcdDevice</key>
<integer>1792</integer>
<key>idProduct</key>
<integer>24592</integer>
<key>idVendor</key>
<integer>1027</integer>
</dict>
3. Save and close the file
4. Disable driver signature verification:
1. Open Apple logo menu, choose Restart
2. When you hear the chime after reboot, press CMD+R immediately
3. Once Recovery mode starts up, open Terminal
4. Run the command:
Espressif Systems 1375
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish