Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Ant123

#126
General Help Q&A / Re: Battery drain
February 16, 2017, 11:14:11 PM
Image quality is not sufficient to read IC marking.
But it looks like one of those...
#127
General Help Q&A / Re: Battery drain
February 16, 2017, 10:52:53 PM
Quote from: a1ex on February 16, 2017, 09:58:54 PM
Might work, but somebody has to reverse engineer it :D

First of all it's need to identify the RTC chip.
Where to find mainboard photos better than this?
#128
General Help Q&A / Re: Battery drain
February 16, 2017, 09:42:49 PM
What about using the RTC chip for waking up the camera? Some chips have an alarm output signal, but I am not sure it's connected to cpu/mpu.
#129
But currently CHDK still have no ML features implemented...
#130
Quote from: DeafEyeJedi on February 04, 2017, 07:20:52 PM
I bet you the M2 will get ported first!
Do you remember, where and when M2 was released?

Quote from: Francesco on February 04, 2017, 08:26:39 PMis there still any possibility of a ML port to the M3?
The possibility is equal to the possibility of a ML port to Digic6-based Powershot cameras.  :)

#131
There is no working port for M2, unlike M10
2 vs 1  :)
#132
Quote from: a1ex on January 21, 2017, 06:33:26 PM
http://builds.magiclantern.fm/ -> under "Your camera is not listed?"
There should be writen: "most of Canon EOS M cameras (M3, M5, M10) are based on PowerShot firmware"  :)
There are two cameras with CHDK vs. one with ML.

EOS M5 internals - there is no ADTG chip
#133
Quote from: dfort on January 21, 2017, 01:44:28 AMA few years later this mirrorless camera is the first to sport a Digic 7 processor

The first one was Canon PowerShot G7 X Mark II.
Now we are sure EOS M5 is not EOS. It's one more PowerShot. So wellcome to CHDK forum...
#134
Reverse Engineering / Re: ProcessTwoInTwoOutLosslessPath
December 30, 2016, 02:04:21 PM
List of cameras based on TI's DSP...
#135
Reverse Engineering / Re: ProcessTwoInTwoOutLosslessPath
December 28, 2016, 07:50:58 PM
a1ex
Definitely, that guy should know something  :)
Look at his patents...
#136
Quote from: SysCall on December 15, 2016, 09:34:01 PM
Correct me if I'm wrong, but most people are using IDA Pro or GPL Tools/ARM console.
There is no another way to  make ML port.

QuoteIs it a global function that you just can call?
Yes.

QuoteHow do you determine the address (0xFFFF4140) anyway?
Just looked on the bootloader code.


