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

Card Tricks - a small utility to help manage SD cards

  • 209 Replies
  • 331519 Views
Re: Card Tricks - a small utility to help manage SD cards
« Reply #160 on: 23 / August / 2009, 15:31:19 »
Advertisements
Thanks again. I am really looking forward to using bracketing, time lapse and motion detection. This makes a great camera simply amazing. Ken


From your post I am gathering that there is no loss in write speed for the camera etc. when using the Fat16 format. I got the SDHC Ultra to have a fast card and I didn't want to lose speed unintentionally.

I haven't benchmarked this, but I wouldn't worry. If you want to be sure, you can try it of course. I regularly use 3 cards: 1 GiB  Sandisk Ultra II and 4 GiB and 16 GiB Transcend Class 6 SDHC cards. The largest is of course a dual partition FAT16/FAT32 setup, others are FAT16.

I mostly use the 16 GiB card for timelapses only because appears to perform a bit slower than the others even though it benchmarks (in CHDK debug menu benchmark, that is) similarly to the 4 GiB one. Partially this is because the camera works faster when there aren't many photos on the card (put a 16 GiB card full of photos and it takes literally ages to boot to play mode), but filesystem size could affect speed too (smaller card handling faster).

Canon A 720IS

*

Offline reyalp

  • ******
  • 13880
Re: Card Tricks - a small utility to help manage SD cards
« Reply #161 on: 23 / August / 2009, 15:55:46 »
Might want to add a "new new dryos" udumper to cardtricks, see http://chdk.setepontos.com/index.php/topic,3994.msg38483.html#msg38483 ;)

Regarding FAT16 vs FAT32, one thin to keep in mind is that the FAT16 on a 4 gb card cluster size is 64K. This means the *minimum* size of a file is also 64K. This doesn't matter much for multi-megabyte files, but is rather wasteful if you have a lot of small files for some reason.

I suspect (but haven't confirmed) that the canon firmware is smart enough to only read/erase/write hardware sectors that physically need updating. If not, this could have a major impact on performance in some cases. As always, the testing is recommended if this really matters to you.
Don't forget what the H stands for.

*

Offline whim

  • ******
  • 2044
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Card Tricks - a small utility to help manage SD cards
« Reply #162 on: 23 / August / 2009, 16:05:47 »
Might want to add a "new new dryos" udumper to cardtricks, see http://chdk.setepontos.com/index.php/topic,3994.msg38483.html#msg38483 ;)

It's on the list, but i first need to find room for another button  :D

cheers,

wim

Re: Card Tricks - a small utility to help manage SD cards
« Reply #163 on: 03 / October / 2009, 23:10:19 »
Well, I have read most of this thread and done an extensive google search and am coming up short.

I downloaded CardTricks and ran the program.  When it runs, I get prompted to select my SD Card Drive.  I have my card plugged in and accessable...I select the drive (F: in my case)...hit OK...and immediately get prompted to select the drive again.

Now behind the "select the drive" filesystem browser, I can see that my card was loaded, it was FAT and it read the Drive label just fine.  The drive is listed as "Removable" so it is definately the right drive.

What am I doing wrong?  I can successfully write to the card via a DOS prompt and can browse the contents via windows.  I can even format the drive by right clicking it in "My Computer".  My operating system is WindowXP.

In addition, when I get to this point, the only way to exit the program is to kill the process from the task manager.

Help here would be appreciated!

Thanks,
PiperPilot


*

Offline whim

  • ******
  • 2044
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Card Tricks - a small utility to help manage SD cards
« Reply #164 on: 04 / October / 2009, 05:45:57 »
Hello Piperpilot,

Welcome to the forum !

You haven't installed CT to the SD card I hope ? That would surely cause the drive select dialog to loop, because
CT is programmed to refuse to select the following:
1) your system drive (the one Windows boots from)
2) all hard drives (unless you checked "Allow fixed disks")
3) the drive CardTricks is running from (because in this case formatting would lead to program suicide)

more things to check:
- press "Cancel" in the drive select dialog, and uncheck "Auto" (above the Card icon). Close and restart the program.
  You will now first have to click the card icon to get the drive select dialog. Does it work now  ?
- Delete the CardTricks144.ini file if it exists and retry
- Try if the program properly recognises a USB stick if you have one (to eliminate a weird SD card as cause)

