lpc_sniffer
lpc_sniffer copied to clipboard
lpc sniffer decodes wrong data
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
could it be the sync word?
I had this same problem, was resolved when I went to always @(posedge lpc_clock or negedge lpc_reset) begin
in lpc.v