Page 1 of 1

Blink example // Too large number of threads

Posted: Wed Feb 17, 2021 6:47 pm
by MarkusR
Hi,

I'm trying to flash the blink example but it doesn't seem to go well.

I'm using a raspberry PI for the JTAG connection. My board is an ESP32-WROOM-S2 breakout board.

Code: Select all

openocd -f interface/raspberrypi-native.cfg -f board/esp32s2-kaluga-1.cfg 
Open On-Chip Debugger  v0.10.0-esp32-20201202 (2020-12-10-12:17)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Warn : Transport "jtag" was already selected
Info : FreeRTOS creation
Warn : Transport "jtag" was already selected
adapter speed: 500 kHz

Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : BCM2835 GPIO JTAG/SWD bitbang driver
Info : JTAG and SWD modes enabled
Info : clock speed 500 kHz
Info : JTAG tap: esp32s2.cpu tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32s2: Target halted, PC=0x40090DCE, debug_reason=00000001
Info : Detected ESP32-S2 chip
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Warn : No symbols for FreeRTOS!
Info : esp32s2: Target halted, PC=0x400314BA, debug_reason=00000001
Info : Flash mapping 0: 0x10020 -> 0x3f000020, 24 KB
Info : Flash mapping 1: 0x20020 -> 0x40080020, 69 KB
Info : esp32s2: Target halted, PC=0x400314BA, debug_reason=00000001
Info : Auto-detected flash bank 'esp32s2.flash' size 4096 KB
Info : Using flash bank 'esp32s2.flash' size 4096 KB
Info : esp32s2: Target halted, PC=0x400314BA, debug_reason=00000001
Info : Flash mapping 0: 0x10020 -> 0x3f000020, 24 KB
Info : Flash mapping 1: 0x20020 -> 0x40080020, 69 KB
Info : Using flash bank 'esp32s2.irom' size 72 KB
Info : esp32s2: Target halted, PC=0x400314BA, debug_reason=00000001
Info : Flash mapping 0: 0x10020 -> 0x3f000020, 24 KB
Info : Flash mapping 1: 0x20020 -> 0x40080020, 69 KB
Info : Using flash bank 'esp32s2.drom' size 28 KB
Error: Too large number of threads 1073475180!
on the client I'm running:

Code: Select all

xtensa-esp32-elf-gdb build/blink.elf -ex 'target extended-remote 192.168.2.100:3333'
Does anyone know how that can be fixed?
I read that remapping the GPIOs was recommended, but I don't see that the blink gpios interfere with the jtag ios?