sinara-hw / Kasli-SOC

Xilinx ZynQ(R) version of Kasli FPGA controller.
6 stars 6 forks source link

SDRAM reference? #23

Closed sbourdeauducq closed 4 years ago

sbourdeauducq commented 4 years ago

Is the SDRAM configuration an exact copy of a Xilinx development kit, and which one? Getting the PS SDRAM controller to work is rather difficult, so it would be good to simply reuse something that is known to work (also we could simply run the existing FSBL for a quick test of the board) and for which the correct PS register values can be looked up.

filipswit commented 4 years ago

It's connected without any pin swapping.

sbourdeauducq commented 4 years ago

What about the SDRAM chip P/N including timing, number of rows/columns, etc.

filipswit commented 4 years ago

I've used: MT41K256M16TW-107:P

sbourdeauducq commented 4 years ago

Is there a Zynq Xilinx kit with this exact chip?

filipswit commented 4 years ago

I've found only some chinese kits: qmtech zynq7000 and Lychee HEX ZYNQ702.

sbourdeauducq commented 4 years ago

Could we use a SDRAM system that is an exact copy of a better-known kit? Is there a reason not to?

sbourdeauducq commented 4 years ago

For example, Cora Z7-10. Not that we have managed to get the SDRAM to behave itself on this board without the Xilinx junk libraries (we have only done so on the ZC706, on the Cora there is typical Zynq behavior) - but at least we can use the latter as a workaround. And we already have several Cora boards we could use for side-by-side debugging.

filipswit commented 4 years ago

Well, SDRAM from Cora - MT41K256M16HA-125:E looks fine for me.

sbourdeauducq commented 4 years ago

OK.