Page 1 of 1

CAN in V5 problem

Posted: Fri May 25, 2012 8:57 am
by nnnnff
I made a simple CAN bus, receive态send programs. In V4 download to chip in the running without any problems. But in V5 download to chip in after the correct operation but not! Why? Please help me!

Re: CAN in V5 problem

Posted: Fri May 25, 2012 9:26 am
by Benj
Hello,

Can you please tell me which version of v5 you are using? If you are not currently using v5.2 then I would advise that you first upgrade to this.

If not then I will have a look into the problem for you. Are you using the CAN E-block or internal CAN?

Re: CAN in V5 problem

Posted: Fri May 25, 2012 10:28 am
by nnnnff
I use the Flowcode v5.2.0.0

Re: CAN in V5 problem

Posted: Fri May 25, 2012 10:33 am
by nnnnff
I use a CAN E-block.

Re: CAN in V5 problem

Posted: Tue May 29, 2012 12:01 am
by nnnnff
CAN2 in V5 is OK!
CAN in V5 is not yet! Effort to...

Re: CAN in V5 problem

Posted: Tue May 29, 2012 2:58 am
by nnnnff
CAN in V5 is OK!
Thanks!

Re: CAN in V5 problem

Posted: Tue May 29, 2012 9:27 am
by Benj
Hello,

Have you had any luck with getting the CAN component up and running in v5?

Re: CAN in V5 problem

Posted: Tue May 29, 2012 10:00 am
by nnnnff
Yes! CAN in V5 is OK! Download to chip is also correct operation!
Have a question: download each once only, the second is not correct download!!!! Must turn off the V5 program, restart before we can carry out the new download! This is a V5 bugs? Please help me! Thank you!

Re: CAN in V5 problem

Posted: Tue May 29, 2012 11:09 am
by Benj
Hello,

If you are changing component C code or other code outside of Flowcode's control then Flowcode will think the compilation is up to date and simply re-send the compiled file it already has.
ComMsg.jpg
ComMsg.jpg (35.47 KiB) Viewed 6477 times
You can force a recompilation by clicking the compile to hex button and selecting yes when asked if you are sure you want to re-compile. Then click the compile to chip and the new compilation will be sent onto the target.

Alternatively if you hold shift when clicking compile to chip then this will force the re-compilation message to popup.