pulp-platform / pulpissimo

This is the top-level project for the PULPissimo Platform. It instantiates a PULPissimo open-source system with a PULP SoC domain, but no cluster.
Other
389 stars 169 forks source link

UART not working #418

Closed RenatoBelmonte closed 4 months ago

RenatoBelmonte commented 4 months ago

I'm trying to implement a custom hardware accelerator IP in the last version of PULPissimo. I can see through gdb that the operation is performed, but when i use printf() I can't see anything through UART. Instead, using the released version it worked.

I've already tried:

The only thing that is printed is booting zforth... done

micprog commented 4 months ago

With the newest update, the I/O multiplexing behavior of PULPissimo has been significantly updated, resulting in required changes to set up the correct I/O mapping that are currently only present in the updated runtime, linked in the repository. Are you using this version of pulp-runtime, or an older one?

RenatoBelmonte commented 4 months ago

I'm using pulp-sdk v1 to compile application for FPGA such as it is said in the README of pulpissimo (https://github.com/pulp-platform/pulpissimo?tab=readme-ov-file#compiling-applications-for-the-fpga-target)

RenatoBelmonte commented 4 months ago

I used the latest version of pulp-runtime, now UART works properly, but some functions used for manage peripherals don't work. For example, when I set and event with soc_eu_fcEventMask_setEvent() I can't use anymore __rt_periph_wait_event()