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 - KenSoftTH

#1
Camera-specific Development / Re: Canon 7D Mark II
July 01, 2020, 08:25:20 AM
Quote from: names_are_hard on July 01, 2020, 02:00:22 AM
Canon hasn't added any protection measures.  We can already run code on Digic 6, 7 and 8 cameras.  I don't know where this idea is coming from.

I used the wrong word. I should have said that Canon changed to newer CPU architecture that are more complex to reverse engineer. But by switching to newer ARM processor does in fact requires modder to redo almost everything from scratch.
Sorry, but I was a little bit confusing when I wrote the post above.
#2
Camera-specific Development / Re: Canon 7D Mark II
June 30, 2020, 07:39:54 PM
Quote from: Wlad81 on May 05, 2020, 12:00:26 AM
@KenSoftTH,

Not every man on this forum can earn "serious amount of bucks" and invest it on the camera. Which camera, by the way? There are quite a lot of good Canon cameras that can shoot raw, using ML, in highest quality previously available when using profi cinema cameras only. And these Canon cameras cost much, much less than those profi cinema cameras - I mean, Arri Alexa, Red (any), etc. There are cheap SD, CF cards (comparing to the profi cards or whatever), cheap lenses anyone can get great videos with. You can make almost any kind of image using raw from these Canon cameras, and this, may I call it, ML RAW SYSTEM costs much, much less money than any of those professional cinema raw systems. OK, this is all just my POV, but anyone already can make documentaries using ML raw. Using their own cameras, not the rented ones. And I want to thank all programmers that are working on this great project that, undoubtedly, has great future. I'm from Russia, for instance, and we have hard times by now (economical crisis, dictatorship, etc), but even now (!) I can afford myself shooting ML raw in highest possible quality, and I'm going to further evolve my raw system, because, again, I CAN afford it myself without investing tens of thousands of bucks into it. Just as I can afford myself to record sound (music) on tape from the mikes - and again, without those great investments. I can get great professionally looking picture for some hundreds of bucks with the camera that costed me... um... $200 with lens (!). Of course, there are BMCC, BMPCC, etc, but, to my mind, ML raw is better and even more cheap. ML is free of charge, by the way, isn't it great?

Go re-read my post. I know that not everyone has serious buck to afford those camera. I said that anyone who has the knowledge in ARM microprocessor or VLSI will earn serious buck and won't spend their time doing the hacking unless they are passion about it. You guy are expecting to do 4K, 6K or whatever, but there are many contraint in both hardware and software that developer need to overcome and many time it's just better off buying the camera that has that feature in the first place instead as it would be more stable in most cases. I'm not saying that it's impossible to do it, but it does require more brain power than ever before as Canon implement more and more lockdown on its firmware.
#3
Camera-specific Development / Re: Canon 7D Mark II
April 24, 2020, 06:36:50 AM
Just come here to post final update. I bought the Canon 90D and I'm not going to work on this anymore.

Seriously guys, anyone who have knowledge on this field can earn serious amount of bucks and it doesn't worth their hassle working on the custom firmware for free. They're better off spending their money on the camera that does the work in the first place.

Like others said, it just not worth it.
#4
Camera-specific Development / Re: Canon 80D
September 22, 2019, 04:32:53 PM
Hi,

I'm working on 7D2 port, but since it's the same CPU, can someone guide me the way to extract raw frame from video mode? I got hello world working a few months ago but don't have any idea how to continue. Please guide me a little if possible.

Thanks!
#5
Camera-specific Development / Re: Canon 7D Mark II
April 24, 2019, 08:53:55 PM
Didn't see that. Thank you for letting me know.
#6
Camera-specific Development / Re: Canon 7D Mark II
April 24, 2019, 03:34:00 PM
Bump. Can someone help me out?
#7
Camera-specific Development / Re: Canon 7D Mark II
April 18, 2019, 04:59:53 PM
Used live view RAM dump method from 80D thread

Before




matrix movie explained


After





@a1ex, please guide me what to do next
#8
Camera-specific Development / Re: Canon 7D Mark II
April 18, 2019, 03:30:13 PM
Entering Live View and only Address 6014 was found, which is inconclusive

