I have the problem that writing to some of the CCDC registers of the DM355 does not affect their values. For example, I write to the HSIZE of the CCDC and immediatly after I read the HSIZE register value, but that is still the old one:
reg.addr = 0x01C70634;
reg.val = value1;
AF_APP_IOCtl(AF_APP_fdDisplayDevice, FBIO_REG_DUMP, ®);
reg.addr = 0x01C70634;
reg.val = 0x1234;
retCode = AF_APP_IOCtl(AF_APP_fdDisplayDevice, FBIO_REG_DUMP, ®);
value2 = reg.val;
Thus, value1 is not equal to value2. The HSIZE register is R/W. As I understood from the documentation, registers are read and writable at any time and always the latest written value is returned (for shadowed as well as busy-write registers.)
So, why might it not be possible to write a CCDC register? Or, what are the restrictions to write to a CCDC register?
Thanks for any hint!
Stefan