Compile Linker Error with 2 internal CANs (dspic33ep128gm604)

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Chip7882
Posts: 19
Joined: Tue Oct 02, 2018 7:23 am
Has thanked: 4 times
Been thanked: 1 time
Contact:

Compile Linker Error with 2 internal CANs (dspic33ep128gm604)

Post by Chip7882 »

Hello,
if i use both internal CANs, i get this Error Code..
Attachments
Flowcode8.JPG
Flowcode8.JPG (90.39 KiB) Viewed 1460 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: Compile Linker Error with 2 internal CANs (dspic33ep128gm604)

Post by Benj »

Hello,

Thanks for letting us know. Hmm this error could be caused by a few different things but I have modified the CAL CAN C file and this has fixed the compilation error. It will likely break other devices so only use to solve this specific issue and I'll see if we can come up with something more permanent to solve the problem. Looks like because it has DMA we flag the RAM section as DMA compatible but there is no specific DMA compatible memory on your device as it's all available to the DMA. Very confusing :D

Simply copy the file here and hopefully your program will now compile and run.

"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC16BIT"
PIC16BIT_CAL_CAN.c
(67.67 KiB) Downloaded 160 times
Let us know how you get on.

Chip7882
Posts: 19
Joined: Tue Oct 02, 2018 7:23 am
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: Compile Linker Error with 2 internal CANs (dspic33ep128gm604)

Post by Chip7882 »

Hello Ben,

Thank you very much for your help, the compile problem is solved with your new file. :D

Best regards
Daniel

Post Reply