can not fined PIC 30 .elf File

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Locked
p.erasmus

can not fined PIC 30 .elf File

Post by p.erasmus »

Dear ERika and Users

I have installed the dsPIC SW and compile the Demo for the
explorer board as per tutorial However I get the following build report and there is no .ELF file in the Debug folder after the Build
Please help
Thank you very much Peter Erasmus
:\\Evidence\\bin\\mymake_cygwin.bat all
cygpath: cannot create short name of c:\\Programmi\\Microchip\\MPLAB ASM30 Suite
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...
cygpath [-c HANDLE]
cygpath [-ADHPSW]
Convert Unix and Windows format paths, or output system path information

Output type options:
-d, --dos print DOS (short) form of NAMEs (C:\\PROGRA~1\\)
-m, --mixed like --windows, but with regular slashes (C:/WINNT)
-M, --mode report on mode of file (binmode or textmode)
-u, --unix (default) print Unix form of NAMEs (/cygdrive/c/winnt)
-w, --windows print Windows form of NAMEs (C:\\WINNT)
-t, --type TYPE print TYPE form: \'dos\', \'mixed\', \'unix\', or \'windows\'
Path conversion options:
-a, --absolute output absolute path
-l, --long-name print Windows long form of NAMEs (with -w, -m only)
-p, --path NAME is a PATH list (i.e., \'/bin:/usr/bin\')
-s, --short-name print DOS (short) form of NAMEs (with -w, -m only)
System information:
-A, --allusers use `All Users\' instead of current user for -D, -P
-D, --desktop output `Desktop\' directory and exit
-H, --homeroot output `Profiles\' directory (home root) and exit
-P, --smprograms output Start Menu `Programs\' directory and exit
-S, --sysdir output system directory and exit
-W, --windir output `Windows\' directory and exit
Try `cygpath --help\' for more information.
cygpath: cannot create short name of c:\\Programmi\\Microchip\\MPLAB C30
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...
cygpath [-c HANDLE]
cygpath [-ADHPSW]
Convert Unix and Windows format paths, or output system path information

Output type options:
-d, --dos print DOS (short) form of NAMEs (C:\\PROGRA~1\\)
-m, --mixed like --windows, but with regular slashes (C:/WINNT)
-M, --mode report on mode of file (binmode or textmode)
-u, --unix (default) print Unix form of NAMEs (/cygdrive/c/winnt)
-w, --windows print Windows form of NAMEs (C:\\WINNT)
-t, --type TYPE print TYPE form: \'dos\', \'mixed\', \'unix\', or \'windows\'
Path conversion options:
-a, --absolute output absolute path
-l, --long-name print Windows long form of NAMEs (with -w, -m only)
-p, --path NAME is a PATH list (i.e., \'/bin:/usr/bin\')
-s, --short-name print DOS (short) form of NAMEs (with -w, -m only)
System information:
-A, --allusers use `All Users\' instead of current user for -D, -P
-D, --desktop output `Desktop\' directory and exit
-H, --homeroot output `Profiles\' directory (home root) and exit
-P, --smprograms output Start Menu `Programs\' directory and exit
-S, --sysdir output system directory and exit
-W, --windir output `Windows\' directory and exit
Try `cygpath --help\' for more information.
MAKE_DIRECTORIES
MAKE_DIRECTORIES (after a clean)
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re:can not fined PIC 30 .elf File

Post by paolo.gai »

Dear Peter,

The ELF file has not been produced because RT-Druid (and then the generated makefile) could not find your C30 compiler.

Please take a look at the Erika Enterprise Tutorial for dsPIC (R) DSC 30 family v. 1.1.9 , available for download at http://www.evidence.eu.com/content/view/185/219/ .

In particular, step 4 at page 9 and Figure 4.4 tells you about the correct configuration of the compiler. Please put the correct directories used for the installation of the C30 compiler (the \"Gcc path\") and for the MPLAB IDE ASM30 compiler (The \"ASM path\").

I hope this helps...

Paolo
p.erasmus

Re:can not fined PIC 30 .elf File

Post by p.erasmus »

Dear Paolo

Thank you for the reply, I did download the Document before
I started to use the software,
The settings below are the settings in the PIC 30.
the folders are in these locations I checked it as well .

C:\\Programme\\Microchip\\MPLAB C30
C:\\Programme\\Microchip\\MPLAB ASM30 Suite
I tried to rebuild the project with the following reportand no .ELF file.
I see when I post the information the Back slashes between the arguments are not shown
Thank you very much
Peter

Rebuild /myProject/conf.oil in the project myProject
Compute configuration\'s files

WARNING > Not found any value for MASTER_CPU. Using default value.

All files are up-to-date.

There are some Warnings.
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re:can not fined PIC 30 .elf File

Post by paolo.gai »

Hi,

- please remove the \"Debug\" directory created in your project before rebuilding

- please check the directories are specified correctly, especially if you are using Windows Vista (see the notes at the beginning of the document i cited in my previous post...

PJ
p.erasmus

Re:can not fined PIC 30 .elf File

Post by p.erasmus »

Dear PJ
thank you for the reply Yes I have seen the notes on vista and I am not using Vista it is XP on my machine ,I will remove the debug and try again
Thank you very much.
p.erasmus

Re:can not fined PIC 30 .elf File

Post by p.erasmus »

Dear Paolo
I think I have it running now as I can see the pic30.elf file
and the following report
Possibly you could check it through and varify that it is working correctly,I removed the old debug file and compiled again .Many Thanks.
C:\\Evidence\\bin\\mymake_cygwin.bat all
MAKE_DIRECTORIES
CP p33FJ256GP710.h
GEN ee_pic30regs.h
DEP eecfg.c
`-mcpu=\' is deprecated. Use `-mtune=\' or \'-march=\' instead.
eecfg.c:0: error: bad value (33FJ256GP710) for -mtune= switch
MAKE_DIRECTORIES (after a clean)
CPP eecfg.c
CPP code.c
CP crt0.s
ASM crt0.s
LOC
CPP ee_board.c
CP p33FJ256GP710.inc
GEN ee_pic30regs.inc
PRE ee_hal.S
ASM ee_hal.S
CPP ee_hal_c.c
CPP ee_alcancel.c
CPP ee_altick.c
CPP ee_alget.c
CPP ee_alsetabs.c
CPP ee_alsetrel.c
CPP ee_irqsc.c
CPP ee_rqexchg.c
CPP ee_rqinsert.c
CPP ee_schedule.c
CPP ee_thact.c
CPP ee_thendin.c
CPP ee_mutex.c
AR libee.a
LD
OBJDUMP
************************************

Compilation terminated successfully!
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re:can not fined PIC 30 .elf File

Post by paolo.gai »

Yes! it\'s correct :-)

PJ
Locked