News:

Let's find out together what makes a PIC Tick!

Main Menu

Compiling very large files

Started by SCV, Aug 25, 2021, 01:07 PM

Previous topic - Next topic

SCV

One for Les I suspect - Hi Les,

Device is dsPIC33EP512MC806.

I have a binary file which is firmware for a third-party motor. I have written a special programme to upload the firmware into their bootloader which worked fine when the bin file was 32k. Latest file is 192k and takes about half an hour to compile.

Someone (don't remember who) very kindly wrote a routine to convert binary to hex, which I copy and paste into my programme as DIM LK_FILE AS CODE = AS BYTE
Before I try and run the programme in anger, are there any obvious pitfalls or things to define or should I do it differently?

Completed hex file is 200492 words!

Thanks,
Tim.