If these tips don't solve your problems, please supply more detail: program version, install path, and card type/size;
as an afterthought: where did you download the program ?

hope that helps,

wim
« Last Edit: 04 / October / 2009, 05:59:06 by whim »

Re: Card Tricks - a small utility to help manage SD cards
« Reply #165 on: 04 / October / 2009, 15:24:50 »
OK...I figured out whats going on.  When you run the installer and it extracts the program, it creates a cardtricks folder wherever you tell it to extract the program.  BUT...it puts the cardtricks144.exe file in the root of the folder you specify, not in the cardtricks folder.  In my case, I told it to extract to c:\ so that it would put the program in c:\cardtricks...well cardtricks144.exe ended up in c:\ do I moved it to the cardtricks folder.  This is what was causing the problem.

I guess the program is looking for stuff in .\cardtricks\

Anyways, I moved the file outside of the folder and it all works fine now.

PiperPilot

Re: Card Tricks - a small utility to help manage SD cards
« Reply #166 on: 28 / November / 2009, 09:27:06 »
Does anyone have a bin file for the july 08 firmware?  I can't get the posted version to work and I think its because I have the july 08 firmware even though it is version 1.00b.

*

Offline reyalp

  • ******
  • 13880
Re: Card Tricks - a small utility to help manage SD cards
« Reply #167 on: 28 / November / 2009, 19:15:29 »
Does anyone have a bin file for the july 08 firmware?  I can't get the posted version to work and I think its because I have the july 08 firmware even though it is version 1.00b.
1) This thread is for card tricks, not general help. Start a new thread for your quesiton.
2) Your question doesn't make sense. You need to provide more detail. Which camera, "July 8" version of what ... in a new thread.

Thank you.
Don't forget what the H stands for.


Re: Card Tricks - a small utility to help manage SD cards
« Reply #168 on: 01 / December / 2009, 02:22:45 »
***Note: I selected this thread because it seemed to be directly related to diskboot and newer cameras but if you prefer I ask elsewhere I'll nuke this here and ask there....***

It's been an enjoyable break from chdk but I'm back today and working on partitioning.  After completing the task I began asking myself this question.... Why was it needed?  Now multiple partitions works in the SD780 but I wanted to test some of what was said here...in relation to the SD780.

I formatted a 4GB card (i know everyone is saying bigger then 4GB but thats all I got) as FAT32 (partition type 0xb).  I set it bootable with card tricks.  I added the build with partition support and locked the card.  Turning it on it then went to the second partition (i've made it ignore the 1st partition in my code).  

So has Canon updated the support for bootdisk for FAT32 volumes?  IE could I expect to bootdisk a 32GB SD card without a second partition?  Note this is a SDHC camera.

My fdisk from OSX...


bash-3.2# fdisk /dev/rdisk2
Disk: /dev/rdisk2   geometry: 960/128/63 [7741440 sectors]
Signature: 0xAA55
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: 0B    0   1   1 - 1023 254  63 [        63 -     195312] Win95 FAT-32
 2: 0C 1023 254  63 - 1023 254  63 [    195426 -    7546014] Win95 FAT32L
 3: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
 4: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
« Last Edit: 01 / December / 2009, 02:29:03 by HarpoMa »
Canon Models - SD300, SD780, & SX210

*

Offline whim

  • ******
  • 2044
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Card Tricks - a small utility to help manage SD cards
« Reply #169 on: 01 / December / 2009, 04:26:56 »
Quote
.... as FAT32 (partition type 0xb).  I set it bootable with card tricks
AFAIK that's impossible, unless you used CardTricks 1.45 (special version for DSLR which supports making FAT32 bootable, read here: http://chdk.setepontos.com/index.php/topic,4214.msg39827.html#msg39827 ) 'normal' version 1.44 will only allow the 'make bootable' operation on FAT16.

Also: your 2nd partition is type 0x0C , that's FAT32 LBA  ?

My 8 GB is formatted using SDMINSTE.EXE, first is FAT12 (2 MB, type 0x01) second is FAT32 (7817 MB,type 0x0B)

You probably need to take this up with someone familiar with the CHDK multipartition code ...

cheers,

wim


 

Related Topics