Skip to content

Commit

Permalink
Fixed Jtag bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tabishimran committed Apr 18, 2017
1 parent e2bc5a9 commit eef8922
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def __init__(self,ser):
self.ser=ser
super(UART_ConsoleReadThread,self).__init__()
string=""

print("[*] Initializing ConsoleReadThread ")

def __del__(self):
Expand Down Expand Up @@ -127,7 +128,11 @@ def close(self):
self.terminate()

def run(self):
self.proc=subprocess.Popen(['x-terminal-emulator','-e','arm-none-eabi-gdb','--eval-command=\"target remote localhost:3333\"',self.elf_path])
#string='x-terminal-emulator -e arm-none-eabi-gdb --eval-command=\"target remote localhost:3333\"'+self.elf_path
f=open("src/gdbtemp.sh","w")
f.write("x-terminal-emulator -e arm-none-eabi-gdb --eval-command=\"target remote localhost:3333\""+self.elf_path)
f.close()
subprocess.Popen(["bash","src/gdbtemp.sh"])


class I2COperationThread(QtCore.QThread):
Expand Down

0 comments on commit eef8922

Please sign in to comment.