Forum: FPGA, VHDL & Co. Lattice EC1 FPGA mit Avr booten.


von Thilo B. (thilich)


Lesenswert?

Hallo allerseits, hat jemand schon mal ein Lattice EC1 FPGA mit AVR 
gebootet? Es gibt von Lattice ein ANSI C File das angeblich "NUR" 
angepasst werden muss, daa läuft alles. Leider kommen permanent nur 
Fehlermeldungen anstatt zu booten. Das Programm habe ich so angepasst, 
das es Meldungen im Terminal ausgibt, und zwar folgende:


Lattice Semiconductor Corp.
CPU Embedded v2.0.0 2008

Processing: E m b e d d e d
b i t s t r e a m v 2 . 0 . 0 0 Processing: D e v i c e n a m e : L F E 
C
1 E E Processing: C o m p r e s s i o n : O N N Processing: S E T _ P I 
N C P U  P R O G _ P I N C P U  H I G H H Processing: S E T _ P I N C 
P U  CC L K _ P I N C P U  H I G H H Processing: S E T  P I N C P U  
P R O G  P I N C P U  L O W W Processing: C H E C K  P I N C P U  I 
N I T  P I N C P U  L O W 5 0 0 0 M I C R O - S E C O N D S 1 0 0 R E 
P E T I T I O N S S Processing: C H E C K  P I N C P U _ D O N E  P I 
N C P U _ L O W 5 0 0 0 M I C R O - S E C O N D S 1 0 0 R E P E T I T I 
O N S S Process ing: S E T  P I N C P U _ P R O G _ P I N C P U  H I G 
H H Processing: C H E C K  P I N C P U _ I N I T _ P I N C P U  H I G 
H 5 0 0 0 M I C R O- S E C O N D S 1 0 0 R E P E T I T I O N S S
Failed due to verification failure
+=======+
| FAIL! |
+=======+



Angeblich braucht man nur den DI und CCLK Pin anzuschliessen.

Die anderen Pins habe ich lt. Anweisung im Programm deaktiviert. 
Trotzdem kommt die obige Fehlermeldung

Wenn ich die Pinüberprüfung  im Programm probehalber überbrücke kommt 
beim Bootversuch folgende Meldung:



Lattice Semiconductor Corp.





   Processing: E m b e d d e d  b i t s t r e a m   v 2 . 0 . 0 0 
Processing: D e v i c e   n a m e :   L F E C
 1 E E Processing: C o m p r e s s i o n :   O N N Processing: S E T _ P 
I N   C P U  P R O G _ P I N   C P U  H I G H H Processing: S E T _ P 
I N   C P U  C C L K _ P I N   C P U  H I G H H Processing: S E T _ P 
I N   C P U  P R O G _ P I N   C P U  L O W W Processing: C H E C K _ 
P I N   C P U  I N I T _ P I N   C P U  L O W   5 0 0 0   M I C R O - 
S E C O N D S   1 0 0   R E P E T I T I O N S S Processing: C H E C K _ 
P I N   C P U  D O N E _ P I N   C P U  L O W   5 0 0 0   M I C R O - 
S E C O N D S   1 0 0   R E P E T I T I O N S S Processing: S E T _ P I 
N   C P U  P R O G _ P I N   C P U  H I G H H Processing: C H E C K _ 
P I N   C P U  I N I T _ P I N   C P U  H I G H   5 0 0 0   M I C R O 
- S E C O N D S   1 0 0   R E P E T I T I O N S S : S E T _ P I N   C P 
U  C C L K _ P I N   C P U  L O W W Processing: D u m m y y

    Failed due to file error

         +=======+

                  | FAIL! |

           +=======+

Vielleicht hat zufällig jemand Erfahrung mit soetwas und kann 
weiterhelfen.

von Rick Dangerus (Gast)


Lesenswert?

Kannst Du das vielleicht nochmal lesbar formatieren? (Es gibt eine 
Vorschau um zu prüfen, wie der Forumseintrag aussehen wird...)

Habe ich Dich richtig verstanden: Du hast einen Lattice-Baustein und 
möchtest diesen von einem AVR aus konfigurieren?

Rick

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.