Announcement

Collapse
No announcement yet.

Windows reading RAW with standard card readers.

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

  • vms
    replied


    Thanks, it works.

    Leave a comment:


  • ESPsupport
    replied


    Try changing line 1 to

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

    Where x is the com port your uDrive is attached to

    Leave a comment:


  • vms
    replied
    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.

    Leave a comment:


  • vms
    replied


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

    Leave a comment:


  • ESPsupport
    replied


    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.

    Leave a comment:


  • vms
    replied


    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.

    Leave a comment:


  • ESPsupport
    replied


    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

    Leave a comment:


  • vector
    replied


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

    thanks

    Leave a comment:


  • vector
    replied


    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

    Leave a comment:


  • vector
    replied


    go it cheers il let you know how it goes

    Leave a comment:


  • vector
    replied


    sweet they will like that

    did ya here that Beng? ( I know your snooping)

    Leave a comment:


  • ESPsupport
    replied


    Ah, good, wondered how it was going.

    Just finished spending a bit of time trying to extract some more speed from it.

    Perhaps a bit too successful, took me a while to convince myself it was actually working.

    I'll send you the update in a few hours.

    Leave a comment:


  • vector
    replied


    Just a quick thanks. The script seems to be working. My comrade in arms has indicated he is getting some good data.

    cheers

    Leave a comment:


  • vector
    replied


    ESPsupport wrote:
    Im kinda holding you to this
    It's actually attached to the post I did a few mins ago.

    But since the forum doesn't seem to display attachments atm I've emailed it to you
    got it cheers. Ill palm it off to my comrade in arms and Ill get back to uPeelooping

    Leave a comment:


  • ESPsupport
    replied


    Im kinda holding you to this
    It's actually attached to the post I did a few mins ago.

    But since the forum doesn't seem to display attachments atm I've emailed it to you

    Leave a comment:

Working...
X