01-18-2019 01:16 PM - edited 01-21-2019 11:16 AM
I'm trying to create a simple DDR memory test for a ZCU102 using Vivado/SDK 2018.3
I created a bare-bones PS design in Vivado using the IP Integrator and using the board presets, generated a bitfile, exported hardware and launched SDK.
In SDK, I added a new application project using the FSBL template, and added application project with the "Zynq MP DRAM tests" template. I generated a bootimage (FSBL, followed by the bitfile and the mem_test application elf file), programmed the flash successfully, switched SW6 to boot from the QSPI.
Unfortunately, this is where everything fails. The INIT_B LED stays red and the PS_ERROR also lights red. On the UART connection I see the following in my terminal:
MP First Stage Boot Loader
Release 2018.3 Jan 18 2019 - 12:22:47
Xilinx Zynq MP First S▒Xilinx Zynq MP First S▒Xilinx Zynq MP First S
Any suggestions? This seemed like a really straight forward test project (BTW, Hello World works on this board and we've run other projects on the board, so I doubt there is any kind of hardware failure).
(Edit--there was a cut and paste error in the title, which has now been corrected).
05-11-2019 12:37 AM
Hello @barrygmoss :
01-22-2019 12:07 AM
Hi @barrygmoss,
When you say hello world example works do you mean that works with a boot image or launching through the debugger? I would suggest also for the DDR test application to first of all try to execute it through the debugger rather than with a boot image.
Regards
01-28-2019 05:05 PM
I was trying to use a boot image, but I'll try switching to a debugger. --Barry
02-11-2019 08:36 AM - edited 02-11-2019 08:38 AM
Sounds like you're trying to do exactly what this person is doing:
https://forums.xilinx.com/t5/Embedded-Linux/SDK-Memory-Tests-Zynq-DRAM-Tests/td-p/897707
I've responded to that post with what I think is happening.
Long story short: The DRAM test template is supposed to run out of OCM. Unfortunately, the FSBL also runs out of OCM, and may be preventing itself from overwriting.
Hello world works because it runs out of DDR.
05-11-2019 12:37 AM
Hello @barrygmoss :