Re: large preload includes
get one of these
http://www.autoelectric.cn/en/tl866_main.html
and put a header on your board for the programmer to access the flash chip
or
add a routine to read in the flash data from an external source.
my tft stuff included a flash routine to load images serially@38kbaud to a windbond 32meg chip, tested to do 100k files no problem
Re: large preload includes
It can be done with #IF ....
Look manual for conditional compile in manual.
I would suggest to you that you download data using serial port, or similar. So you don't have need to load multiple hex into pic.
Re: large preload includes
ok cheers guys ,
i have spi port on the flash chip for programming , so dont have to load multi hex files to pic after the end hex file is made for the flash, just copy it to the other flash chips as needed
i have seperate compiles for the code as it was best to manage them that way from the start
but now the includes on the 1 of them is grown and i rather not separate that to another install
a structured #if would be good for those sections that could be loaded first , with a separation of the flash blocks done
the pic install also install some information that is generated from flash info into the external EE chip sets after the external flash has loaded , so some consideration is required if the separating the install of the flash data
fun stuff
Re: large preload includes
yep the #if works well enough
just need to make sure the #define is placed prior to the includes , which makes sense
saving the file a dif name for when the define is 0 and again when it 1 is fine
the files now under 80k which gives the include a bit more space to grow