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