Menu

#180 qspyview.tcl for peek is not in sync with the qs_rx parsing of peek

QTools
closed
None
1
2017-12-09
2017-08-01
No

Forum Link: [Possible bug: QSpyView and QSpy (Peek)] (https://sourceforge.net/p/qpc/discussion/668726/thread/3f0d948b/#dadb)
QPC: 5.9.3
QM: 4.0.3
QTools: 5.9.1

Bug Description:
1. In QSpyView, I set current obj for AP_OBJ to 0x20000000
2. From the QSpyView, command --> peek. In my test, I use offset address is 0x09E0 and size of 4.
Result: I always get "Trg-ERR QS_RX_PEEK"

I traced the code and found out that in state WAIT4_PEEK_SIZE, "b" is always 0 (zero). I inspected the QS receive buffer (shown below). It is observed that the offset data sent by QSpyView is 4bytes and in state WAIT4_PEEK_OFFS, it expects offset of 2bytes.

qsRxBuf[111] 0x7E
qsRxBuf[112] 0x0C
qsRxBuf[113] 0x04 <-- peek size
qsRxBuf[114] 0x00 <-- ?? (perhaps QSpyView is sending 0x000009E0?)
qsRxBuf[115] 0x00 <-- ??
qsRxBuf[116] 0x09 <-- peek offset: 0x09E0
qsRxBuf[117] 0xE0
qsRxBuf[118] 0x04 <-- REC
qsRxBuf[119] 0x02 <-- SEQ

Discussion

  • Quantum Leaps

    Quantum Leaps - 2017-12-09
    • status: open --> closed
     
  • Quantum Leaps

    Quantum Leaps - 2017-12-09

    Fixed in QTools 6.0.2.
    --MMS

     

Anonymous
Anonymous

Add attachments
Cancel