05-13-2010 02:01 AM
Hi all
Maybe anyone had the same problem. When i connect USB cable to the MC2300 i receive mesage in windows "USB device not recognizes" When i look in properties it sais that there is no USB driver for my device. I'm using winXP SP3 system.
The main problem is that winxp can not see any SD card inserted in the MCB2300 SD card holder. Tried 2 different cards (16 Mb, 1 Gb). Maybe there is specific drivers for MCB2300 SD card holder?
05-13-2010 06:54 AM
Hello.
To see data on SD card throw USB connection without any special driver you'll have to implement Mass Storage Device class, it's not an easy task.Take a look at example: http://www.keil.com/download/docs/336.asp
05-13-2010 07:17 AM
05-13-2010 09:01 AM
05-13-2010 03:51 PM
As far as LabVIEW for ARM 2009, the USB interface on the MCB2300 is only used to power the board. There's not going to be a way to access the SD card through the USB cable unless you do some custom programming. (The Keil USB library isn't even distributed with the LabVIEW for ARM module.) (See this article for more info.)
Regarding File I/O with ARM targets, the LabVIEW File I/O VIs are supported as of LabVIEW for ARM 2009. (See the 2009 help file.) Prior to this, you have to implement your own driver (or call into Keil's Flash library) in order to write to/read from flash.
Here is an example of writing to/reading from flash in LabVIEW for ARM 2009 using the VIs in LabVIEW.
Kevin S.
Applications Engineer
National Instruments
05-14-2010 12:52 AM
Hi Kevin
Which version of KEIL uvision you used to complie your example? I'm receiving errors. I'm using Labview 2009 evaluation version and 3.22 Keil uvission.
compiling RTX_Config.c...
..\System\RTX_Config.c(326): error: #5: cannot open source input file "RTX_lib.c": No such file or director
05-14-2010 08:56 AM - edited 05-14-2010 08:57 AM
raist2,
I was able to compile the code fine for an MCB2300. When I go to Keil uVision » Help » About, here is what is displayed:
Are you using the version of uVision that you downloaded along with the LabVIEW for ARM 2009 evaluation module?
Kevin S.
Applications Engineer
National Instruments
05-14-2010 11:14 PM
Hi KEvin
Everything start working when i update uvision libraries from version 3.22 to 3.80. Update i found on the net. Now i can write/read files on SD card using your example. Thanx for you help.