UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 23792

11.1 EDK - "ERROR: Not enough scratch pad memory to program the flash"

Description

When I try to program a flash device with FlashWriter, I receive the following error message: 

 

"ERROR: Not enough scratch pad memory to program the flash 

Processor started. Type "stop" to stop processor  

FlashWriter terminating !"

Solution

There is a problem with the flashwriter.tcl script located in C:\EDK\data\xmd. This problem occurs if you have less than 8 KB of memory and there are no hardware performance parameters set (multiplier, barrel shifter, divider, etc). Change the following line: 

 

set EXTRA_COMPILER_FLAGS -g 

 

To: 

 

set EXTRA_COMPILER_FLAGS -Os

AR# 23792
Date Created 09/04/2007
Last Updated 05/20/2014
Status Archive
Type General Article