LabVIEW Embedded

取消
顯示結果 
搜尋替代 
您的意思是: 

MCB2300 SD Card Error

已解決!
前往解決方案

Hello,

 

I have downloaded trial verison of LabVIEW Embedded for ARM 2009.  I am trying to use file I/O functions to read/Write to the SD card on MCB2300 (LPC2378).   The program always gives an error at file open function.  Please find the attached screenshot.

 

Thanks in Advance

下載全部
1 條訊息(共 24 條)
12,251 檢視

I think your program worked first time and the file is already there.
The VI will end with an error on Windows too (error 2/Duplicate path) – try "replace or create". You can see the error code if the error cluster is wired to a "CCG Error Handler.vi" (located near CCG Console Output in Time & Dialog).

 

 

Is this snippet working? http://forums.ni.com/ni/board/message?board.id=420&message.id=1455#M1455

0 積分
2 條訊息(共 24 條)
12,248 檢視

Hello NiCB,

 

 I receive error 6 (generic file I/O error).  I have changed the file open to open or create function.  I am able to read and write to the Sd card using my pc sd card slot.  Do we have to set any jumpers or any other parameters on MCB2300 board?

0 積分
3 條訊息(共 24 條)
12,241 檢視
I used the above snippet and it does not work.  I have inserted the SD card in the slot present under the LCD panel.  I am not sure what I am doing wrong??
0 積分
4 條訊息(共 24 條)
12,236 檢視

OK, this is an IO error.

I am wondering if Keil example is running (http://www.keil.com/download/docs/338.asp).

If you don't have RL-ARM just load the project file and execute flash-download.

0 積分
5 條訊息(共 24 條)
12,226 檢視

Hi Jaggs,

 

Have you tried using the file I/O example on our community? If not, could you run and see if you experience the same behavior?

 

 

File I/O for Embedded ARM Targets

http://decibel.ni.com/content/docs/DOC-6254

 

Thanks!

0 積分
6 條訊息(共 24 條)
12,212 檢視

Hello Meghan,

 

The example is not working.

 

Hello NiCB,

 

The flash download is giving a error "No ULINK device found"

i have connected COM1 port on the board to the PC COM port.  Do I need to set any jumpers?  My OS is VISTA.

 

Thanks.

 

0 積分
7 條訊息(共 24 條)
12,203 檢視

Hello,

 

I connected the ULINK2 and was able to download the SD file program to the flash and now when the program is running, I have connected the serial cable to COM1 and PC and trying to communicate with SD card.  However, I am not sure about the commands to use in hyperterminal.

0 積分
8 條訊息(共 24 條)
12,194 檢視

I don't understand the previous post, perhaps you just hadn't connected the ULINK2. However, this link may be useful in some cases http://www.keil.com/support/docs/3315.htm

 

Hyperterminal commands are listed in SD_file.c
Try "CAP", "TYPE", "REN",  "COPY",  "DEL",  "DIR", "FORMAT",   "HELP",    "FILL", "?".

Anyway, they are listed at startup as an intro message.

 

Nic

0 積分
9 條訊息(共 24 條)
12,191 檢視

Hello,

 

I was able to run the Sd file example and debug using COM1 Port.  Previously I was using wrong serial cable.  However, the initial problem of communicating to the SD card from LabVIEW is still present.  I found that when I initially launch LabVIEw, it says that LabVIEW embedded builder licenseis not present. I am not sure if this is causing a problem.

0 積分
10 條訊息(共 24 條)
12,186 檢視