Card Tricks - a small utility to help manage SD cards - page 9 - General Help and Assistance on using CHDK stable releases - CHDK Forum

Card Tricks - a small utility to help manage SD cards

  • 209 Replies
  • 343412 Views
*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Card Tricks - a small utility to help manage SD cards
« Reply #80 on: 09 / September / 2008, 13:45:53 »
Advertisements
@bongo_bingo

I think that should be possible, I'll look into it ...

wim

Re: Card Tricks - a small utility to help manage SD cards
« Reply #81 on: 09 / September / 2008, 14:49:48 »
thanks for the attention, it would be the columbus egg for the porting on new cameras!

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Card Tricks - a small utility to help manage SD cards
« Reply #82 on: 10 / September / 2008, 08:29:49 »
Ok, looked into it a little further. It seems possible to use the udumper code to
dump not firmware but memory, but I'm not sure if that's what you want.
Reason: this memory dump would just reflect the memory right after
highjacking Canons firm update routine, and would always produce
the same results for a given cam. besides, looking at the udumper code,
in order to even start on DryOS it needs to wipe a large chunk of memory
which makes it even less useful ...

All in all, I don't think I can be of any use to you guys with this ...

if you think otherwise, let me know

wim

Re: Card Tricks - a small utility to help manage SD cards
« Reply #83 on: 10 / September / 2008, 09:07:43 »
Hello,

the idea is to find a way to trace the execution of the original canon firmware then it should be a little easier to insert the chdk's calls.

Is there a logic in this idea?
« Last Edit: 10 / September / 2008, 09:14:01 by bongo_bingo »


*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Card Tricks - a small utility to help manage SD cards
« Reply #84 on: 10 / September / 2008, 09:36:34 »
@bongo_bingo

Quote
the idea is to find a way to trace the execution of the original canon firmware then it should be a little easier to insert the chdk's calls.

In the Debug Parameters you can already use "Dump RAM" to get a memory dump by short key +/- ...

Another way could be running the firmware in QEMU ... see GPL Tools in the wikia...

Re: Card Tricks - a small utility to help manage SD cards
« Reply #85 on: 10 / September / 2008, 13:54:55 »
New to the forum, sorry if already discussed but couldn't find an answer. I run Vista Home and I cannot run the program - somebody can help? When I doubleclick on cardtricks138.exe I get a "16 bit MS-DOS Subsystem" window telling me that:

D:\Download\CARDTR~.1.EXE
The NTVDM CPU has encountered an illegal instruction.
CS:125f IP:032b OP:63 72 6f 6c 6c Choose 'Close' to terminate the application

Two options: Close or Ignore. Close closes the DOS window, Ignore leaves it open but "dead".

Also tried on my wife's PC (also running Vista Home), same result.
Thanks!

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Card Tricks - a small utility to help manage SD cards
« Reply #86 on: 11 / September / 2008, 02:04:44 »
@riccume

I can only assume Vista must disapprove of some of the command line utilities in CardTricks,
every time uncle Bill "improves" his OS we users seem to have less rights than before ...
Don't have access to a Vista box, so I cannot investigate this any further now, sorry.

i'll look into it when I can.

wim

update (Oct 1 '08)  Tested CT 1.36 & 1.39 on Vista Business SP1: Can not reproduce this, CT runs fine ...
                             (some dialog boxes look ugly though, need to look into that) It does warn about an
                             Unknown Program (because it is not digitally signed) and requires an Administrator
                             password if your running as a standard user.
                             Please ask your resident Vista guru to help you further with this, I am only an occasional
                             Vista user (and then only if it's absolutely unavoidable)
« Last Edit: 02 / October / 2008, 19:42:50 by whim »

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Card Tricks - a small utility to help manage SD cards
« Reply #87 on: 02 / October / 2008, 12:52:03 »
New version CardTricks139.exe - 0.40MB

  • Modified udumper to dump firmware to the end (=0xFFFF FFFF), thanks to a suggestion by reyalp; this was only made possible by brake's conversion of the NewDryOs encode/decode into C (look here: First boot: a failure!); thanks too to ma_jk who tested it
  • modified cleaning routine for the dump, after removing leading/trailing zeroes it now chops the last 2 bytes; this should assure painless loading into IDA
  • the 'Download CHDK' button now opens both GrAnd's and Hacki's Autobuild pages in default browser

cheers,

wim
« Last Edit: 02 / October / 2008, 14:34:31 by whim »


*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Card Tricks - a small utility to help manage SD cards
« Reply #88 on: 05 / October / 2008, 10:40:44 »
small fixes [edit: link removed, see bugfix v.141]

  • check card size before creating Udumper; refuse on cards < 16 Mb
    reduced empty.dum size to ~ 10 Mb, now 16 Mb cards are OK for Udump (thanks PhyrePhox !)
  • updated udumper + sources (uses brake's corrected encode.c now)

enjoy,

wim

edit: almost forgot: improved Vista compatibility, runs OK even under a Standard User (limited rights) account,
         tested formatting & udumper creation. Note: Win9x is no longer supported.
« Last Edit: 07 / October / 2008, 12:26:28 by whim »

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Card Tricks - a small utility to help manage SD cards
« Reply #89 on: 07 / October / 2008, 10:30:01 »
Another bugfix CardTricks141.exe - 0.42MB  :-[

  • Helper files and source code now always overwritten
  • Added checkbox to activate CF support for DSLR's

wim

 

Related Topics