Announcement

Collapse
No announcement yet.

Windows reading RAW with standard card readers.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16


    Sorry its been so long between drinks.
    Just reporting its uber good working.
    Nice n quick brought smiles all round. The delayed reply was two fold, I'm working on other aspects of the job and also my comrade was wrapping your app in such away that we can get certain blocks of info out.

    When he gave me the latest wrapper this morning I asked if the flip side was possible, ie we write certain things to the card so as to set the uP device to do different things. I have all this working on my original serial script via uDrive trick. His reply was "I dont know if scriptC allows writing, ill see"

    I thought I'd ask the horse
    Can we dump a sector block of data onto the card using your script?
    If the answer is yes, I can continue on my way and let him sort it out

    cheers

    Comment


    • #17


      Any thoughts on why scriptC will not work on a windows 7 system?

      thanks

      Comment


      • #18


        Any hints as to what doesn't work oin Windows 7?

        If it's the direct uSD Reading / Writing try setting ScriptC so it 'requires Administrator' priveledges and see if that fixes it
        Mark

        Comment


        • #19


          Hi,

          The script is used to read from card in usb-card-reader, isn't?
          Can you please paste the whole script here so that we can see it easily? Thanks.
          And is the 2GB the limit of micro-Drive?

          Thanks a lot for your support.

          Comment


          • #20


            Yes.

            The whole script is in my post on 01/09/10 at 10:14 AM

            A uSD-HC version of uDrive could be created if requested, no one has requested it yet.
            Mark

            Comment


            • #21


              Thanks, we have ordered 5 micro-Drive from Dontronics. And will able to test it next week.

              Comment


              • #22
                Hi, It looks scriptC doesn't understand the script:

                C:\Program Files (x86)\4D Labs\4D Workshop 3 IDE\DEP>scriptC.exe c:\setup\micro-
                Drive\ReadRaw.4DScript
                Error:Invalid parameter count:- #Run (column 1 line 1 file:ReadRaw.4DScript)
                Error:Mode not specified:- #Run (column 1 line 1 file:ReadRaw.4DScript)
                Error:Type not specified:- #Run (column 1 line 1 file:ReadRaw.4DScript)
                Exception EInOutError in module scriptC.exe at 0004F43D.
                I/O error 103.

                C:\Program Files (x86)\4D Labs\4D Workshop 3 IDE\DEP>type c:\setup\micro-Drive\R
                eadRaw.4DScript
                #Run(Picaso,,256000,5,Wrap)
                $timeon
                $readPCuSD('Sectors.hex','G:',0,5000) // save the 1st 500 sectors to file 'sec
                tors.hex'
                // func $ReadPCuSD("pcFile", "uSDDrive", "StartSector", "#Sectors") // Read mult
                iple sectors from RAW uSD in PC
                //
                // pcFile The file to write the sectors to.
                // uSDDrive The drive the uSD card is in, eg G:
                // startsector The starting sector to read
                // #sectors The number of sectors to read.
                //
                // Description This reads #sectors from the uSD card in the PC starting at the
                specified sector
                // and saves them to the pc with the specified Filename.
                //Feed this file into ScriptC.exe (in the DEP folder in the workshop) program fr
                om the command line, or in a batch file like this:-
                //ScriptC ReadRaw

                Any suggetions? Thanks.

                Comment


                • #23


                  Try changing line 1 to

                  #Run(Picaso,COMx,256000,5,Wrap)

                  Where x is the com port your uDrive is attached to
                  Mark

                  Comment


                  • #24


                    Thanks, it works.

                    Comment

                    Working...
                    X