Error in tryong hello world example

Hello,

I am working on 2406B V3.12.
My problem is when i tried to build sample hello world in target mode.
It gives error.
I working in VC++.
its as follows…


Loading Open AT IDE…
bash.exe: warning: could not find /tmp, please create!
Done.
Loading project settings…
done.
Building gcc_worldexam project…

Launch a full library or binary process

Copy all needed library and object files

Make links C:/OpenAT/OS/3.12.05/ADL/gcc_wmadl_3.12.1.2.0.lib …/out/gcc_wmadl_3.12.1.2.0.lib

… Link step in progress …

… Link gcc_worldexam.bin …

Extract gcc_worldexam.bin from gcc_worldexam.axf (or from gcc_worldexam.elf if Gcc ARM compiler is used)

Update symbol file -> ../out/s
Compress gcc_worldexam.bin to gcc_worldexam.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: …/out/pro-lib.bin: No such file or directory
ls: …/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 76%)
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 = Wed Jan 24 2007
Time = 00:00:00
enter new zip file comment (end with .):
adding: s (176 bytes security) (deflated 68%)
current zip file comment is:
[Binary Information]
Stack Version = Open-AT
Customer Version = gcc
Binary Name = pro-lib.bin
Size =
Date = Wed Jan 24 2007
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 = Wed Jan 24 2007
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 = Wed Jan 24 2007
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 = Wed Jan 24 2007
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 = Wed Jan 24 2007
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 = Wed Jan 24 2007
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_worldexam.bin …

Add a checksum to gcc_worldexam.sgt
(AddCheck Version v2.0.4 Copyright © WAVECOM) [Feb 14 2003, 15:50:57]
Time modified : Wed Jan 24 17:18:48 2007


… Build gcc_worldexam.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_worldexam.bin
pro-dwl.bin
Binary files in Xmodem format :
gcc_worldexam.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_worldexam_status.log
Release of the environement : CYGWIN_NT-5.1 analogic-sw5 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown unknown Cygwin

Build an X-MODEM binary  : 'gcc_worldexam.wpb.dwl'

… Convert gcc_worldexam.wpb in X-MODEM format …

genBin : Version v1a06 Copyright © WAVECOM
genBin : No Error

… Build gcc_worldexam.wpb.dwl …


AXFshrinker Version 1.0.0.1 ( Aug 23 2002 , 17:44:58 )
updating: backtraces.axf (deflated 76%)
Done.

worldexam - 1 error(s), 5 warning(s)


Its showing Zip error.
Please let me know what the mistake is

thanks,
priya

Hi priya,

Looks like everything is OK and that you may ignore the error. Just use the generated .dwl file – It should work…

Best Regards,
Jan

Thanks jan,

It worked.

regards,
priya