LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Adopt emb.LV to emb.Linux Target ARM9 Prozessor

Dear 莲子 , can you give me your email or talk me at MSN messenger? i want to ask you something about s3c2440. ,,,,, grsakis2001@hotmail.com
Ελευθερία σημαίνει ότι μαθαίνεις να έχεις απαιτήσεις μόνο από τον εαυτό σου, όχι από τη ζωή ή τους άλλους
0 Kudos
Message 51 of 56
(2,429 Views)
Hello,Michael
    Now when I build the target ,I can get the My_Application.out.I want to know how to build the My_Application.exe?or how to change My_Application.out to My_Application.exe?
because only the exe file can run in the arm7 with uclinux system.
   Thank you very much!
lianzi
09/27/2008
i like thinking ,i enjoy doing the work.baxia
0 Kudos
Message 52 of 56
(2,267 Views)

Hi Lianzi,

 

The format of the output file is probably determined by the linker, so you should take a look at the Script Linker VI and modify the commands it sends to the linker. 

--
Michael P
National Instruments
0 Kudos
Message 53 of 56
(2,233 Views)

Hello,Professor,Thank you for your help again.

      Now i can build the project without any error,but the file build form the project can't run  in the arm7 with uclinux when i dowmload it.I don't know why.

My complier flags is as follows:


-I./  -DCHeadless=0 -elf2flt -Dlinux -fno-strict-aliasing -fno-common -fomit-frame-pointer

My linker  flags is as follows:

 

-mcpu=arm7tdmi -mstructure-size-boundary=8 -mlong-calls -Wl,--gc-sections -Wl,-static  -nostdlib -Wl,-static -L"%s" -Ttarget.ld

 

And i know there is a new embedded tool for arm ,which is called LabVIEW Embedded Module for ARM Microcontrollers,I find what i need to do is in the tool,but i alread bought the embedded development module? how can i do for it?

i like thinking ,i enjoy doing the work.baxia
0 Kudos
Message 54 of 56
(2,137 Views)

Hi,

 

The LabVIEW Embedded Module for ARM Microcontrollers uses a differentOS than uCLinux, and it supports a specific set of ARM MCUs <http://zone.ni.com/devzone/cda/tut/p/id/7066>.This might be a good option for you, but it will require following the tutorial here: http://zone.ni.com/devzone/cda/tut/p/id/7152.

 

Regarding the uCLinux issue, I recommend that you manually walk through the process of compiling, linking, downloading, and running a hand-written C application ("hello world" ) and verify that it runs correctly. Then, compare that process with the process automated through the plug-in VIs in LabVIEW.

 

Message Edited by Michael P on 10-27-2008 01:19 PM
--
Michael P
National Instruments
0 Kudos
Message 55 of 56
(2,114 Views)

Hi Kudos

 

I am currently trying to do as you and make a linux application using gcc-linux on cygwin on a windows platform. One thing is stopping me and that is the same linker errors as you get. Could you help and tell me how you resolved them?

 

I based my linux target on the unix console target and installed a gcc-linux toolchain on cygwin. My application is very simple and just writes "Hello World" to standard out. The app can compile using the gcc (win32 app), but the linker errors comes when using the gcc-linux compiler.

 

 

Thank you!

0 Kudos
Message 56 of 56
(1,343 Views)