Issues in dsPIC 30f6014 compiling : Missing gld & DCI Periph
Posted: Thu Jan 17, 2008 7:24 am
Hello,
I've created a trial model for dsPIC 30f6014 to test the dsPIC embedded target in R2007b. But, I am not being able to compile the model (flash_1.mdl). I am getting the following error:
C:\Program Files\Microchip\MPLAB C30\bin\pic30-coff-ld.exe: cannot open linker script file C:\PROGRA~1\MICROC~1\MPLABC~1\support\gld\p30f6014.gld: No such file or directory
gmake: *** [..\../flash_1.coff] Error 255
It seems that the compiler cannot find the linker file. This, inspite of the fact that I've installed MPLab C30 v3.02 and verified the path for the gld file (p30f6014.gld) - default path (C:\Program Files\Microchip\MPLAB C30\support\gld). I'm not even being able to compile the example models included in the "Embedded target".
If I try to just take the generated code and try to compile it independently in MPLab, it is throwing error for undefined function (ConfigIntTimer1).
I've already confirmed that there is no problem with the test model or settings after communicating with Lubin. Still, if anybody wants, I can send the model.
There is another query:
Is there a way to implement the DCI module in dsPIC 30f6014 using the dsPIC blockset? It would be very helpful if there is.
I request you to help with your suggestions.
Thanks.
-sumedhk
I've created a trial model for dsPIC 30f6014 to test the dsPIC embedded target in R2007b. But, I am not being able to compile the model (flash_1.mdl). I am getting the following error:
C:\Program Files\Microchip\MPLAB C30\bin\pic30-coff-ld.exe: cannot open linker script file C:\PROGRA~1\MICROC~1\MPLABC~1\support\gld\p30f6014.gld: No such file or directory
gmake: *** [..\../flash_1.coff] Error 255
It seems that the compiler cannot find the linker file. This, inspite of the fact that I've installed MPLab C30 v3.02 and verified the path for the gld file (p30f6014.gld) - default path (C:\Program Files\Microchip\MPLAB C30\support\gld). I'm not even being able to compile the example models included in the "Embedded target".
If I try to just take the generated code and try to compile it independently in MPLab, it is throwing error for undefined function (ConfigIntTimer1).
I've already confirmed that there is no problem with the test model or settings after communicating with Lubin. Still, if anybody wants, I can send the model.
There is another query:
Is there a way to implement the DCI module in dsPIC 30f6014 using the dsPIC blockset? It would be very helpful if there is.
I request you to help with your suggestions.
Thanks.
-sumedhk