LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

MCB 2300 SD card problem (USB device not recognised)

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?

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

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

0 Kudos
Message 2 of 8
(8,335 Views)
i'm a little bit confused 🙂 OK what i wanna do. i just want to write some measurement data to SD card. Data is collected using MCB2300 analog inputs. I just want to store it on the SD card. Should i use read/write file blocks in labview? I'm using labview 8,6 and RealViewMDK-ARM version 3,22.
0 Kudos
Message 3 of 8
(8,332 Views)
I've been also interested in File I/O on mcb2300 few weeks ago and realized that File I/O pallet will work.
0 Kudos
Message 4 of 8
(8,328 Views)

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

0 Kudos
Message 5 of 8
(8,311 Views)

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

0 Kudos
Message 6 of 8
(8,304 Views)

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:

Picture2.png

 

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

Message Edited by Kevin_S on 05-14-2010 08:57 AM
0 Kudos
Message 7 of 8
(8,293 Views)

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.

0 Kudos
Message 8 of 8
(8,280 Views)