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 05/20/2014
Status Archive
Type General Article
People Also Viewed