L1 reload count display bug removed (?!)

master
kaqu 2 years ago
parent c698098604
commit c13677c1b6
  1. 1
      debugger/qt5dbg.py
  2. 2
      debugger/risq5dbg.py

@ -256,6 +256,7 @@ class dbgWindow(QMainWindow):
def UpdateRISQ5Stati(self, bRetrieveAll):
if self.wb != None: # Valid data avail.?
# DRAM loader stati
self.wb.regs.dramtransfer_b32RCount.read() # Wake-up? 1st read seems to fail sometimes ...
i32DRAMReadCount = self.wb.regs.dramtransfer_b32RCount.read()
i32DRAMReadOffset = self.wb.regs.dramtransfer_b9Offset.read()
i32DRAMReadData = self.wb.regs.dramtransfer_b32Data.read()

@ -31,7 +31,7 @@ def risq5dbg(csr_csv):
wb.regs.risq5ext_b32_next_pc.write(0x40190000) # Provide a new PC address
mode = wb.regs.risq5ext_b32mode.read() # Pick up current mode setting
wb.regs.risq5ext_b32mode.write(mode | 16) # Adjust PC, will load L1 2nd time now
wb.regs.risq5ext_b1_wb_reg_we.write(0) # Reset write requests (if any pending)
wb.regs.risq5ext_b1_wb_reg_we.write(0) # Reset write requests (if any pending)
run_Qt5_GUI(wb) # Now switch to GUI (will never return!)

Loading…
Cancel
Save