https://drive.google.com/file/d/1ad4ATJMWQrJzql896xkBGghfJoSGbasD/view?usp=sharing

Recording at 720p59.94 gives

5.403438         Evf:000134a7:91:01: [REG] Total:2
5.403454         Evf:0001448f:91:01: [0](0xd0006014),(0x2f9)
5.403471         Evf:0001448f:91:01: [1](0xd0006024),(0x2f9)
5.403488         Evf:0001448f:91:01: [2](0xd0006000),(0x1)


UPDATE: Full 720p59.94 Log

https://drive.google.com/file/d/18xO7EUZpF4neEgZDnebf8Br6zAeEnShS/view?usp=sharing
#9
Camera-specific Development / Re: Canon 7D Mark II
April 18, 2019, 02:57:30 PM
Hey a1ex,
sorry for the delay, here's the value.

0xD0006008 0x3050305
0xD0006014 0xffff
0xD0006800 0x6000a
0xD0006804 0x640006a

full log
https://drive.google.com/file/d/1KRN2pVnoKU8wJYRPGP7jkKozytGh63Hh/view?usp=sharing
#10
Camera-specific Development / Re: Canon 7D Mark II
April 13, 2019, 09:41:06 AM
is the clock of 34.7 MHz high? and how is it compared to 5D Mark III and 80D?
#11
Camera-specific Development / Re: Canon 7D Mark II
April 12, 2019, 07:23:23 PM
Interesting, can you link to it? so that maybe I can learn more about porting.
#12
Camera-specific Development / Re: Canon 7D Mark II
April 12, 2019, 07:08:45 PM
@a1ex,

I did some test regarding the buffering of 7D Mark II. I went out to shoot the timelapse and noticed that if I set resolution to mRAW (4104 x 2736) with 6fps burst rate, then I can shoot until my 32gb 90MB/s SD card filled. I noticed that in the mRAW file, there is L-Fine JPEG attached (full sensor resolution) and total file size for each mRAW frame was 16.3MB at ISO 100 and seems like the card is the bottleneck. If we managed to port magic lantern onto this camera, can we turn off JPEG preview, reduced bit depth to 10 bit, recording to CF and hope for 4K 24fps video? or the sensor readout rate will be the next bottleneck? Just wanna know from your experience and what to expect.
#14
Camera-specific Development / Re: Canon 7D Mark II
April 10, 2019, 07:34:54 PM

1.723282     Startup:fe18ba5b:2f:05: ### MovieRecorder:ddec1c:11:fe18940f:1
1.723487  MovieRecor:fe189443:2f:02: RecEvent 0[0->1]
1.723519  MovieRecor:fe189485:2f:02: RlyEvent 0[0->1]
1.723568     PropMgr:fe18ada1:2f:03: mvrResultCBR : 0xddf50c
1.723637     PropMgr:fe18af29:2f:03: mvrChangeAckCBR : PROP_USBDEVICE_CONNECT(-1)
1.723674     PropMgr:fe18b543:2f:05: mvrChangeAckCBR : Video - Mode=0,Type=0,Rate=5994,GOP=30,St=3
1.723732     PropMgr:fe18b543:2f:03: mvrChangeAckCBR : Sound Manual(C=2,R=48000,B=16)
1.723758     PropMgr:fe18b543:2f:03: mvrChangeAckCBR : AE_MODE(3)
1.723775     PropMgr:fe18b543:2f:03: mvrChangeAckCBR : ISO(104)
1.723806     PropMgr:fe18b543:2f:03: mvrChangeAckCBR : BodyID = 0x08,0xda3a7746
1.723877     PropMgr:fe18b543:2f:03: mvrChangeAckCBR : RecCount = 0x7a5
1.723913     PropMgr:fe18b543:2f:03: mvrChangeAckCBR : ModelID = 0x80000289
1.724021     PropMgr:fe18b543:2f:03: mvrChangeAckCBR : MOVIE_REC_VOLUME(L:54 R:54)
1.724072     PropMgr:fe18b4dd:2f:03: mvrChangeAckCBR : WindCut On
1.724111     PropMgr:fe18b543:2f:03: TimeCode Mode:1
1.724153     PropMgr:fe18b543:2f:03: TimeCode DropFrame Mode:0
1.724184     PropMgr:fe18b543:2f:03: PROP_FILE_PREFIX:8J8A
1.724221     PropMgr:fe18b543:2f:03: PROP_USER_FILE_PREFIX:KSTH,
1.724255     PropMgr:fe18b543:2f:03: PROP_USER_FILE_PREFIX:KS_,
1.724291     PropMgr:fe18b543:2f:03: PROP_SELECTED_FILE_PREFIX:KSTH,1
1.724322     PropMgr:fe18b543:2f:03: PROP_CARD1_CLUSTER_SIZE:32768
1.724353     PropMgr:fe18b543:2f:03: PROP_CARD2_CLUSTER_SIZE:32768
1.724384     PropMgr:fe18b543:2f:03: PROP_CARD3_CLUSTER_SIZE:0
1.724441     PropMgr:fe18b4dd:2f:03: mvrChangeAckCBR : Attenuator Off
1.724475     PropMgr:fe18b543:2f:03: mvrChangeAckCBR : TimeLapse = 0x0
1.724648     PropMgr:fe18ad83:2f:01: mvrStateResultCBR : 0xddf778


