Forum: FPGA, VHDL & Co. kontron msmst Arria II + Intel Atom


von Martin (Gast)


Lesenswert?

Guten Abend miteinander,

Ich arbeite zur Zeit mit einem Kontron msmst evalboard (Hiwi). Auf 
diesem board sind ein Intel Atom Prozessor und Arria II GX fpga auf 
einem chip. Dabei sind diese beiden durch eine PCI-Express Schnittstelle 
miteinander verbunden. Der ArriaII lässt sich seperat über JTAG 
programmieren. Das Problem  ist, dass ich keinen sepraten refernzclock 
für die ganze FPGA-Logik habe sondern einen referenzclock aus der 
PCIE-Schnittstelle entnehmen muss. Also meine Frage lautet: Wie kann ich 
aus der PCI-Express-Schnittstelle einen referenzclock für mein 
FPGA-Design entnehmen ? bzw. Wie kann ich mir einen aus dieser 
generieren ?

Vielen Dank schon mal im Voraus

P.S.: Ich bin ein relativer Neuling in der FPGA-Programmierung

von spiegelau (Gast)


Lesenswert?

Was verstehst du unter "Referenzclock"?

Leß mal das Handbuch
http://de.kontron.com/_etc/scripts/download/getdownload.php?downloadId=MTE3MzY=

Seite 33: Am Pin P3 des FPGA hängt ein ein 25MHz Clock

von Martin (Gast)


Lesenswert?

Danke für die Antwort.

Ja den hab ich auch verwendet. Aber es tut sich nichts. Ich glaube mein 
Problem liegt beim Flashen des FPGA. Weil er hier ständig abstürzt und 
ich ihn dann neustarten muss. Und ich glaube dabei übernimmt er nicht 
meine Einstellungen. Ich glaub dann liegt eher hier mein problem. Aber 
da muss ich dann nochmal selber ran. Trotzdem vielen Dank für die 
Anwort.

von Uwer (Gast)


Lesenswert?

Ich glaub du hast ein verständnisproblem FPGAs haben normalerweise kein 
Flash. Wenn du da was ins FPGA reinschreibst ist es nach dem Ausschalten 
wieder weg bzw. je nach Schaltung usw. auch nach nem Reset. Wenn du was 
reinflashst dan warscheinlich in einen speziellen konfigurationsspeicher 
oder du mußt je nach neustart das FPGA neu per Software beschreiben aber 
das steht sicherlich alles im Handbuch

von Martin (Gast)


Lesenswert?

Danke für die Antwort.

Verständnisprobleme hab ich immer :-)
Aber das Problem ist , dass das System beim Programmieren immer abstürzt 
und ich  dann zwangsweise einen reset machen muss. Durch diesen Reset 
bleibt natürlich auch meine FPGA-Programmierung nicht erhalten. (So wie 
es Uwer gesagt hat). Aber nach meiner Kenntnis steht da auch nichts im 
Handbuch wie man es richtig programmiert (Ohne Absturz).

von spiegelau (Gast)


Lesenswert?

ohne jetzt das komplette Handbuch gelesen zu haben. Sieht so aus als 
hätte dein Board zwei JTAG Anschlüße. Einen zum Programmieren des FPGAs 
und einen zum Programmieren des Flashs. Probier doch einfach mal den 
anderen aus.
Was verstehst du unter abstürzen? Ein FPGA stürzt eigentlich nicht ab.

von Martin (Gast)


Lesenswert?

Hallo,

Ich habe heute erfahren, dass sich das FPGA nur mit hilfe einer rom file 
programmieren lässt. Da BIOS und FPGA Image auf einem Speicher sind, 
muss das FPGA ähnlich wie bei einem Bios-update programmiert werden.

von Soheil (Gast)


Lesenswert?

Dear all
    I don’t know your language, but from some of your words I understood 
you were talking about Kontron MSMST embedded evaluation kit. Recently I 
have bought one of these boards and I have funny problem with it. I 
cannot program the FPGA on this board. Each time when I want to program 
the FPGA, the auto detect of ALTERA Quartus II programmer, detect the 
Arria II GX FPGA in its JTAG chain. But, at the moment of pressing start 
button, the FPGA program progress bar fill successfully and a red LED on 
the board light up. But this LED is not turning off, and my HDL code is 
not configured on the FPGA. Usually this process leads to Linux 
crashing.
I think FPGA reprogramming trough JTAG, leads to BIOS configuration 
modification. For example I think when .SOF file on the FPGA change, the 
PCI express endpoint between Atom processor and FPGA is lost. I wonder 
if it could lead to lose the SATA, USB Keyboad, etc.
Is there any option setting need before and/or after reconfiguration on 
the board and/or in Quartus II software? For example, is there any push 
button or jumper on the board which should be change before or after 
FPGA reconfiguration? Or is there any option in Quartus II software, 
which should be set in compiler or synthesizer before programming the 
FPGA?

von Thomas (Gast)


Lesenswert?

To me this sounds like either a missing or double JTAG clock or a 
unintended reset during/after FPGA update performed by the cpu.

Make sure your JTAG settings in the usb blaster are as recommended by 
Kontron (I do not know this PCB in particular) and/or try flash 
programming use a prepare flash image obtained from the altera's 
synthesis.

also: the programming method and the jtag chain might be set by jumpers, 
which have to be set correctly.

von Martin (Gast)


Lesenswert?

Hello Soheil,

I had the same problem. Forget the jtag-Programmer. Call the 
Service-Hotline from Kontron. They will send you a pdf-File how to 
programm the FPGA.

von Soheil (Gast)


Lesenswert?

Hello Martin
Thank you very much for your response. I am working on this board for my 
thesis and this problem has wasted my time for a long time. Do you mean- 
there is no way to reconfigure the FPGA via JTAG? Which pdf-file you are 
talking about? Can you send it for me via email?  I will be very 
appreciate if you send it to my email. My email is soheil_amz@yahoo.com
Thank you in advanced.

Hi Thomas
Thank you for your response. My JTAG setting is correct and Quartus II 
can detect the Arria II GX FPGA on its JTAG chain. But it seems that the 
reconfiguration (programming) process is not done successfully, although 
Quartus report the successful operation.  All GPIO pins are High-Z after 
reconfiguration process and almost all the times it leads to Linux 
crashing.
Thank you.
Soheil

von Martin (Gast)


Lesenswert?

Soheil wrote:

> Can you send it for me via email?

Done

von Soheil (Gast)


Lesenswert?

Dear Martin;
  Thank you for your email. I am sorry but unfortunately, mistakenly I 
deleted your email and miss your descriptions, (shame on me). Would you 
please resend it to me? I really apologize.
Thank you

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.