ESP_igrr wrote:An update to JTAG debugging guide in IDF is in progress, but for now you can keep using OpenOCD as you used it in the past, and it will allow you to set more breakpoints. Previously the limit was 2 hardware breakpoints, and now the limit is 2 hardware + 32 software breakpoints in Flash + 32 software breakpoints in IRAM.
Thank you very much for the clarification. I just setup the esp development environment on a ubuntu virtual machine. I am very new to openocd and gdb. I installed the eclipse as my coding front end. And use the GNU MCU ECLIPSE plugin to call openocd and gdb. Now code complies and debug properly on my setup. The only problem is if I add more than two breakpoints, openocd will complain
Code: Select all
Warn : xtensa_add_breakpoint: max slot reached, slot=2
Error: can't add breakpoint: resource not available
I havent tried to directly use commend line with openocd yet. I ll try tomorrow see if commend line allows me to add more breakpoints