Turned interrupt off. Got something interesting about the video, can we change parameter to improve video quality?

Full Log

https://drive.google.com/file/d/1hzUcBCu8DcGXnDwjJMOzwTU1cOg0a3YP/view?usp=sharing
#15
Camera-specific Development / Re: Canon 7D Mark II
April 10, 2019, 07:04:04 PM
OK, I will do that after the long holiday here in Thailand. I think it's 512MB for each CPU because it has similar buffer size to 80D (why they would put half memory on higher end camera) and taking sequence of continuous shot reveals half of JPEG processing log compared to number of images, that means other half is processed by another CPU?
#16
Camera-specific Development / Re: Canon 7D Mark II
April 09, 2019, 06:10:57 PM
It only dump the first one second, which is useless. File size seems to be limited to 2048KB, which only contain interrupts and boot sequence.

https://drive.google.com/file/d/1KZoZLrKMaOa_jQr_dhS_67sjpdsqift9/view?usp=sharing
#17
Camera-specific Development / Re: Canon 7D Mark II
April 09, 2019, 05:15:25 PM




Update: Seems like 4 log commands reveals 6 file, 4 is almost empty and 2 are fill with goodies

After playing around, I noticed that video seems to not output any log (the log above is for still photo) and the log start to have something when you fill the buffer during continuous shot. This make me believe that I'm currently thinking that the log seems to be from the secondary processor.
#18
Camera-specific Development / Re: Canon 7D Mark II
April 09, 2019, 04:33:28 PM

