Ok, I tested a lot today and allmost all I saw were frames that could be described as a pink mess

There is one setting which gives me scrambled pink frames, so still a mess, but you can recognize some stuff in it.
Free edmac channel
uint32_t raw_write_chan = 0x12;
and dma flag
uint32_t dmaFlags = 0x20000000;
But I also find some resolution settings furtheron in the raw.c file.
Could it be that the scrambled picture is caused by faulty settings in this part of raw.c
#ifdef CONFIG_EDMAC_RAW_SLURP
/* params useful for hardcoding buffer sizes, according to video mode */
int mv = is_movie_mode();
int mv720 = mv && video_mode_resolution == 1;
int mv1080 = mv && video_mode_resolution == 0;
int mv640 = mv && video_mode_resolution == 2;
int mv1080crop = mv && video_mode_resolution == 0 && video_mode_crop;
int mv640crop = mv && video_mode_resolution == 2 && video_mode_crop;
/* note: 6D reports 129 = 0x81 for zoom x1, and it behaves just like plain (unzoomed) LiveView) */
int zoom = (lv_dispsize & 0xF) > 1;
/* silence warnings; not all cameras have all these modes */
(void)mv640; (void)mv720; (void)mv1080; (void)mv640; (void)mv1080crop; (void)mv640crop; (void)zoom;
#ifdef CONFIG_5D3
/* don't know how to get the resolution without relying on Canon's lv_save_raw */
*width = zoom ? 3744 : mv720 ? 2080 : 2080;
*height = zoom ? 1380 : mv720 ? 692 : 1318; /* height must be exact! copy it from Debug->EDMAC */
return 1;
#endif
#ifdef CONFIG_60D
*width = zoom ? 2520 : mv640crop ? 920 : mv720 || mv640 ? 1888 : 1888;
*height = zoom ? 1106 : mv640crop ? 624 : mv720 || mv640 ? 720 : 1182;
return 1;
#endif
#ifdef CONFIG_600D
*width = zoom ? 2520 : mv1080crop ? 1952 : mv720 ? 1888 : 1888;
*height = zoom ? 1106 : mv1080crop ? 1048 : mv720 ? 720 : 1182;
return 1;
#endif
#if defined(CONFIG_650D) || defined(CONFIG_700D)
*width = zoom ? 2592 : mv1080crop ? 1872 : mv720 ? 1808 : 1808;
*height = zoom ? 1108 : mv1080crop ? 1060 : mv720 ? 720 : 1190;
return 1;
#endif
#ifdef CONFIG_EOSM
*width = video_mode_crop ? 1872 : 1808;
*height = video_mode_crop ? 1060 : 727;
return 1;
#endif
#ifdef CONFIG_6D
*width = zoom ? 2768 : mv720 ? 1920 : 1920;
*height = zoom ? 634 : mv720 ? 720 : 1208; /* find correct mv720 height -- must be exact! */
return 1;
#endif
/ silent picture in 1080 mode = 1830 x 1224 /
/ silent picture in 720 mode = 1830 x 634 /
/ silent picture in zoom mode = 2688 x 960 /
/ image buffers 1080 mode (in debug menu) shows 720 x 480, 1808 x 1206 /
/ Some EDMAC channels show 3360 x 1207 or 3616 x 1205 /
/ image buffers 720 mode (in debug menu) shows 720 x 480, 1280 x 720 /
/ Some EDMAC channels show 2560 x 720 or 2560 x 719 or 3360 x 719 /
/ image buffers in 1080 zoom are 720x480, 1104x736 /
/ Some EDMAC channels show 2208 x 736 or 2208 x 735 or 4844 x 633 /
#ifdef CONFIG_7D
*width = zoom ? 2520 : mv1080crop ? 1952 : mv720 ? 1888 : 1888;
*height = zoom ? 1106 : mv1080crop ? 1048 : mv720 ? 720 : 1182;
return 1;
#endif
/* unknown camera? */
return 0;
For 6d I tried some different settings, but I'm not sure which resolutions to put where, so I added some text in the file which shows resolutions of silent pics and image buffers and edmac channels.
Does somebody have an idea which numbers to use ?
#ifdef CONFIG_6D
*width = zoom ? 2768 : mv720 ? 1920 : 1920;
*height = zoom ? 634 : mv720 ? 720 : 1208; /* find correct mv720 height -- must be exact! */
return 1;
#endif
/ silent picture in 1080 mode = 1830 x 1224 /
/ silent picture in 720 mode = 1830 x 634 /
/ silent picture in zoom mode = 2688 x 960 /
/ image buffers 1080 mode (in debug menu) shows 720 x 480, 1808 x 1206 /
/ Some EDMAC channels show 3360 x 1207 or 3616 x 1205 /
/ image buffers 720 mode (in debug menu) shows 720 x 480, 1280 x 720 /
/ Some EDMAC channels show 2560 x 720 or 2560 x 719 or 3360 x 719 /
/ image buffers in 1080 zoom are 720x480, 1104x736 /
/ Some EDMAC channels show 2208 x 736 or 2208 x 735 or 4844 x 633 /