Page 1 of 1

CAN Training loading hex files

Posted: Wed Jul 31, 2013 8:35 am
by Chris_MIRA
Hi,
Im using the CAN training package and Im trying to load the supplied hex files using ppp as described. Im also using the PIC 16F1937 also as per the course notes, but when I try to load the HEX files to the apropriate nodes, I get a warning that the file exceeds the pic memory range. Any ideas how I solve this?
Regards,
Chris

Re: CAN Training loading hex files

Posted: Wed Jul 31, 2013 1:44 pm
by LeighM
could you try running ppp from a command prompt
cd to your hex directory
then run
"C:\Program Files (x86)\Flowcode\v5\Tools\PPP\PPPv3.exe" -cs 2 -chip PIC16F1937 "Display_node_1.hex"
(modify to your ppp exe path)

Re: CAN Training loading hex files

Posted: Thu Aug 01, 2013 9:15 am
by Chris_MIRA
Hi,
Sorry if Im being thick but does your resconce mean that the problem isnt actually that the hex code is to big / wrong for the PIC but instead the problem is how PPP is atempting to load the programme?
Regards,
Chris

Re: CAN Training loading hex files

Posted: Thu Aug 01, 2013 9:44 am
by LeighM
Yes, the hex code will be correct, the problem appears to be with PPP, maybe it has the wrong config.
Regards,
Leigh

Re: CAN Training loading hex files

Posted: Thu Aug 01, 2013 12:45 pm
by Benj
Hello,

I think if you run PPP, click configure and then click autodetect then it will assign the 16F1937 as default device and use this to parse in the hex file into the correct format.

Click ok and then load the hex file into PPP. Hopefully it should now send to the device correctly.

I may be wrong on this so let us know how your getting on.