-
Notifications
You must be signed in to change notification settings - Fork 248
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
Not able to get any output from UART using Icestick #63
Comments
Here is the source code for my test program, the LED blinks but no output in the serial console #include <femtorv32.h>
int main() {
while(1) {
printf("Hello world !!\n Let me introduce myself, I am FemtoRV32, one of the smallest RISC-V cores\n");
printf("Freq: %d MHz\n", FEMTORV32_FREQ);
delay(500);
*(volatile uint32_t*)(0x400004) = 3;
delay(500);
*(volatile uint32_t*)(0x400004) = 0;
}
return 0;
}
|
Hello,
Hope this helps, |
Hello, thanks for the quick reply. Yes, thats the commands i used to build the core and the program. The LED works but nothing is printed on the serial USB |
There could be several reasons:
|
Hi, I've already checked the device for the icestick and made sure I am using the correct one I tried running Thanks |
I don't have any other idea. Just in case, I'd try with |
Maybe try to toggle DTR which is connected to reset line? |
|
Thanks for the sugesstions, I've tried |
Hi @r1cebank did you get this to work? For step 17 I'm seeing question marks written to the terminal. Is it supposed to be text? edit: I'm seeing this for step 17. I'll try running step 18. edit 2: for 18 I'm seeing what I think is correct. For step 17 I'm still not sure if I should be seeing letters like I do when running the simulation. edit 3: I fixed my problem. I didn't have all of the necessary code in my implementation.
|
Hi,
Thank you for building this awesome project, I am trying to build the softcore for Icestick and run an example program but I am not able to get any UART output. I verified the core built on the Icestick works by uploading a simple program that blinks the LED onboard, but for some unknown reason I can't get the USB serial to output anything. (hello.prog)
I am building from commit: f681e81
Here is the config I am using, I've disabled everything except, LED, UART and SPI Flash
Thank You
The text was updated successfully, but these errors were encountered: