-
Notifications
You must be signed in to change notification settings - Fork 279
[rtl/sw] Add twd dummy byte, add twd bootloader and smaller fixes #1210
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
Conversation
Thanks for the update! Give me/us some time for the review. |
@@ -211,7 +213,7 @@ https://stnolting.github.io/neorv32/ug/#_programming_an_external_spi_flash_via_t | |||
:sectnums: | |||
==== Auto Boot Sequence | |||
|
|||
When you reset the NEORV32 processor, the bootloader waits 8 seconds for a UART console input before it | |||
When you reset the NEORV32 processor, the bootloader waits 8 seconds for a UART console or TWD input before it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TWD = disbaled by default
@@ -224,6 +226,7 @@ is no valid boot image found, and error code will be shown. | |||
|
|||
If something goes wrong during bootloader operation an error code and a short message is shown. In this case the processor | |||
is halted (entering <<_sleep_mode>>), the bootloader status LED is permanently activated and the processor has to be reset manually. | |||
A 4-left-shifted word of the error code is also readable as TWD. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TWD = disbaled by default
Oh damn, at first I thought I could leave it enabled, but the executable gets too big again. That's why the documentation is wrong. |
1c4b4cb
to
2099575
Compare
I messed up this branch again a bit, damn it. Sorry for the force-push (with lease). One more might be coming. |
Checks still fail, I'll look into it. |
Hi! I've had a busy start to the week, but I'd like to take a look at this, seems that Lukas has put in a lot of hard work to get it done! (Of course, in parallel with Stephan's review.) It may take a couple of days or so. 😅 |
Just an idea: maybe we should move the bootloader stuff into another PR so we can focus on the TWD modifications here. What do you think? |
We can do that. Should I create separate PRs for each, remove the bootloader stuff with a commit, or rebase and remove the bootloader commits? |
Thanks! |
51ef484
to
c4ac18a
Compare
Add new register to allow continuous reading of same byte as host when enabled. Always NACK during the transfer, if the FIFO is full.
Enables finer control to reduce size for application-specific scenarios
Add hide read option to only ACK own Device-Address when the TX Fifo is not empty
c4ac18a
to
03590d2
Compare
I think I've seen a few more typos in the docs, but that doesn't matter for now. The rest looks really good! Many thanks for all your work! |
I made some minor edits. I think this ready for merge. 🚀 |
Moved from #1173 and #1205.
Tested only on release 1.10.9