Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Honored Contributor I
1,092 Views

Question about PIO

I have a nios system which interfaces an ADC through Qsys.I have about 20 no:s of PIO's configured for this. 

16 PIOs for the databus from ADC,one for Chip select,one for adc reset,two for SOC of adc.when i create all the pio's its always showing the problem in nios that its not able to download the .elf file.If i reduce the no: of PIO's by 19,then i can download the program to nios.What can be the reason for this?
0 Kudos
5 Replies
Highlighted
Honored Contributor I
16 Views

 

--- Quote Start ---  

I have a nios system which interfaces an ADC through Qsys.I have about 20 no:s of PIO's configured for this. 

16 PIOs for the databus from ADC,one for Chip select,one for adc reset,two for SOC of adc.when i create all the pio's its always showing the problem in nios that its not able to download the .elf file.If i reduce the no: of PIO's by 19,then i can download the program to nios.What can be the reason for this? 

--- Quote End ---  

 

 

Which PIO are you removing? Does the error go away if you remove anyone of the PIO's, or is it just specific to a certain one? If the problem is fixed by removing a PIO from lets say your adc reset, then you can point back to that as your issue.  

 

Can you post the error message(s) you are receiving?
0 Kudos
Highlighted
Honored Contributor I
16 Views

You may try to increase the memory size that use to store the software image.

0 Kudos
Highlighted
Honored Contributor I
16 Views

I have increased the onhip memory size.but still the same problem persists.

0 Kudos
Highlighted
Honored Contributor I
16 Views

If i remove the Chip select pin of ADC,i can download the code. What is the reason for that?

0 Kudos
Highlighted
Honored Contributor I
16 Views

If you identified that the chip select was the issue, you can trace down any connectivity issue on the board.

0 Kudos