EmbDev.net

Forum: µC & Digital Electronics PIC16F676 + MCP2515 PICtail Demo Board - Firmware


von Peter (Guest)


Rate this post
useful
not useful
Hello,
we have bought some MCP2515 PICtail Demo Boards to evaluate them and
then to develop a CAN interface system with the PIC16F676/677 for
our purpose on the same basis.

Now the problem:
We have downloaded the firmware - provided in the MCP2515 PICtail
Demo Board folder - from the original MicrChip website 00023R2.c
dated 2007 and other gadgets files.
Then we have compiled the supplied firmware with the MPLAB-X modern
XC8 compiler in free mode and then programmed into the Demo Board.
The Demo Board is not running - all LEDs are ON and not blinking
as in the normal state to indicate CAN activities.

When we program the supplied original HEX-file from MicrChip.com Site, 
the Demo Board is running well.

Our question:
Has anybody the same board - and if so - the suppied source files
was running without code changes???
If so - what must we do to get it to run - maybe a other compiler
or what else changes in the source?

What we have see too - the hex file is a other revision - 2005
and the source is from 2007.
Maybe here is a mistake by MicroChip


Regards . Peter

von fchk (Guest)


Rate this post
useful
not useful
Why don't you use a PIC18 with integrated CAN? It's cheaper, smaller, 
and faster. Just have a look at the PIC18F25K80. Its ECAN peripherial is 
an improved version of the 2515 CAN.

fchk

von Der Rächer der Transistormorde (Guest)


Rate this post
useful
not useful
Peter wrote:
> When we program the supplied original HEX-file from MicrChip.com Site,
> the Demo Board is running well.


config register settings are usually unknown to C-sources

Check if your settings are same as in original project.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.