Page 1 of 1

Flex Installation Difficulties

Posted: Wed Jun 11, 2008 11:43 am
by Carotti
Hi everyone!

I was so impressed with what you guys are doing that I purchased some FLEX boards to try capturing some functions from SCILAB. I have previously used PIC and MPLAB using ICD2.

I have tried very carefully to follow the install instructions in the tutorials but have not yet got a successful compile. I am sure I have missed something simple but do not know what.

I am trying to perform the CodeGen from SCILAB using the led_sin example but no ELF is generated. I get the following message in the command window

make*** No rule to make target \'/cygdrive/c/programs/MICRO~1/MPLABC30/support/h/p33FJ256MC710.h, needed by \'frommchp/p33FJ256MC710.h Stop.
-------------------------------------------------
DONE... Application successfully compiled!

a PDF file showing the full log is attached.

Any ideas would be greatly appreciated.

Once I find a solution I would gladly help with updating the documentation if necessary....

Many thanks,

Dave

Re:Flex Installation Difficulties

Posted: Wed Jun 11, 2008 11:46 am
by Carotti
PDF did not upload so here is a text file instead

Re:Flex Installation Difficulties

Posted: Wed Jun 11, 2008 2:32 pm
by paolo.gai
Hi,

Thanks for the compliments :-)

which version of the compiler did you installed? please be aware that MPLAB 8.10 and C30 3.10 does NOT yet work with ERIKA (Microchip has moved the file locations... grrrr)

Please use MPLAB 8.0 and C30 3.02. The newest version will be supported with the next version, which will be out hopefully in 2 weeks before the Flex training course in Pisa!

bye

PJ

Re:Flex Installation Difficulties

Posted: Wed Jun 11, 2008 2:49 pm
by Carotti
PJ,

many thanks for the prompt response and that idea. I am indeed using later versions for other MICROCHIP work.

I will install the tool versions that you suggest for the flex work and let everyone know how I get on.

Many thanks and keep up the good work!

Dave.

Re:Flex Installation Difficulties

Posted: Thu Jun 12, 2008 10:55 am
by desmomito
Hi,
where did you find the C30 3.02 version ? On microchip website I\'ve just found 3.01 and 3.01b.


Thanks,
Pasquale.

Re:Flex Installation Difficulties

Posted: Thu Jun 12, 2008 11:24 am
by paolo.gai
you are right... 3.01... any version before the latest works...

PJ

Re:Flex Installation Difficulties

Posted: Fri Jun 13, 2008 9:06 am
by Carotti
Everyone, here is a quick update. I have now successfully generated .elf when using these versions: -

MPLAB IDE: 8.00
C30: 2.05
SCILAB: 4.1.2
OS: VISTA ultimate SP1 (!)

Note I did have problems when I installed the C30 V3.01 update over the C30 V2.05 install so regressed to V2.05. I have not gone back to check this out because I don\'t want to break something that is now working. Will now attempt an install on XP SP3.

Dave.:)