Motors causing board flashing problems.
Posted: Tue Dec 11, 2018 8:12 pm
Hi,
So I'm pretty new to ESP32. I'm using the ESP32-WROVER kit and I'm really impressed with all the examples etc. I'm using Visual GDB to program the board but I've recently stumbled across a problem and I'm stuck.
I'm running the 'mcpwm_brushed_dc_control' example, the example is working, and my motor is spinning. However, this is causing an issue when trying to program the board thereafter. Something about this seems to mess with my JTAG, and I can't program my board for 5 mins or so (NOTE: I have not damaged the board, it still flashes, just not right away after running the motor example, I have to turn it off for a few minutes and then it seems to be okay).
I have connected a ground from my H-Bridge to the microcontroller for a common ground (Just like you would on any arduino or STM32). Do you think this is causing a problem? any suggestions?
Thank you.
So I'm pretty new to ESP32. I'm using the ESP32-WROVER kit and I'm really impressed with all the examples etc. I'm using Visual GDB to program the board but I've recently stumbled across a problem and I'm stuck.
I'm running the 'mcpwm_brushed_dc_control' example, the example is working, and my motor is spinning. However, this is causing an issue when trying to program the board thereafter. Something about this seems to mess with my JTAG, and I can't program my board for 5 mins or so (NOTE: I have not damaged the board, it still flashes, just not right away after running the motor example, I have to turn it off for a few minutes and then it seems to be okay).
I have connected a ground from my H-Bridge to the microcontroller for a common ground (Just like you would on any arduino or STM32). Do you think this is causing a problem? any suggestions?
Thank you.