Hello,
if i use both internal CANs, i get this Error Code..
Compile Linker Error with 2 internal CANs (dspic33ep128gm604)
Moderator: Benj
-
- 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)
- Attachments
-
- Flowcode8.JPG (90.39 KiB) Viewed 1460 times
- 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)
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
Simply copy the file here and hopefully your program will now compile and run.
"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC16BIT"
Let us know how you get on.
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
Simply copy the file here and hopefully your program will now compile and run.
"C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC16BIT"
Let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- 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)
Hello Ben,
Thank you very much for your help, the compile problem is solved with your new file.
Best regards
Daniel
Thank you very much for your help, the compile problem is solved with your new file.
Best regards
Daniel