CAN-Library Problem (Eventually a bug?)

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
carhs
Posts: 13
Joined: 28 Jan 2009 15:03

CAN-Library Problem (Eventually a bug?)

#1 Post by carhs » 27 Mar 2009 20:47

Hi I just started my first project with the new compiler.
Now I have the following problem:
I will send some data which I get from the UART-Port over CAN in standard message format.
If I use the new 'Receive Text'-Function from the UART library the PIC starts to switch the kind of the CAN-Messages all the time. (First I received a extended message, than a standard message and also a remote request message sometimes - the CAN-Message-Format was totally out of control)
I used the UART1-Read Function and I only got only standard messages. So everything worked like it should be. Then I used a while loop and I got the message problem again.
I tried the code in the old compiler and everything worked as it should be.

So I think, there is a serious problem with the CAN-Library in the new compiler or there's something tricky what I don't know jet.

So what do you think about this problem?

goran.marinkovic
mikroElektronika team
Posts: 265
Joined: 25 Nov 2008 09:09

#2 Post by goran.marinkovic » 31 Mar 2009 14:10

Hi,

In order to help you with this issue, please post your question on our support desk:
http://www.mikroe.com/en/support/

And provide us with piece of code in a project like form that can be compiled
(packed in zip or rar format), which demonstrates the issue you are talking about.
Explain your code as much as possible, how it is supposed to work, when error occur.

Regards

Post Reply

Return to “mikroC PRO for PIC General”