• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Debug with ESP-Prog

Q&A Forum › Category: ESP32 › Debug with ESP-Prog
0 Vote Up Vote Down
James Miller asked 2 years ago

Using Platform IO with ESP-Prog on a esp32doit-devkit-v1 , is there a way to set breakpoints in the script.js code?

Question Tags: ESP-Prog
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
 
I’m sorry but I’m not familiar with the ESP-Prog on the PIO.
In don’t think I can help much here.
 
Regards
Sara

0 Vote Up Vote Down
William Lucid answered 2 years ago

Yes, ESP-Prog can be used with the ESP32DOIT-DevKit-V1 board. The ESP-Prog is a universal programmer and debugger that supports a variety of Espressif microcontrollers, including the ESP32. It uses a standard 2×5 pin header interface for programming and debugging, and the ESP32DOIT-DevKit-V1 board has a compatible header that can be used to connect to the ESP-Prog.
To use the ESP-Prog with the ESP32DOIT-DevKit-V1 board, you will need to connect the header pins on the ESP-Prog to the corresponding pins on the board. The pinout for the header on the board is typically labeled as “JTAG” or “DEBUG”, and can be found in the board’s documentation.
Once the connections are made, you can use the ESP-Prog with your preferred development environment to program and debug your ESP32 application code”  Source:  ChatGPT

Sharing Ralph S Bacon’s video I recently viewed:  #261 ESP32 Line-by-line Debugging – works with many ESP32 modules

Internet resources about ESP-Prog debugging

ESP-Prog available from Mouser Electronics

Breadboarding adapter for debugging

Regards,
William

0 Vote Up Vote Down
James Miller answered 2 years ago

William
I have it working and can set breakpoints and view var’s in the .cpp source. My question was how can I set breakpoints in the .js code

0 Vote Up Vote Down
William Lucid answered 2 years ago

Sorry I did not answer your question. Other forum readers may find out more info about the ESP-Prog and its use and some resources available about the device from my reply.

Respectfully,
William

0 Vote Up Vote Down
James Miller answered 2 years ago

Thanks William,  The links were great information.
If I find my answer I will update the post. My code uses a script.js in the data folder of Platform IO under VS Code. It is loaded to the file system (SPIFFS) It may work if the code was in the main memory stack. I need to try that next.
Jim
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.