Hi, surely I'm missing something simple, but I've a problem with writes in Ipipe registers.
I'm using the Ipipe examples that cames with PSP 01_20_00_014, in particular the ipipe_vga_example.c. Given that the code should be ok, I'm looking at the registers in the driver function ipipe_hw_setup(), and I see a quite strange behavior: it doens't write the requested value: For example, I'm trying to write the value 0x3445 in IPIPEIF_CFG, but I'm reading 0x1000... Code is pure MV_4.01 kernel, with some debug statemment: drivers/media/video/davinci/dm355_ipipe_hw.c This bunch of code at drivers/media/video/davinci/dm355_ipipe_hw.c:58(about) regw_if(utemp, IPIPEIF_GFG); printk("printed %x in ipipeif_gfg\n",utemp); IPDEBUG("IPIPEIF_GFG",0x01c70104,regr_if(IPIPEIF_GFG)); Tells that: reading IPIPE_EN @ 1c71000 -> 0 printed 3445 in ipipeif_gfg reading IPIPEIF_GFG @ 1c70104 -> 1000 Notes: - IPIPE_EN is low, in the meanwhile of the write operation. - even if I'm trying to write shadow register, I should read the last value written as well. What am I missing??? Thanks for any suggestion. Regards! :) -- Andrea Gasparini ---- ImaVis S.r.l. ---- web: www.imavis.com _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source