How execute the code? for all bytes in the hex file including line CRC and CR +LF?
On the other hand, what values are for "unsigned char *mess" and "unsigned
long mess_length" parameters?
Carlos
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Jun 04, 2012 11:23 pm
I think that's the source code that runs in the CCS compiler when it's
running under Windows (The executable code may be in CCSC.exe
or in some .DLL file). It's not intended that you run it in a PIC. What do
you need it for ?
Carlos Q
Joined: 10 Dec 2009 Posts: 5
Posted: Mon Jun 04, 2012 11:31 pm
Thanks again PCM.
I have a bootloader for dspic30f but I would like to validate the whole .hex file before program the pic. I already validate the CRC of each line but the CRC of whole file is important to me.
In some cases my pic goes crazy and I would like to program these extra validation.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum