Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.241

Initialize MD Zynq UltraScale+ DDR RAM

In this topic:

Introduction

Requirements

Configuration

 

 

Introduction

This topic describes how to download and run an application in DDR RAM on AMD Zynq UltraScale+ using winIDEA.

 

To execute and load an application to DDR RAM memory on AMD Zynq UltraScale+, DDR RAM memory needs to be properly initialized. In a regular or a production boot procedure, such initialization is usually done by one of the early-stage bootloaders. An example of such a bootloader for AMD Zynq UltraScale+ is the First Stage Bootloader (FSBL).

 

winIDEA can initialize DDR RAM memory by running a specified bootloader in SoC’ OCM RAM memory with an initialization script which is distributed with winIDEA in the SFR folder: zynqUsp_enableDDR.cpp.

 

i-icon

DDR RAM memory initialization and bootloader are use-case specific to the SoC and board, therefore bootloader applications (e.g., FSBL) are not distributed with winIDEA, and its parameters have to be configured manually.

 

 

Requirements

winIDEA 9.17.189 or newer

BlueBox iC5700, iC5000

Active Probe or Debug Adapter

 

 

Configuration

number1

Add a custom script from the SFR folder via Hardware / CPU Options / Reset / Initialization before Programming / Initialize.

 

number2

Select the script zynqUsp_enableDDR.cpp

 

number3

Select option Parameters zynqUsp_enableDDR.cpp via the arrow button.

 

Number4

Configure script parameters in the Edit options dialog:.

g_FSBL_entry – Entry point of the FSBL bootloader application (default: 0xFFFC’0000).

g_FSBL_offset – When programming FSBL to the memory this offset is added to the download location (default: 0).

g_disableMPUAndCaches – If this parameter is set to anything but 0 (default: 1):

MPU, data and instruction caches are disabled for the primary Cortex-R5 core.

ARM Cortex-R5 SCTLR.V bit is set for the primary core, which means interrupt vectors are mapped to 0xFFFF’0000.

g_setVectorHigh – If this parameter is set to anything but 0 (default: 0), ARM Cortex-R5 SCTLR.V bit is set for the primary core, which means interrupt vectors are mapped to 0xFFFF’0000.

g_FSBL_img – Path to the FSBL bootloader for specific AMD Zynq UltraScale+ and the board.

 

Number5

Make sure option Same as Programming is checked in Initialization before Debug session / Initialize section.

 

number6

Perform download to the DDR RAM memory and execution from it should be possible.

xilinx-ddr-ram

Copyright © 2024 TASKING Germany GmbH