CAN in V5 problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
nnnnff
Posts: 107
Joined: Tue Oct 04, 2011 8:55 am
Has thanked: 3 times
Been thanked: 6 times

CAN in V5 problem

Post 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!
Attachments
CAN recive.fcf
(10 KiB) Downloaded 279 times
CAN send.fcf
(10 KiB) Downloaded 275 times

User avatar
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 in V5 problem

Post 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?

nnnnff
Posts: 107
Joined: Tue Oct 04, 2011 8:55 am
Has thanked: 3 times
Been thanked: 6 times

Re: CAN in V5 problem

Post by nnnnff »

I use the Flowcode v5.2.0.0
Attachments
V5.JPG
V5.JPG (23.1 KiB) Viewed 6537 times

nnnnff
Posts: 107
Joined: Tue Oct 04, 2011 8:55 am
Has thanked: 3 times
Been thanked: 6 times

Re: CAN in V5 problem

Post by nnnnff »

I use a CAN E-block.

nnnnff
Posts: 107
Joined: Tue Oct 04, 2011 8:55 am
Has thanked: 3 times
Been thanked: 6 times

Re: CAN in V5 problem

Post by nnnnff »

CAN2 in V5 is OK!
CAN in V5 is not yet! Effort to...

nnnnff
Posts: 107
Joined: Tue Oct 04, 2011 8:55 am
Has thanked: 3 times
Been thanked: 6 times

Re: CAN in V5 problem

Post by nnnnff »

CAN in V5 is OK!
Thanks!

User avatar
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 in V5 problem

Post by Benj »

Hello,

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

nnnnff
Posts: 107
Joined: Tue Oct 04, 2011 8:55 am
Has thanked: 3 times
Been thanked: 6 times

Re: CAN in V5 problem

Post 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!

User avatar
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 in V5 problem

Post 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 6475 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.

Post Reply