grandideastudio / jtagulator

JTAGulator: Assisted discovery of on-chip debug interfaces
https://grandideastudio.com/portfolio/security/jtagulator/
658 stars 91 forks source link

Scans aborting by default without waiting for the spacebar or any other key #54

Closed ramyapandian1987 closed 2 years ago

ramyapandian1987 commented 2 years ago

Kindly help us to resolve the issue. Details are as follows -

JTAGulator firmware version – 1.10 Description of the target hardware – Linux Raspberrypi 5.10.63-v7l+ armv7l GNU/LINUX Connections/Wiring - image image Below is the IDCODE scan output for jtag option - image Below is the BYPASS scan output for jtag option - image • Operating system details – macOS Monterey Version 12.2.1 • Version numbers of any accompanying software – CoolTerm version 1.9.1 • What steps you have already taken to troubleshoot/debug the issue Updated settings on Raspberry Pi 4 (Target) – as mentioned in http://www.grandideastudio.com/wp-content/uploads/jtagulator_rpi_demo_notes.pdf

  1. enable_jtag_gpio = 1
  2. enable_uart = 1
  3. Removed quiet from cmdline.txt
  4. gpio=22-27=np
joegrand commented 2 years ago

Thanks for the detailed report.

It's likely that the terminal program is sending both a CR and a LF, which is causing the JTAGulator to interpret it as two separate key presses. Please check your CoolTerm settings as shown below - you'll want to ensure that it's only sending a CR.

Screen Shot 2022-03-16 at 8 34 00 AM
ramyapandian1987 commented 2 years ago

Thank you very much for the quick response! Really appreciate it.

It is working fine now. Have a great day!

ramyapandian1987 commented 2 years ago

Hello Sir,

I am trying to dump the memory of my RaspberryPi 4 through Jtagulator and OpenOCD. However, I am facing the following issue -

Screen Shot 2022-04-05 at 1 45 55 PM

Attached is the raspberrypi 4 config file that I use - raspi4_config.txt

I am reopening this issue because the details of my hardwares remain the same as mentioned above.

Kindly help us resolve this issue.

Thanks!

joegrand commented 2 years ago

This is a different issue that has to do with your host configuration, not with the JTAGulator functionality. Please see the OpenOCD section of the Wiki and closed issue #51. We aren't able to help with individual implementations like this.

joegrand commented 2 years ago

A video demonstration of the OpenOCD functionality can be found here.