73: 28394.530 [CAPE] HivshdReadEDmacCompleteCBR
     74: 28425.826 [CAPE] Image Addr(CH=2)=0x6392700(0x46390064)
     75: 28425.839 [CAPE] TOPV=1, BTMV=3720, CRAW WIDTH=9884
     76: 28426.205 [CAPE] WB Integ Addr(CH=15)=0x2c3f904(0x42c3f904)
     77: 28426.220 [CAPE] OHYEAR MID Addr(CH=14)=0x2c41b04(0x42c41b04)
     78: 28426.286 [CAPE] FencDmac Addr(CH=18)=0x2c59c84(0x42c59c84)
     79: 28524.534 [CAPE] FencingWriteEDmacCompleteCBR
     80: 28524.547 [CAPE] WbDetectionPathCompleteCBR
     81: 28524.590 [CAPE] HivshdVReadEDmacCompleteCBR
     82: 28524.754 [CAPE] CCDWriteEDmacCompleteCBR
     83: 28525.042 [CAPE] DefmReadEDmacCompleteCBR
     84: 28525.057 [CAPE] Defm2ReadEDmacCompleteCBR
     85: 28525.071 [CAPE]  Image Addr(CH=2)=0x86a31e0(0x0)
     86: 28525.083 [CAPE]  FencDmac Addr(CH=18)=0x2cefc84
     87: 28525.094 [CAPE]  WB Integ Addr(CH=15)=0x2c41704
     88: 28525.105 [CAPE]  OHYEAR MID Addr(CH=14)=0x2c56704
     89: 28539.870 [COL] ./LensCorrect/GetLensCorrectionData.c 3185
     90: 28637.636 [SHTSS] SHT_SSDEVELOP_PATH_CORE_InitRawToYuv
     91: 28638.082 [SHTSS] SHT_SSDEVELOP_PATH_CORE_RegisterCompleteRawToYuvCBR
     92: 28638.093 [SHTSS] SHT_SSDEVELOP_PATH_CORE_SetRawToYuv
     93: 28638.158 [SHTSS] SHT_SSDEVELOP_PATH_CORE_StartRawToYuv
     94: 28638.197 [SHTSS] SHT_SSDEVELOP_PATH_CORE_SetAddressRawToYuv Addr[0x55938000]
     95: 28638.222 [SHTSS] SHT_SSDEVELOP_PATH_CORE_RegisterCompleteMem1ToRawCBR
     96: 28638.234 [SHTSS] SHT_SSDEVELOP_PATH_CORE_SetMem1ToRaw
     97: 28638.453 [SHTSS] SHT_SSDEVELOP_PATH_CORE_StartMem1ToRaw
     98: 28743.401 [SHTSS] Mem1ToRawCompleteCBR
     99: 28743.567 [SHTSS] SHT_SSDEVELOP_PATH_CORE_StopMem1ToRaw
    100: 28743.678 [SHTSS] SHT_SSDEVELOP_PATH_CORE_UnregisterCompleteMem1ToRawCBR
    101: 28774.155 [SHTSS] RawToYuvCompleteCBR 2
    102: 28789.272 [SHTSS] RawToYuvCompleteCBR 1
    103: 28789.625 [SHTSS] SHT_SSDEVELOP_PATH_CORE_StopRawToYuv
    104: 28791.204 [SHTD]SHT_DEVELOP_PATH_CORE_RegisterJpegCompleteCBR
    105: 28791.215 [SHTD]SHT_DEVELOP_PATH_CORE_SetJpegPath
    106: 28791.549 [SHTD]SHT_DEVELOP_PATH_CORE_StartJpegPath Addr[0x55938000]
    107: 28898.087 [SHTD]JpegPathDivCompleteCBR
    108: 28898.138 [SHTD]JpegPathCompleteCBR Size=0x3388ba Err=0x0
    109: 28898.395 [SHTD]SHT_DEVELOP_PATH_CORE_StopJpegPath
    110: 28898.605 [SHTD]SHT_DEVELOP_PATH_CORE_UnregisterJpegCompleteCBR
    111: 28902.045 [SHTD]SHT_DEVELOP_PATH_CORE_RegisterDcfCompleteCBR
    112: 28902.056 [SHTD]SHT_DEVELOP_PATH_CORE_SetDcfPath
    113: 28902.348 [SHTD]SHT_DEVELOP_PATH_CORE_StartDcfPath Addr[0x5a848000]
    114: 28904.221 [SHTD]DcfPathCompleteCBR Size=0x30ac Err=0x0
    115: 28904.294 [SHTD]SHT_DEVELOP_PATH_CORE_StopDcfPath
    116: 28904.363 [SHTD]SHT_DEVELOP_PATH_CORE_UnregisterDcfCompleteCBR
    117: 28905.273 [SHTD]SHT_DEVELOP_PATH_CORE_RegisterJpegCompleteCBR
    118: 28905.283 [SHTD]SHT_DEVELOP_PATH_CORE_SetJpegPath
    119: 28905.612 [SHTD]SHT_DEVELOP_PATH_CORE_StartJpegPath Addr[0x55938000]
    120: 29012.148 [SHTD]JpegPathDivCompleteCBR
    121: 29012.183 [SHTD]JpegPathCompleteCBR Size=0xa8697f Err=0x0
    122: 29012.278 [SHTD]SHT_DEVELOP_PATH_CORE_StopJpegPath
    123: 29012.387 [SHTD]SHT_DEVELOP_PATH_CORE_UnregisterJpegCompleteCBR
    124: 29013.090 [SHTD]SHT_DEVELOP_PATH_CORE_RegisterDcfCompleteCBR
    125: 29013.100 [SHTD]SHT_DEVELOP_PATH_CORE_SetDcfPath
    126: 29013.364 [SHTD]SHT_DEVELOP_PATH_CORE_StartDcfPath Addr[0x5a848000]
    127: 29015.238 [SHTD]DcfPathCompleteCBR Size=0x30ac Err=0x0
    128: 29015.301 [SHTD]SHT_DEVELOP_PATH_CORE_StopDcfPath
    129: 29015.372 [SHTD]SHT_DEVELOP_PATH_CORE_UnregisterDcfCompleteCBR
    130: 29376.446 [SHTAECA]CapSetSize(1536,37)
    131: 29376.463 [SHTAECA]CapSetAddr(CH=2)=0xeb74000(0x4eb74000)
    132: 29417.384 [SHTAECA]AeCapCCDComp:(0/1)
    133: 29417.989 [SHTAECA]CapSetSize(1536,729)
    134: 29418.005 [SHTAECA]CapSetAddr(CH=2)=0xeb82400(0x4eb82400)
    135: 29418.123 [SHTAECAL]SHTAE_AECALC_PATH_CORE_GetBVRoutine2
    136: 29418.139 [SHTAECAL]pAEIntegAddrs is NULL
    137: 29420.585 [SHTAECAL][AE] BV 458 BV_ave 446 ETTLBV 456 FG289
    138: 29424.380 [SHTAECAL]SHTAE_AECALC_PATH_CORE_CalculateWhiteSearch_AlphaValue
    139: 29435.450 [SHTAECA]AeCapCCDComp:(0/3)
    140: 29435.463 [SHTAECA]AeCapShadeComp:(1/3)
    141: 30344.914 [CAPE] HivshdReadEDmacCompleteCBR
    142: 30372.940 [CAPE] Image Addr(CH=2)=0x13622700(0x53620064)
    143: 30372.953 [CAPE] TOPV=1, BTMV=3720, CRAW WIDTH=9884
    144: 30373.315 [CAPE] WB Integ Addr(CH=15)=0x2c3f904(0x42c3f904)
    145: 30373.330 [CAPE] OHYEAR MID Addr(CH=14)=0x2c41b04(0x42c41b04)
    146: 30373.397 [CAPE] FencDmac Addr(CH=18)=0x2c59c84(0x42c59c84)
    147: 30471.660 [CAPE] FencingWriteEDmacCompleteCBR
    148: 30471.672 [CAPE] WbDetectionPathCompleteCBR
    149: 30471.717 [CAPE] HivshdVReadEDmacCompleteCBR
    150: 30471.882 [CAPE] CCDWriteEDmacCompleteCBR
    151: 30472.164 [CAPE] DefmReadEDmacCompleteCBR
    152: 30472.179 [CAPE] Defm2ReadEDmacCompleteCBR


