New Wroom-32 modules JTAG Problem
Posted: Tue Jan 23, 2018 3:59 pm
Hi, I'm currently working on a project with the Wroom-32 module.
In the current batch of modules we bought, i think from mouser, the preinstalled image is using the JTAG pins and the module won't answer to any JTAG requests without being reset.
I Tweaked around on the openocd script to reset the module via the EN pin, but this only allows for erasing the installed firmware. After that i can use it normally without any tweaks in the openocd script.
I was unable to create a openocd script that allows for programming and debugging with the reset being used.
We had the same behavior on at least 10 modules from the same source. I believe the first batch we had did not have any problems like that.
Is there anyone familiar enough with openocd to create a script that uses reset and works for debugging? or is that impossible?
Are all Wroom-32 modules preprogrammed? or did we just get a bad batch?
Cheers
Rico Kirstein
In the current batch of modules we bought, i think from mouser, the preinstalled image is using the JTAG pins and the module won't answer to any JTAG requests without being reset.
I Tweaked around on the openocd script to reset the module via the EN pin, but this only allows for erasing the installed firmware. After that i can use it normally without any tweaks in the openocd script.
I was unable to create a openocd script that allows for programming and debugging with the reset being used.
We had the same behavior on at least 10 modules from the same source. I believe the first batch we had did not have any problems like that.
Is there anyone familiar enough with openocd to create a script that uses reset and works for debugging? or is that impossible?
Are all Wroom-32 modules preprogrammed? or did we just get a bad batch?
Cheers
Rico Kirstein