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
CAN Training loading hex files
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: CAN Training loading hex files
could you try running ppp from a command prompt
cd to your hex directory
then run
cd to your hex directory
then run
(modify to your ppp exe path)"C:\Program Files (x86)\Flowcode\v5\Tools\PPP\PPPv3.exe" -cs 2 -chip PIC16F1937 "Display_node_1.hex"
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: CAN Training loading hex files
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
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
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: CAN Training loading hex files
Yes, the hex code will be correct, the problem appears to be with PPP, maybe it has the wrong config.
Regards,
Leigh
Regards,
Leigh
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: CAN Training loading hex files
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel