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

SOPC builder system

Altera_Forum
Honored Contributor II
1,041 Views

Hi all, 

I am new to cyclone 2. I have a device EP2C20F484C7. I am able to configure the device using C2_Starter_NIOS.sof, ep2c20.sof etc but debugging and running the 'Count Binary' application on NIOS2 I am getting error :  

( There are no Nios II CPUs with debug modules available which match the values specified. Please check that your PLD is correctly configured, downloading a new SOF file if necessary. ) 

I think I might be selecting wrong .ptf file while creating new application. 

Which .ptf file should I use? Or what is the problem with it? Am i missing something? 

 

Thanks for the solution!!!
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
378 Views

HI, 

 

after programming just keep sw12 on run mode and then debug. You will. 

 

HTH 

-- 

SVaghela
0 Kudos
Altera_Forum
Honored Contributor II
378 Views

Thanks for the reply. I have programmed C2_Starter_NIOS2 on the cyclone2 board and I am using "niosII_cycloneII_2c35\full_2C35.ptf" for creating the application. My board is "EP2C20F484C7".  

 

I am now getting the error : (  

Reading System ID at address 0x01211158: does not match  

ID value does not match: read 0xDBDBDBDB; expected 0x6416665B 

Timestamp value does not match: image on board is older than expected 

Read timestamp 7:24:35 1950/10/15; expected 15:24:13 2006/04/21 

The software you are downloading may not run on the system which is  

currently configured into the device. Please download the correct SOF or  

recompile. ) 

 

I think .sof and .ptf files I have selected are incompatible. How can I resolve it? 

 

Thank you
0 Kudos
Altera_Forum
Honored Contributor II
378 Views

 

--- Quote Start ---  

Reading System ID at address 0x01211158: does not match  

ID value does not match: read 0xDBDBDBDB; expected 0x6416665B 

Timestamp value does not match: image on board is older than expected 

Read timestamp 7:24:35 1950/10/15; expected 15:24:13 2006/04/21 

The software you are downloading may not run on the system which is  

currently configured into the device. Please download the correct SOF or  

recompile.  

--- Quote End ---  

 

 

Hi, 

 

if you have changed your SOPC system then *.ptf file will change in that case you need to create new project in NIOSII IDE and give path to new *.ptf file. Also make sure that your ram connection is correct in SOPC system. 

 

HTH 

-- 

SVaghela 

http://images.elektroda.net/92_1249971875.jpg
0 Kudos
Altera_Forum
Honored Contributor II
378 Views

When I used C2_Starter_SD_Card_Audio.sof and C2_Starter_SD_Card_Audio.ptf files for the application 'count_binary' I am able to see the output on the console but not on the board with LEDs and Seven Segment display. I couldn't find any combination of .sof and .ptf files that runs this program 'count_binary' successfully. What do I need to do to see the output on the board? 

 

Thanks a lot for help. 

Regards, 

Nishant
0 Kudos
Altera_Forum
Honored Contributor II
378 Views

Hi, 

 

The symptoms sound like your led or 7segment Leds connection not proper not sure but check it again i think problem is there only. 

 

Hth,
0 Kudos
Altera_Forum
Honored Contributor II
378 Views

Taken from the source code of the count_binary project: 

* Requirements * ************** * This program requires the following devices to be configured: * an LED PIO named 'led_pio', * a Seven Segment Display PIO named 'seven_seg_pio', * an LCD Display named 'lcd_display', * a Button PIO named 'button_pio', * a UART (JTAG or standard serial) 

 

Do you have all those components in your SOPC project?
0 Kudos
Altera_Forum
Honored Contributor II
378 Views

Yes I have all the devices except LCD Display.

0 Kudos
Altera_Forum
Honored Contributor II
378 Views

And are the names exactly the same? Are they connected to the correct pins on the top level file?

0 Kudos
Reply