^

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

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 !"

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 12/15/2012
Status Active
Type General Article
Feed Back