Having trouble running Canon Basic - Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes) - CHDK Forum

Having trouble running Canon Basic

  • 2 Replies
  • 2942 Views
Having trouble running Canon Basic
« on: 23 / March / 2020, 16:29:23 »
Advertisements
Dear all— thanks so much for this project!

So I’m trying to run Canon Basic script on my Canon M6, 1.00f. I first wanted to try the ‘clean overlays’ script, but when that didn’t work I tried a ‘hello world’ which didn’t work either so I think I have a problem getting Canon Basic to run!

For setting up the cards, I referred to https://chdk.fandom.com/wiki/Canon_Basic/Card_Setup. I’m on OS X so I used the Macboot utility.  I tried two memory cards. The cards are FAT32, they have the script.req and an extend.m which contains the hello world from https://chdk.fandom.com/wiki/Canon_Basic. When I try to dump the disk contents it seems like the “SCRIPT” string got written to the header (see below).

I’ve tried a 64GB card formatted with Apple Disk Utility (the camera formats it to Ex-Fat instead) and a 4GB card low-level formatted in Camera (in this case the camera does format as FAT32).

When I turn on the camera, go into image playback mode, and press the Q/SET button, nothing happens. Note that this camera does not have a FUNC./SET button as described on the wiki. I tried some other buttons like M-Fn but no results yet.

I know that people have used scripts on this camera so I must be doing something wrong! Who has some ideas on what I could try?

Thanks so much,

Eric

Code: [Select]
MBP-van-Eric-2:e$ sudo dd if=/dev/disk2s1 bs=1024 count=1 | hexdump -C
1+0 records in
1+0 records out
1024 bytes transferred in 0.001269 secs (806870 bytes/sec)
00000000  eb 00 90 43 41 4e 4f 4e  45 4f 53 00 02 40 98 18  |...CANONEOS..@..|
00000010  02 00 00 00 00 f8 00 00  3f 00 80 00 00 20 00 00  |........?.... ..|
00000020  00 90 76 00 b4 03 00 00  00 00 00 00 02 00 00 00  |..v.............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 00 29 14 00 01 01 45  4f 53 5f 44 49 47 49 54  |..)....EOS_DIGIT|
00000050  41 4c 46 41 54 33 32 20  20 20 00 00 00 00 00 00  |ALFAT32   ......|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  53 43 52 49 50 54 00 00  00 00 00 00 00 00 55 aa  |SCRIPT........U.|
00000200  52 52 61 41 00 00 00 00  00 00 00 00 00 00 00 00  |RRaA............|
00000210  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000003e0  00 00 00 00 72 72 41 61  3d d9 01 00 08 00 00 00  |....rrAa=.......|
000003f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000400

*

Offline reyalp

  • ******
  • 14082
Re: Having trouble running Canon Basic
« Reply #1 on: 23 / March / 2020, 17:22:51 »
So I’m trying to run Canon Basic script on my Canon M6, 1.00f. I first wanted to try the ‘clean overlays’ script, but when that didn’t work I tried a ‘hello world’ which didn’t work either so I think I have a problem getting Canon Basic to run!
It's possible that hello world doesn't display correctly. You are more likely to see output if there is an image on the camera, but it might have other issues.

For the clean overlay script, which specific script are you using? In a quick scan of the thread I only see one for firmware 100b https://chdk.setepontos.com/index.php?topic=13489.msg138708#msg138708 (but I could easily have missed on for 100f, or confirmation that the variable addresses are the same)
Never mind, I did miss it https://chdk.setepontos.com/index.php?topic=13489.msg142464#msg142464

Quote
When I turn on the camera, go into image playback mode, and press the Q/SET button,
The Q/SET button is the correct button.
« Last Edit: 23 / March / 2020, 17:24:49 by reyalp »
Don't forget what the H stands for.

Re: Having trouble running Canon Basic
« Reply #2 on: 23 / March / 2020, 18:02:54 »
Thanks for the reply! It didn’t change when I added some images so I must be doing something else wrong.

 

Related Topics