Hello Support,
According to the documentation (and forum) reading the GTC from the MCU1_0 is possible.
Our problem actually is that reading the timer several times, gives always the same result.
Same thing for the mirror register. The first read on each timer is plausible then the timer seems to be freezed.
We are running the T32 Lauterbach debugger but the bit HDGB is not set, and the enable bit is always set.
I used very basic code to test this use case:
for(j=0; j<8; j++)
{
tabTime[j] = (uint64_t)(*(volatile uint64_t*)((0xa90000UL) + 0x8U));
tabMirrorTime[j] = (uint64_t)(*(volatile uint64_t*)((0xa90000UL) + 0x10000U));
for(i=0; i<0xffffff;i++) {;}
}
I tried also to force enabling and disabling of the timer at different stages with no success.
Are there other reasons for the timer to freeze?
Thank you,
Khalil