ChipKitCan Demo

Post Reply
gw.agiledev
Posts: 1
Joined: Fri May 24, 2013 10:24 pm

ChipKitCan Demo

Post by gw.agiledev » Fri May 24, 2013 10:37 pm

Hi,

for me the ChipKitCan Demo does not work. I can compile the example and deploy it to the board. It initializes correctly and starts to send messages. But the sending itself seems to fail as the interrupt handlers are never called.
I have added some debug println() to the original implementation. It seems that "updateChannel(CAN::CHANNEL0)" resets the entire message. When flushing the channel I get a getTxErrorCount() returns 128. By commenting out updateChannel(CAN::CHANNEL0), getTxErrorCount() returns 0 but there is still no message sent by flushing the channel.

Am I missing something?
Please find attached the ChipKitCan Demo which I am using.


Best regards
Gabriel
Attachments
OrigCanDemo_plus_serial_out.txt
(24.7 KiB) Downloaded 110 times

Post Reply