Got this while recording the video
#19
Camera-specific Development / Re: Canon 7D Mark II
April 09, 2019, 03:37:48 PM
sorry about that, I thought it would be more useful to post in General Development room. Please don't get annoy, i'm totally newbie here and trying to learn about ARM architecture. I have never done something like this before. I'm getting confused because the magic lantern repository is like 100x bigger than what i did in the past.
#20
Camera-specific Development / Re: Canon 7D Mark II
April 09, 2019, 02:32:03 PM
Can a1ex or anyone link a thread about log capturing on real hardware? As far as I go through the forum, most people are working on QEMU. I'm also confused about how to implement GUI menu like in M50, an example code will be nice as I have no idea what to do. Thanks!
#21
Camera-specific Development / Re: Canon 7D Mark II
April 08, 2019, 04:04:24 PM
I'll definitely need a lot of help because I have never do a lot of assembly and machine code like this before. Thanks for your help so far a1ex!
#22
Camera-specific Development / Re: Canon 7D Mark II
April 08, 2019, 03:57:20 PM



A little bit of Tweaking...
#23
Camera-specific Development / Re: Canon 7D Mark II
April 08, 2019, 03:48:00 PM




Success! Hello World from Bangkok, Thailand. Now, what's next...?
#24
Camera-specific Development / Re: Canon 7D Mark II
April 08, 2019, 03:29:23 PM
Is it possible to flash the older version over the new one?
#25
Camera-specific Development / Re: Canon 7D Mark II
April 08, 2019, 03:23:32 PM
I'll definitely take Assembly course next year in college....