chipsalliance / Cores-SweRV_fpga

Apache License 2.0
38 stars 12 forks source link

can't receive UART data from hello.c code #3

Open damiencarrier opened 4 years ago

damiencarrier commented 4 years ago

Hello, I have a nexys a7 (same as nexys4), i followed the readme, generated the bitstream compile hello.c, send it through jtag and gdb. But i receive nothing on serial port one and two of the fpga board using minicom or gtkterm.

 Reading symbols from hello.elf...
(gdb) remo
remote              remove-inferiors    remove-symbol-file
(gdb) remo
remote              remove-inferiors    remove-symbol-file
(gdb) target remote localhost:3333
Remote debugging using localhost:3333
_start ()
    at /home/osboxes/Documents/VHDL/ressources/Cores-SweRV_fpga-master/software/bsp/startup.S:26
26          csrw minstret, zero 
(gdb) load
Loading section .text.init, size 0x90 lma 0x0
Loading section .text, size 0x808 lma 0x90
Loading section .rodata, size 0x178 lma 0x898
Start address 0x0, load size 2576
Transfer rate: 13 KB/sec, 858 bytes/write.

I suspect a "bad" bitstream generated. Who can upload a functionnal bitstream working on nexysa7? Thank you :)

This is my bitstream and hello.elf if you want to compare the hash: swerv_eh1_reference_design_original.zip hello.zip

olofk commented 4 years ago

I would recommend using SweRVolf instead https://github.com/chipsalliance/Cores-SweRVolf instead of this repo for a better supported system