Main

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

AR# 23792

Search For Another Answer

Topic EDK-FlashWriter
Last Updated 04/24/2009
Status Active
Description

Keywords: write, MB, 8KB, Micro, Blaze, MicroBlaze

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
 
 
/csi/footer.htm