Comments: RED-V Development Guide
Looking for answers to technical questions?
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
If you've found an issue with this tutorial content, please send us your feedback!
Struggled a little getting a RED-V ThingPlus working (Zephyr toolchain on Linux) without a firmware update to the onboard J-Link. I updated it with the JLinkConfigExe program included in the JLink tools and was able to successfully flash.
To hopefully make this process a bit easier, I've implemented this guide's Zephyr toolchain with J-Link tooling as a Docker container, see this Github repo.
Nice. Up-vote!
It was very hard to find any documentation on freedom studio's API anywhere
Here's the link for anyone who was struggling like I was: https://sifive.github.io/freedom-metal-docs
Moved my questions to the forums.
I tried the above tutorial on both RED-V boards, RedBoard and ThingPlus. However, on both boards I get the following error while executing the program when I execute "hello world" through "run configurations":
After the error, the board self ejects and reconnects. I can not copy-and-paste the hex file as well, as board ejects and reconnects when I try.
Any solution? Thank you.
Thanks to @robin_hodgson's detailed instructions ( viewtopic.php?p=211369#p211369 ) I solved the issue. I followed them but with hello world first. When I connected the device and programmed it through Segger IDE, it first updated the driver for J-Link for each board, Redboard and ThingPlus. Both boards worked and the serial terminal displayed the output.
I repeated the same procedure with Blinky and it worked as well on both boards.
Finally, I repeated both examples for each board with Freedom IDE and this time they worked.
I do not know what was the exact problem, but I guess the driver update fixed them.
Thank you again!
I have not heard of that issue before. It looks like you were trying to use the Segger Embedded Studio which was outside of what was tested with the RED-V environments used in this tutorial. I'm glad to hear that you were able to resolve the issue from the forum post.
For those that have the same issue, the SparkFun forum post is here => [ https://forum.sparkfun.com/viewtopic.php?p=211369#p211369 ].