LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

MCB2300 SD Card Error

Solved!
Go to solution
Hello Application Engineers, Any Ideas??
0 Kudos
Message 11 of 24
(5,027 Views)

If you can read and write files from Hyperterminal using Keil example then you should be able to make the same from LabVIEW generated projects (there is not a hardware issue).

 

Let's try something, even if that issue had been already fixed: use UPPERCASE.TXT filename.

 

I don't have a MCB board, so inviting application engineers is a good idea. Could you update all project, including generated files (remove MCB2300\Application\2.0\Project\Obj before making the archive)

0 Kudos
Message 12 of 24
(5,023 Views)
Sorry, my suggestion was to upload (post here) an archive of your project folder. Removing the Obj folder will reduce the size.
0 Kudos
Message 13 of 24
(5,020 Views)

Here it is my generated files.

Open project sd card\tst sd card\MCB2300\Application\2.0\Project\LabVIEW.uv2 and try flash-download-debug.

0 Kudos
Message 14 of 24
(5,017 Views)

Hello NIcB,

 

I have changed the name to all caps but it did not work.  I directly flashed the project send  by you and it did not work.  Please find the attached project which I recompiled.  Please let me know if you can flash the project file which I compiled.

0 Kudos
Message 15 of 24
(4,989 Views)
This is my uvision version which is evaluation version.
0 Kudos
Message 16 of 24
(4,988 Views)

I understand you are seeing the same errors (2-IOerr) in RTAgent window while debugging the project posted by me (so, there is no DAVID.TXT file in your SD). However, I checked the files and versions from your archive and seemed to be OK.

Again, I don't have a MCB board so I cannot help with real tests (be sure, the problem would be fixed already if I've had one).

 

I am very thrilled:

- Meghan said she tested files on MCB2300,

- you don't have hardware problems (because Keil demo run successfully),

- and your system is properly configured, generating the same code as mine.

 

Who's lying here?

Also, all is working well on Stellaris, and the only differences are drivers (MCI_LPC23xx.c) and library (FS_ARM_L.lib - yes, you can build the SD file demo from Keil because the missing file is in your computer : ).

0 Kudos
Message 17 of 24
(4,982 Views)

This is the link from where I downloaded LabVIEW embedded 2009:

 

http://joule.ni.com/nidu/cds/view/p/id/1049/lang/en

 

Can you please check if this is the correct version..

0 Kudos
Message 18 of 24
(4,979 Views)
Yes, it is.
As I wrote in the previous post I checked your generated files, project and drivers and all is OK (this explains somehow why my project is not running successfully on your board).


0 Kudos
Message 19 of 24
(4,978 Views)

Hello Jaggs,

 

I could succesfully run the snippet example that was posted earlier in this thread.  One of the main problems I saw in your example was that you need to wire the path output of the first close to the input of the second open/create/replace function.  This will ensure that you are creating and succesfully closing the file before trying to read it.

 

Works.png

 

 

 One thing you could try is to make the file path M:\DAVID.TXT.

 

Also I have posted a zip file of my directory minus the Obj folder

Regards,

Jon S.
National Instruments
LabVIEW NXG Product Owner
0 Kudos
Message 20 of 24
(4,932 Views)