[Libre-soc-bugs] [Bug 511] Add a test of IO pins to debug/test/test_jtag_tap.py

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Oct 22 00:04:43 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=511

--- Comment #18 from Cole Poirier <colepoirier at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #17)
> (In reply to Cole Poirier from comment #16)
>
> > python3 test_jtag_tap.py 
> this is unfinished / abandoned.

Ok. Here's the relevant openocd_test.sh error:

```
./debug/test/openocd_test.sh
[snip]
SIR 4 TDI (8) SMASK (f) ;
SDR 8 TDI (3) SMASK (ff) ;
SIR 4 TDI (9) SMASK (f) ;
SDR 64 TDI (0000000000000000) SMASK (0000000000000000) TDO (00000000deadbeef)
MASK (ffffffffffffffff) ;
Error: tdo check error at line 37
Error:     READ = 0x000000000000004
Error:     WANT = 0x000000000000002
Error:     MASK = 0xffffffffffffffff
Time used: 0m0s348ms 
svf file programmed failed
Info : remote_bitbang interface quit
```


```
python3 test_jtag_tap_srv.py server talking to `./debug/test/openocd_test.sh`
running server only as requested, use openocd remote to test
[snip]
        dmi wen, addr 0 1
        dmi wen, addr 0 3
        read msr reg
Traceback (most recent call last):
  [snip]
  File "/home/colepoirier/src/soc/src/soc/debug/jtagutils.py", line 98, in
jtag_srv
    data = dut.s.jtagremote_server_recv(tdo)
  File "/home/colepoirier/src/soc/src/soc/debug/jtagutils.py", line 169, in
jtagremote_server_recv
    data = ord(data) - ord('0')
TypeError: ord() expected a character, but string of length 0 found
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list