Forum: /dev/null Lattice MachXo2 iCE40 Config Loader


von Holger H. (holger-h-hennef) Benutzerseite


Angehängte Dateien:

Lesenswert?

Link:
Beitrag "SPI Master Configuration Interface für iCE 40 (Lattice)"

Bild: Flow Chart iC40_MOD_2.PNG
Project: Lattice MachXo2 iCE40 Config Loader.
----------------------------------------------------------
Via ispVM Tool: Im "SPI-MODE" u. via *.bin File
wird ein iCE40 Prom-Design-Image ab    Start-Adress: 0x0-0000
......bin-File
in das externe Flash-SPI-Rom geladen. (Stop-Adresse: 0x1-0000)
-----------------------------------------------------------

Bin-File via JTAG--> MachXo2 --<<|>ext.{SPI-PROM M25P10}
---<> IceBlink ice40-HX1K Evaluation Board.
http://www.latticesemi.com/support/faqs/details.cfm?id=1702
Which pin should be used for the EFB SPI clock in a MachXO2
design using the hardened SPI ...

Answer:
-------------------------------------
The MachXO2 has "2" hardened SPI cores
tied to the internal FPGA configuration logic.
These cores can be accessed through an internal bus interface (wishbone)
by instantiating the Embedded Function Block (EFB) element in HDL code.
The SPI cores have a "hardened architecture" inside the EFB
and specific external configuration pins are required to be tied to the 
SPI cores.
The spi_clk pin for the hardened SPI IP core is routed to CCLK/MCLK pin,
which is the dedicated configuration clock port for the SPI programming 
port.

Further information on the SPI ports
can be located in TN1205, in the "Hardened SPI IP Core" section.
http://www.latticesemi.com/documents/TN1205.pdf
######################################################################## 
##########

Link-2:

http://www.latticesemi.com/documents/TN1204.pdf
Gruss Holger.

von Holger H. (holger-h-hennef) Benutzerseite


Angehängte Dateien:

Lesenswert?

Bild:
Block Chart JTAG_SPI_PROM_1.PNG
Link:
Youtube-Video "MachXO2 Speed Seminar - Module 4: Wishbone Bus and Other 
Demos"
https://www.youtube.com/watch?v=2KXQTb1-Rec&list=UUQGp6u4dMHW5iLchBWuOqTQ&index=2
Nach ca. 8 Minutem ist da das SPI behandelt.

Hier ist das Block-Chart für das Lattice Tool ispVM im SPI Mode + 
JTAG-FTDI2232
womit der erste BinFile als Design Image#1 ins das SPI Prom geladen 
wird.
Respective der Start-Stop-Addr:0x00000-10000



Via Lattice Diamond Ide ..
in "Project-Einstellungen"  für bin File generate und Jed.File generate,
ist noch unbedingt zu Beachten SPI Master Enable, usw.
Sonst geht das nicht so einfach.
Siehe dazu die diverse Liste z.B mit OTP Fuse und ...
########################################################################
Dreh u. Angelpunkt ist der hardened SPI Kernel. im MachXo2 FGA Fabric.

Also 2 SPI Hardend Interfaces ...

Gruss Holger.

von Jörg W. (dl8dtl) (Moderator) Benutzerseite


Lesenswert?

Und du glaubst, hier in /dev/null würde sich jemand für sowas
interessieren?  Poste das mal lieber in einem Fach-Unterforum.

von Klaus (Gast)


Lesenswert?

Jörg Wunsch schrieb:
> Und du glaubst, hier in /dev/null würde sich jemand für sowas
> interessieren?  Poste das mal lieber in einem Fach-Unterforum.

come on... Bitte nicht, oder zumindest nicht, so lange er nicht gelernt 
hat, einen Sachverhalt in zusammenhängender und strukturierter Weise 
darzustellen, so dass irgendjemand nachvollziehen kann, was er 
eigentlich sagen will.

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.