Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
304 Discussions

Cyclone V pin assignment from bootloader - how

Kiamur
Beginner
409 Views

I look for a way to set the weak pull-up resistor on a HPS pin (UART0_RX) to 'on' from the bootloader, before Linux boot and before an FPGA configuration is loaded to the device.

 

The general question would be, if it is even possible. The more detailed question of course would be: how?

 

I something like this

https://www.barebox.org/doc/latest/boards/socfpga.html?highlight=socfpga#updating-handoff-files

which talkes about exactly what I'm trying to do, but when I try to perform the described steps. nothing happens. I don't even get a file called iocsr_config_cyclone5.c from which I suppose is the file that could contain some pin assignments...

 

Any help much appreciated.

 

Maik

0 Kudos
1 Reply
Fawaz_J_Intel
Employee
174 Views

Hello,

You can use Quartus prime pin planner, select the pull-up settings you need to apply for that UART, compile Quartus, this will generate the handoff files with the new applied pull-up. After that boot the system, uboot will configure the FPGA and apply all the pins settings before linux boots.

Reply