Hi,
I am testing baremetal driver for TIMER0 module on DSP side of OMAPL138. I am able to create executable image and able to program image with help of IPC. The problem that I am facing is, the register writes that I am performing are not successful. For example if I write value of 0 to TGCR register and read back, the value is not reflecting properly. I have verified that the base addresses and offset I am using are proper as, I am able to read proper REV ID for TIMER 0 module.
From one of the link I came to know such issues will happen when the clock to the module is not provided properly. I checked if I can to any thing w.r.t PSC setting for TIMER0, but there are no register relevant to TIMERS
I have attached product.bld and product.bld.xml that I used for creating BIOS image.
please note that timer64bit_noos is executable file name and omap_l138_64_bit_timer_plus_drv.c","halconfig.c" and "timertest.c are source files.
Please let me know where I am going wrong or give some pointers
Following are package details,(Please visit the site to view this file)
ipc_3_00_01_24,
bios version bios_6_35_03_47
xdctools version xdctools_3_25_02_70
linux 3.10.1
Thanks in Advance,