AdaCore / bb-runtimes

Source repository for the GNAT Bare Metal BSPs
Other
65 stars 51 forks source link

Not sure if read/write on zynq7000's UART works #37

Closed BottCode closed 4 years ago

BottCode commented 4 years ago

Hi, I'm working with ravenscar-full on zynq7000 (GNAT CE 2018) and I'm struggling on reading data from UART with cutecom.

I've tried with multiple output functions: System.Text_IO.Put, Ada.Text_IO.Put and also GNAT.IO.Put, but nothing on cutecom's console appears. I've also tried to switch from UART-1 to UART-0 just changing Base : constant := 16#e000_1000#; to Base : constant := 16#e000_0000#; in System.Text_IO package, but the outcome is the same.

The following is my cutecom configuration. image

Thanks in advance for any advice.

Fabien-Chouteau commented 4 years ago

Hello @BottCode,

I am sorry we are not able to check this at the moment. You can maybe plug a logic analyzer to UART and see if there are some signals.