ROM:FFFF29A4 04 E0 2D E5       STR             LR, [SP,#-4]!
ROM:FFFF29A8 80 D0 4D E2       SUB             SP, SP, #0x80
ROM:FFFF29AC 11 0F 8F E2       ADR             R0, aYouChoseTheWri ; "You chose the writing of a Volume Label"...
ROM:FFFF29B0 76 27 00 EB       BL              sub_FFFFC790
ROM:FFFF29B4 0D 10 A0 E1       MOV             R1, SP
ROM:FFFF29B8 1B 0F 8F E2       ADR             R0, aMayIWriteYN  ; "May I write(Y/N)? :"
ROM:FFFF29BC 80 20 A0 E3       MOV             R2, #0x80
ROM:FFFF29C0 41 00 00 EB       BL              sub_FFFF2ACC
ROM:FFFF29C4 00 00 DD E5       LDRB            R0, [SP]
ROM:FFFF29C8 79 00 50 E3       CMP             R0, #0x79 ; 'y'
ROM:FFFF29CC 00 00 DD 15       LDRNEB          R0, [SP]
ROM:FFFF29D0 59 00 50 13       CMPNE           R0, #0x59 ; 'Y'
ROM:FFFF29D4 05 00 00 1A       BNE             loc_FFFF29F0
ROM:FFFF29D8 00 00 A0 E3       MOV             R0, #0
ROM:FFFF29DC D7 05 00 EB       BL              sub_FFFF4140
ROM:FFFF29E0 16 3F 8F E2       ADR             R3, aWriteError_  ; "WRITE error.\n"
ROM:FFFF29E4 19 2F 8F E2       ADR             R2, aWriteDone_   ; "WRITE done.\n"
ROM:FFFF29E8 00 10 A0 E3       MOV             R1, #0
ROM:FFFF29EC 32 00 00 EB       BL              sub_FFFF2ABC
#137
Quote from: SysCall on December 15, 2016, 07:51:11 PM
I have read that someone just skip it and make the SD card bootable manually.
On 450D write_card_bootflag() function works well.
I forgot to delete the comment.
#138
You are strange people...
Printig bootloader memory values to log file instead making full ROM dump. Why?
#139
Quote from: SysCall on December 10, 2016, 12:05:25 PM

The installer enables the boot flag from the bootloader context?

You also needed the address of the write and read functions.
I think 5DC installer is documented well enough.


Quote
Do I have to blink one address and then make a ROM dump?

Maybe because he doesn't want to blink the whole address range again for the canon 1000d?

I suspect that bootloader should be the same for different firmware versions.

http://www.magiclantern.fm/forum/index.php?topic=18337.msg176013#msg176013

But you can create your own dump using  dumpmemo() function

#140
Quote from: SysCall on December 09, 2016, 09:44:25 PM
I want to make sure that it works stable, before posting it.

You should not reinvent the wheel. Use modified common installer for VxWorks cameras.

You can also easily modify it to repair you camera.
#141
Quote from: shmadul on December 08, 2016, 10:18:39 PM
@Ant123 Where's that located ??
On your computer.
But first you need to modify and complie this code

Quote from: SysCall on December 08, 2016, 10:25:47 PM
I'm out of the game.

I just successfully bricked my camera.

I managed to enable and disable the boot flag a few times in row without any issues and then ...
http://www.magiclantern.fm/forum/index.php?board=45.0
#142
Quote from: SysCall on December 08, 2016, 07:36:12 PM
I'm not able to set the boot flag each time I disable it. Sometime it works, sometime it does not.

Try to use modified 5DC installer. Maybe it will be more stable...
#143
Quote from: Levas on December 06, 2016, 09:19:13 PM
We're gonna use our 1000D as christmass decoration this year, hanging in a tree with blinking leds ;D
So you need to rename this topic again - and you will celebrate till 2018.  ;D
#144
But this is not ML. Are you porting ML or something else?
#145
Quote from: SysCall on December 06, 2016, 08:46:53 PM
Start simple :)

What I did was, in Coutts latest release

I don't know what is "Coutts latest release" for.
I was working only with VxWorks ML ports (40D and 5DC ) to get ML on 450D with minimum functionality .
#146
Quote from: SysCall on December 06, 2016, 08:24:33 PM
Video is online, same link as previous post.
Now I see. But why you are playing with LEDs and don't modifying VxWorks branch. What is your final objective?

Quote
Btw, why is your flag set?
You got it already running?
My picture of 450D display test was made before BOOTFLAG was set.
#147
Quote from: SysCall on December 06, 2016, 08:08:38 PM
Well looking at the image, I don't know what it is all about to be honest, especially what the BOOT value means, guess BOOT=-1 is wrong?
Read that topic from the begining to the end again.

If BOOTFLAG is set you will see "BOOT=-1" ( -1 == 0xFFFFFFFF)
#148
Do you get picture like this using autoexec.bin, not *.FIR?
#149
Quote from: SysCall on December 06, 2016, 07:36:44 PM
Btw, it looks like I got autoboot working too, at least when I change the AUTOEXEC.BIN I see that it is automatically executed.

Also after switching the camera off and on I see my code running, I also get into main Canon menu. So I guess the firmware just boot normally and the code runs in parallel.

I want to confirm hat as you said by using the display test.

I.e. you are sure that BOOTFLAG was successfully set and AUTOEXEC.BIN from there works?
#150
on 450D this code works well.