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.


Messages - Ant123

Pages: 1 2 [3] 4 5
51
Some progress on emulating DIGIC 6:

I think it's possible to emulate simple drawing of text strings in case main CPU will send certain messages to MZRM core...
But on EOS M3  the camera controller still does not allow to start it normally and goes to shutdown.
What is the situation with DSLRs?

52
Camera-specific discussion / Re: Porting ML to XSi (450D)
« on: December 07, 2017, 06:31:11 PM »
BTW - address 0xFFD65490 doesn't seem valid for 450D - did you mean 0xFFD237F0 ?
Yes. There was wrong address 0xFFD65490.
But it doesn't help to create working binaries using modern GCC.
Only gcc-arm-none-eabi-4_7-2012q4 generates binary which doesn't stuck.

Quote
Does that mean not all these patches from disable_cache_clearing are actually required for booting?
I don't know. I just found the same opcodes based on 40D port.

53
Camera-specific discussion / Re: Porting ML to XSi (450D)
« on: September 24, 2017, 01:39:54 PM »
Does the "ETTR ETTR ETTR ETTR" message show up on actual hardware as in the above screenshot?
Yes, if you are talking about ML Prefs menu.

Quote
Compiling from latest changeset from Ant (c700f92) gives the same result (stuck on initial screen, with LED turned on).
Try this patch:
Code: [Select]
diff -r 18ac6b0f9929 platform/450D.110/init.c
--- a/platform/450D.110/init.c Sun Oct 30 14:43:33 2016 +0200
+++ b/platform/450D.110/init.c Sun Sep 24 14:27:14 2017 +0300
@@ -89,7 +89,9 @@
  // _mem_init();
  bmp_vram_idle_ptr = malloc(360*240);
  // _find_ml_card();
- msleep(550);
+ // msleep(550);
+ uint32_t size;
+    while((FIO_GetFileSize("AUTOEXEC.BIN", &size ) != 0) || (size == 0))  msleep(10);
  _load_fonts();
        // msleep(300);
  call("DisablePowerSave");
Note: I'm using gcc-arm-none-eabi-4_7-2012q4. With GCC 4.8 it stuks.

54
Camera-specific discussion / Re: Canon 750D
« on: July 12, 2017, 06:33:45 PM »
Walter Schulz

Are not you tired of answering stupid questions from new members?
Maybe it's need to oblige them to read the FAQ before they can leave comments?

55
Camera-specific discussion / Re: Porting ML to XSi (450D)
« on: June 24, 2017, 10:12:29 PM »
I'm I missing something?
Read the FAQ first...

56
Reverse Engineering / Re: UHS-I / SD cards investigation
« on: June 19, 2017, 11:31:21 AM »
My hypothesis was that 5D3's SD controller is UHS-capable, but for some unknown reason (could be even problems during the initial tests), Canon decided not to include it in the firmware. As a result, some of the UHS initialization code (hopefully a small part) was optimized out.

If you can not enter UHS mode with ML but it works without, read this topic.
Conclusion:
Most SD cards need to be reinitialized by switching off SD power if they already were in UHS mode.

57
Camera-specific discussion / Re: Canon 80D
« on: May 12, 2017, 10:15:02 PM »
http://chdk.wikia.com/wiki/Digic_6_Porting

Copying CHDK cache functions is probably enough to move forward.

What is "CHDK cache functions" ?

59
Camera-specific discussion / Re: Canon 7D Mark II
« on: April 16, 2017, 11:52:07 PM »
and M5, M6, M10...
M3 and M10 already run CHDK  :P

60
Reverse Engineering / Re: Intercepting DebugMsg with cache hacks
« on: April 15, 2017, 12:09:09 AM »
Can anybody post here logs containing UHS-SD initialisation messages(like there)

61
Camera-specific discussion / Re: Canon 80D
« on: February 26, 2017, 07:24:28 PM »
EnableBootDisk
Code: [Select]
0xFE5F150C(0xFC040004, -1);
DisableBootDisk
Code: [Select]
0xFE5F150C(0xFC040004, 0);
Try it on YOUR camera first.  ;D

62
Camera-specific discussion / Re: Canon 80D
« on: February 26, 2017, 03:26:48 PM »

63
Camera-specific discussion / Re: Canon 80D
« on: February 24, 2017, 07:17:20 PM »
When we will see exactly the same picture on the camera display?   :)

64
Camera-specific discussion / Re: Canon 80D
« on: February 19, 2017, 02:23:11 PM »
There is a new firmware for the 80D available , maybe this will help developing an 80D ML Version ?
No. Only finding the developer with the camera would help...

65
General Help Q&A / Re: Battery drain
« on: February 16, 2017, 11:14:11 PM »
Image quality is not sufficient to read IC marking.
But it looks like one of those...

66
General Help Q&A / Re: Battery drain
« on: February 16, 2017, 10:52:53 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?

67
General Help Q&A / Re: Battery drain
« on: 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.

68
General Chat / Re: Eos M with Magic Lantern or Eos M3 without?
« on: February 04, 2017, 10:04:15 PM »
But currently CHDK still have no ML features implemented...

69
General Chat / Re: Eos M with Magic Lantern or Eos M3 without?
« on: February 04, 2017, 09:38:51 PM »
I bet you the M2 will get ported first!
Do you remember, where and when M2 was released?

is 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.  :)


70
Camera-specific discussion / Re: EOS M5 - 80D in your "pocket"
« on: January 21, 2017, 07:34:01 PM »
There is no working port for M2, unlike M10
2 vs 1  :)

71
Camera-specific discussion / Re: EOS M5 - 80D in your "pocket"
« on: January 21, 2017, 07:08:41 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

72
Camera-specific discussion / Re: EOS M5 - 80D in your "pocket"
« on: January 21, 2017, 09:22:00 AM »
A 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...

73
Reverse Engineering / Re: ProcessTwoInTwoOutLosslessPath
« on: December 30, 2016, 02:04:21 PM »
List of cameras based on TI's DSP...

74
Reverse Engineering / Re: ProcessTwoInTwoOutLosslessPath
« on: December 28, 2016, 07:50:58 PM »
a1ex
Definitely, that guy should know something  :)
Look at his patents...

75
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.

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

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

Code: [Select]
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

Pages: 1 2 [3] 4 5