04-15-2010 05:16 PM
Hi MihaiC,
Welcome back! I have not been able to get it to work yet, though I am closer. I will ping R&D again tomorrow and hopefully will be able to post something soon.
Thank you for your patience.
04-16-2010 09:12 AM
Just wanted to update you that I am sitting down with someone in R&D today. I have my port all set up but am getting one error. They said the error shouldn't be hard to fix. Once I have it working I will send it your way.
04-16-2010 09:29 AM
04-16-2010 03:51 PM
Hi MihaiC,
Here is the port files I put together. Please read the ReadMe I included before doing anything.
Please note:This is not a full port. It does not have any io support yet. If you need to develop io support we can show you how to do this, but you will need to develop it on your own.
If you have any questions or run into any problems let me know.
04-16-2010 04:07 PM - edited 04-16-2010 04:08 PM
Sorry, for some reason it is not letting me post the files. I have put them on our FTP site:ftp://ftp.ni.com/outgoing. The files will only be up on our FTP site for the next 48 hrs.
File Name: mcb2140 port files.zip
Please let me know if you have any problems
04-17-2010 04:43 PM
Hi ClaireR,
I've downloaded the files, updated the Headless.c as specified and tried to build the application.
The following errors occur:
C:\Program Files\National Instruments\LabVIEW 2009\CCodeGen\libsrc\comms\CCGFileSupport2.c(44): error: #5: cannot open source input file "dirent.h": No such file or directory
C:\Program Files\National Instruments\LabVIEW 2009\CCodeGen\analysis\development\include\platdefines.h(321): error: #35: #error directive:
Thank you again.
04-19-2010 10:09 AM
Hi MihaiC,
Did you add/remove anything from the Test VI?
04-19-2010 03:08 PM
Hi ClaireR,
No, I didn't remove anything. I had to select LPC2148 target and RTX Kernel in the "Options for target" menu, from the test example.
But now another 2 errors occur:
.\Obj\LabVIEW.axf: Error: L6218E: Undefined symbol ARM_TargetInit (referred from lvinit_rtx.o).
.\Obj\LabVIEW.axf: Error: L6218E: Undefined symbol ARM_TargetUnInit (referred from lvinit_rtx.o).
I've checked in the LabVIEW uVision project the Lvinit_rtx.c file. The 2 are defined as:
extern void ARM_TargetInit(void);
extern void ARM_TargetUnInit(void);
Any idea?
04-19-2010 04:27 PM
Hi MihaiC,
I have given the files to one of my collegues to see if he runs into any problems. You shouldn't have to select anything. I will let you know how his test run goes.
04-19-2010 05:05 PM
HI MihaiC,
I forgot to include a file in the build I sent you (my collegues build failed too). Please delete the LPC2148 target folder I had you place at C:\Program Files\National Instruments\LabVIEW 2009\Targets\Keil\Embedded\RealView\Generic\LPC2148, and then redo the steps described in the Read Me with the files attached.