FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6374 Discussions

when I increased or decreased PIO component width from the existing qsys file, its not working.

Asifa
Beginner
1,922 Views

I need to control 7 gpio pins for output and 8 gpio pins for bidirectional. when I tried to change the pre-existing qsys file from my_first_hps-fpga, it did not work.

I only tried to change the PIO width and added another PIO component on that, there was no error, and compilation was fine, but when I sent the embedded C program on board and tried to run it did not work. I put printf statement after every operation, I found out dev\mem opened only, after that  program do not work.

I am not able to find out what the problem is, I tried everything, and I feel I will be stuck here forever, please help me with this, at this point it is frustrating.

Labels (1)
0 Kudos
8 Replies
sstrell
Honored Contributor III
1,851 Views

Show your system design.  Show the PIO parameter settings.  Show the connections to the HPS.  Which target device?

Really need to see more of what you've done here.

Asifa
Beginner
1,794 Views

Thank you for the reply. I have attached the qsys file, PIO LED setting, and HPS configuration along with the embedded C program too. 

Target device is De1-Soc.

0 Kudos
AqidAyman_Intel
Employee
1,571 Views

We sincerely apologize for the inconvenience caused by the delay in addressing your Forum queries. Due to an unexpected back-end issue in our system, your Forum cases, along with others, did not get through as intended. As a result, we have a backlog of cases that we are currently working through one by one.

Please be assured that we are doing everything we can to resolve this issue as quickly as possible. However, this process will take some time, and we kindly ask for your patience and understanding during this period. The cases will be attended by AE shortly.

We appreciate your patience and understanding, and we are committed to providing you with the best support possible.

Thank you for your understanding.


0 Kudos
AqidAyman_Intel
Employee
1,479 Views

Hello,


To get the right person to support you, may I know if this is related to HPS or FPGA GPIO?


Regards,

Aqid


0 Kudos
Asifa
Beginner
1,465 Views

FPGA GPIO , but trying to control through HPS through AXI

0 Kudos
AqidAyman_Intel
Employee
1,215 Views

Hi,


I really apologies for the delay response. I am contacting the expert for the HPS-related issue. This is my findings:


We recommend you should confirm that PIO works on U-Boot.

U-Boot has useful commands such as’ md’ and ‘mw’ for debugging.


For example, PIO assigned to 0xFF200100 on LW-H2F bridge.

The following command shows a value of PIO. Value for md and mw command is always hexadecimal so that a prefixes such as 0x is not necessary. 


Example

# md FF200100

00000000

# mw FF200100 12345678

 

Lastly, before accessing the bridges, please enable the bridges using “bridge enable” command.


Thank you for your understanding.


AqidAyman_Intel
Employee
1,104 Views

Hello,


Do you need any more support on this issue?


Regards,

Aqid


0 Kudos
AqidAyman_Intel
Employee
688 Views

I hope the previous response was sufficient to help you proceed. As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


0 Kudos
Reply