Hi,
When I press "enter" key, I can get "0123456789ABCDEF". However, when I input "i" with enter, or even "r 8000", "w 8000 00", I always get "C?" which means command parsing fail. I use Lattice XP2 to run your verilog code.
Thanks, JC
Hi,
I found the problem. I need to modify the auto_baud_with_tracking.v the line from
if (verify && mid_bit_count) target_bits <= {0,(target_bits>>1)};
to
if (verify && mid_bit_count) target_bits`BITS_PER_CHAR:0 <= {1'b0,target_bits`BITS_PER_CHAR:1};
to make it work.
Even doing that, the system is not very stable. The system clock is 50MHz, no matter which baudrate I tried to use, from 19200 to 115200, the i command can only be executed several times and then system no reponse at all. I have to assert reset_i to make it be able to work again.
I am tring to use auto_baud.v now to see if it works better.
JC
Hi,
auto_baud.v works just fine.
JC
Hi,
auto_baud.v works just fine.
JC
Hopefully you were able to find a good solution to the stability problem. I am going to go ahead and close this bug report.