XFlash libcompressor time - large data array in program
Posted: Wed Sep 14, 2016 12:31 pm
Hi,
We have a large data array included in our source code in a header file.
It is declared as:
uint name[]=
{
0x...,
0x...,
etc
};
The size is >100kByte.
This works and runs fast (<1minute) when building and running/debugging with the XTAG.
Now we want to flash this image onto the board with xflash. We have used --verbose to see what's going on. The lines where the libcompressor is running take forever to complete.
After half an hour we decided it was enough and terminated the process.
If we reduce the size of the array to say 100 words, xflash runs fast and smooth, and the image gets flashed onto the board. This takes 1-2 minutes to complete like we are used to.
We are building this for the USB slicekit with XU216, compiler 14.2.1.
Would anyone have a clue about where to start looking for this issue?
Thanks!
We have a large data array included in our source code in a header file.
It is declared as:
uint name[]=
{
0x...,
0x...,
etc
};
The size is >100kByte.
This works and runs fast (<1minute) when building and running/debugging with the XTAG.
Now we want to flash this image onto the board with xflash. We have used --verbose to see what's going on. The lines where the libcompressor is running take forever to complete.
After half an hour we decided it was enough and terminated the process.
If we reduce the size of the array to say 100 words, xflash runs fast and smooth, and the image gets flashed onto the board. This takes 1-2 minutes to complete like we are used to.
We are building this for the USB slicekit with XU216, compiler 14.2.1.
Would anyone have a clue about where to start looking for this issue?
Thanks!