lpc_sniffer icon indicating copy to clipboard operation
lpc_sniffer copied to clipboard

lpc sniffer decodes wrong data

Open lynxis opened this issue 7 years ago • 2 comments

Board: apu3 fpga board: icestick

Using iob util from https://review.coreboot.org/#/c/21438/

root@LEDE:~# ./iob r 0x03fd 
read 03fd = 60

The sniffer decodes it correctly. So when doing one read, it shows only one read. But the upper bit seems to bit unsure:

 io:  read 000003fd:   c0
 io:  read 000003fd:   c0
 io:  read 000003fd:   e0
 io:  read 000003fd:   c0
 io:  read 000003fd:   c0
 io:  read 000003fd:   e0
 io:  read 000003fd:   c0
 io:  read 000003fd:   c0
 io:  read 000003fd:   e0
 io:  read 000003fd:   e0
 io:  read 000003fd:   c0
 io:  read 000003fd:   c0
 io:  read 000003fd:   e0
 io:  read 000003fd:   c0
 io:  read 000003fd:   c0
 io:  read 000003fd:   e0
 io:  read 000003fd:   c0
 io:  read 000003fd:   c0
 io:  read 000003fd:   e0
 io:  read 000003fd:   c0
 io:  read 000003fd:   c0
 io:  read 000003fd:   e0
 io:  read 000003fd:   e0
 io:  read 000003fd:   c0
 io:  read 000003fd:   c0
 io:  read 000003fd:   e0
 io:  read 000003fd:   c0
 io:  read 000003fd:   c0
 io:  read 000003fd:   e0
 io:  read 000003fd:   c0
 io:  read 000003fd:   c0
 io:  read 000003fd:   e0
 io:  read 000003fd:   c0
 io:  read 000003fd:   c0
 io:  read 000003fd:   e0

lynxis avatar Sep 07 '17 13:09 lynxis

could it be the sync word?

lynxis avatar Sep 07 '17 14:09 lynxis

I had this same problem, was resolved when I went to always @(posedge lpc_clock or negedge lpc_reset) begin in lpc.v

denandz avatar Mar 14 '19 22:03 denandz