-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] uart issue after #883 upd #890
Comments
Hi everyone! I've reproduced this bug in Arty A7 35t. As shown in the following result via CuteCom: I hope it will be solved soon, Cheers! Edit: Maybe the bug comes from here: neorv32/sw/bootloader/bootloader.c Line 395 in e2fa5c7
Since it expects to get a char variable (8 bits) and gets other value. 🤔 That is, the problem is probably coming from the receiver. |
Hi, I've fixed the issue in local changing this line: neorv32/rtl/core/neorv32_uart.vhd Line 289 in e2fa5c7
From Cheers! 😃 Edit: @Polaris-III Could you test my change? |
Hi @Unike267, I'll check your solution tomorrow, thank you |
Seems like I have messed up the UART receiver 🙈 @Polaris-III thanks for finding this bug! @Unike267 your fix looks great! Would you open a PR? 😉 |
According to stnolting#890 [bug] uart issue after stnolting#883 upd The change is in neorv32_uart.vhd file In 289 line: From rx_engine.sreg(8 downto 1) to rx_engine.sreg(7 downto 0)
Done! 😃 When you merge it be careful with my commit description I should have written "on line 289" or "in line 289" instead of "in 289 line" sorry for that. 😅 |
Describe the bug
After #883 i discover that neorv32 determines any printed character as "?".
Looks like #883 uart_rx upd broke something
To Reproduce
Check "sreg" bus of "rx_engine_t" record in "neorv32_uart.vhd" file.
before #883 - sreg[9:0]
after #883 - sreg[8:0] <- where this issue happened
Expected behavior
Correct character determination
Screenshots
I push "e" button to abort autoboot sequence
Screen 1 - incorrect symbol.
Screen 2 - correct after bus fix
Environment:
Hardware:
Additional context
I changed sreg back to "9 downto 0" and reimplement design - works fine
The text was updated successfully, but these errors were encountered: