Skip to content
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

Completed port to TinyFPGA-BX board complete with soft USB port. #69

Open
bmentink opened this issue Apr 26, 2020 · 1 comment
Open

Comments

@bmentink
Copy link

Hi David ...... if you are listening these days ... :)

I have completed the above port which includes a USB UART implemented in verilog. Works very well as a replacement for a hardware UART .. super fast, interpretation of swapforth.fs takes .2 seconds ...

The only issue I have is: In a standard UART when you hit the Enter key on the terminal, you get both Return(13) and Line Feed(10) sent ... with USB, you only get a Return(13). My question is: Is there any place in the code, or in the shell.py script that I can fix this issue?

Or, should I fix that in the UART emulation wrapper .... i.e. verilog layer ..

@Mecrisp
Copy link

Mecrisp commented Jun 30, 2020

@bmentink

That's exactly what I was looking for ! Where can I find your code, how did you solve the "overrun" problem of the USB logic ?

I maintain a descendant of Swapforth, "Mecrisp-Ice", and I wished to add a USB soft terminal when I ran into this issue:

davidthings/tinyfpga_bx_usbserial#12

Regarding your issue: CR/LF/CRLF can be easily fixed in Forth, don't mess with the character stream in Verilog, as the same interface may carry raw data.

Matthias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants