Hi. Краткая история: Я работал тока с Atmel и Pic процами, писал на С с компилерами (IAR, Keil). Без ОС. Начальство посетила очередная гениальная мысля сделать удаленное управление. Купили: Wavecom 2686Н. Сказали должен принять смс и свичнуть порт( очередная показуха)
Дали месяц на все про все. и нифига не объясниш..
Вобщем я поставил с диска идущего с модемом Open AT 6.22 и все все приблуды(IDE Eclipse, GCC(компилер), Mingw(не понял для чего)) ... Создал из примеров с компакта проектик Hello_World. После этого попытался откомпилить, вроде компилится, и *.bin создается, но какие-то ошибки вылазят(Выделил красным). Но проект в модем грузится и бегает. После этого попытался из тех же примеров взял проект с SMS(почти то что надо) , но он гад не компилется, чё то явно компилеру нехватает, но почему Hello_World скомпилился, хотя там тож ошибки проскакивали. Вот 2 лога 2х проектов. ПОМОГИТЕ ПЛИЗ КТО ЗНАЕТ, ЗАРАНЕЕ СПАСИБО Вот Лог СМС проекта:
d:\temp\test5\LoadIde.bat -p wmmake Loading Open AT IDE... Done. Loading project settings... done. Building gcc_test5_256KB project... Launch a full library or binary process --------------------------------------- c:\OpenAT\IDE\MINGW\3.8.0.1\bin\make.exe: *** No rule to make target `appli.o', needed by `gcc_test5_256KB'. Stop. Done.
ВОТ лог Hello_World, там тож чё то загадочное:
Помогите плиз разобраться где грабли. А то начальству фиг объясниш что это вообще не имеет практически ниче общего с атмелами да пиками.... А делать надо ЗАРАНЕЕ СПАСИБО ------------------------------------------------------------------------------- c:\OpenAT\myHW\LoadIde.bat -p wmmake -rte Loading Open AT IDE... Done. Loading project settings... done. Building gcc_myHeloW_256KB project...
Launch a full library or binary process
---------------------------------------
Copy all needed library and object files
Make links C:/OpenAT/OS/4.21.01/ADL/gcc_wmadl_4.21.0.0.0.lib ../out/gcc_wmadl_4.21.0.0.0.lib cp: cannot create regular file `../out/gcc_wmadl_4.21.0.0.0.lib': Permission denied---------------------------------------
... Link step in progress ...
... Link gcc_myHeloW_256KB.bin ...
Extract gcc_myHeloW_256KB.bin from gcc_myHeloW_256KB.axf (or from gcc_myHeloW_256KB.elf if Gcc ARM compiler is used)
Update symbol file -> ../out/s Compress gcc_myHeloW_256KB.bin to gcc_myHeloW_256KB.wpb for DWLWIN application
---------------------------------------
... Make TMT directory ...
Make links ../out/s ../out/tmt/symbolfiles/s
Create ../out/tmt/config/DiagnoseTips.ini Create ../out/tmt/config/MokaWatches.ini Create ../out/tmt/config/RemoteDefs.ini
Create ../out/tmt/gcc.wks
No remote trace file found
Create TMT archive file
ls: cannot access ../out/pro-lib.bin: No such file or directory ls: cannot access ../out/pro-lib.bin: No such file or directory
Make an archive file for TMT application
zip warning: name not matched: ../out/tmt/e2p_csn.cso
zip error: Nothing to do! (../out/tmt/zip_tmt.zip) zip warning: name not matched: ../out/tmt/backtraces64k.axf zip warning: name not matched: ../out/tmt/symbolfiles/s64k zip warning: name not matched: ../out/tmt/symbolfiles/e2p.h adding: backtraces.axf (176 bytes security) (deflated 74%) enter new zip file comment (end with .): current zip file comment is: [Binary Information] Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = 101708
Time = 00:00:00 enter new zip file comment (end with .): adding: s (176 bytes security) (deflated 69%) current zip file comment is: [Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = 101708
Time = 00:00:00 enter new zip file comment (end with .): current zip file comment is: [Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = 101708
Time = 00:00:00 enter new zip file comment (end with .): current zip file comment is: [Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = 101708
Time = 00:00:00 enter new zip file comment (end with .): adding: DiagnoseTips.ini (176 bytes security) (deflated 87%) current zip file comment is: [Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = 101708
Time = 00:00:00 enter new zip file comment (end with .): adding: MokaWatches.ini (176 bytes security) (deflated 67%) current zip file comment is: [Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = 101708
Time = 00:00:00 enter new zip file comment (end with .): adding: RemoteDefs.ini (176 bytes security) (deflated 74%) current zip file comment is: [Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = 101708
Time = 00:00:00 enter new zip file comment (end with .): Rename ../out/tmt/zip_tmt.zip ../out/tmt/gcc.zip
---------------------------------------
Keep only the TMT archive file in ../out/tmt
Remove ../out/tmt/e2p_csn.cso Remove ../out/tmt/sys_ftr.ho Remove ../out/tmt/wm_ftr.ho Remove ../out/tmt/remtrace.csv Remove ../out/tmt/backtraces.axf Remove ../out/tmt/backtraces64k.axf Remove ../out/tmt/remtrace_full.csv Remove ../out/tmt/symbolfiles directory Remove ../out/tmt/config directory
... Create binary in X-MODEM format from gcc_myHeloW_256KB.bin ...
Add a checksum to gcc_myHeloW_256KB.sgt
(AddCheck Version v2.0.4 Copyright © WAVECOM) [Feb 14 2003, 15:50:57]
Time modified : Fri Oct 17 15:58:23 2008
--------------------------------------- ... Build gcc_myHeloW_256KB.dwl ...
genBin : Version v1a06 Copyright © WAVECOM genBin : No Error
---------------------------------------
--------------------------------------- Cleaning temporary files (*.tmp / *.trc)
--------------------------------------- Generation done with SGT v1.2.12oat Binary files created : gcc_myHeloW_256KB.bin pro-dwl.bin Binary files in Xmodem format : gcc_myHeloW_256KB.dwl Compiler keyword : gcc_arm Compiler release : GCC ARM C compiler path : C:/OpenAT/IDE/GCC/4.0.1.0/bin/arm-elf-gcc ASM compiler path : C:/OpenAT/IDE/GCC/4.0.1.0/bin/arm-elf-gcc customer release : gcc Name of the current directory : gcc Log file : ../out/gcc_myHeloW_256KB_status.log Release of the environement : CYGWIN_NT-5.1 EPBYMINW2033 1.5.23(0.156/4/2) 2006-12-19 10:52 i686 Cygwin ---------------------------------------
Build an X-MODEM binary : 'gcc_myHeloW_256KB.wpb.dwl'
... Convert gcc_myHeloW_256KB.wpb in X-MODEM format ...
genBin : Version v1a06 Copyright © WAVECOM genBin : No Error
... Build gcc_myHeloW_256KB.wpb.dwl ...
---------------------------------------
AXFshrinker Version 1.0.0.1 ( Aug 23 2002 , 17:44:58 )
updating: backtraces.axf (176 bytes security) (deflated 74%) Done.
|