• 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

JTAG and light sleep

Q&A Forum › JTAG and light sleep
0 Vote Up Vote Down
Doug Clarke asked 3 years ago

So,
I’m trying to do debugging of my code that uses light sleep.

When I use the built-in USB/JTAG interface, opened disconnects and dies when the DEV board goes into light sleep.
It seems that the USB port goes away because it is powered down.
Questions.

1) Is there a what to force the chip to keep the UAB/JTAG powered up during debug?

2) If I have an external USB to JTAG pod and connect to the four JTAG pins of the dev board, will that work through light-sleep, or will it fail as well when the JTAG is powered down?

Thanks.

Question Tags: JTAG light_sleep
2 Answers
0 Vote Up Vote Down
Doug Clarke answered 3 years ago

I got an answer from Expressive.
The answer to both questions is no.

  1. The USB goes away when it goes to sleep and so drops the connection to openocd.
  2. The JTAG goes away when it goes to sleep and openocd doesn’t;t know how to reconnect when using an external USB/JTAG pod.

So when working with light sleep, its printf and DIOs/LEDs for debugging.
 
 

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
I also thought so, but I wasn’t sure.
Thanks for sharing the answer.
I’ll close this issue.
Regards,
Sara

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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 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.