Lattice Diamond Programmer: Number Of Processing Bytes is too big for the Data File
Oct 20, 2018
asked by anonymous
Question / Issue:
When using the Diamond Programmer in background flash mode, I see the error "Number Of Processing Bytes is too big for the Data File". See error below:
Check configuration setup: Start.
INFO - JTAG Chain Verification. No Errors.
INFO - Check configuration setup: Successful.
INFO - Device1 LFE5UM-45F: SPI-MT25QL128A: SPI Flash Erase,Program,Verify
ERROR - Number Of Processing Bytes is too big for the Data File.
ERROR - Operation: unsuccessful.
ERROR: pgr_program failed.
ERROR - Programming failed.
Responses:
Date: Oct. 20, 2018
Author: Mind Chasers
Comment:
Inside the programmer window, double click the operation "SPI Flash Erase, Program, Verify".
The Data file size is shown near the bottom of the "Device Properties" dialog. It's easiest at this point to click the "Load from File" button to set the correct file size in bytes.
See the attached figure.
Date: Nov. 1, 2023
Author: Jerry
Comment:
Thanks. It seems if you only change it from the "File Name" column without changing it where you suggest, this error is produced.