Hi,
Product: Q2406B, Open AT V3.10
AT+CGMR : 655_09gm.Q2406B 2015268 111705 17:01
Core software directory name: 655
I have been experiencing strange behaviour during io management and lost a day.
My problem is, I can not get the expected behaviour during adl_iosubscribe and adl_iowrite
list of strange cases where telemetryHandle is insistently assigned: ADL_RET_ERR_PARAM
telemetryHandle = adl_ioSubscribe (ADL_IO_Q24X6_GPO_0, 0, ADL_IO_Q24X0_GPO_0, IO_POLL_TIME, ioHandler );
telemetryHandle = adl_ioSubscribe
(ADL_IO_Q24X6_GPO_0, 0xFFFFFFFF, 0x00000000, IO_POLL_TIME, ioHandler );
telemetryHandle = adl_ioSubscribe (ADL_IO_Q24X6_GPO_0, 0xFFFFFFFF, 0x00000000, 0, NULL);
a case of succesfull subscription but failure to toggle the port by ioWrite
here result is always OK but the io value fails to toggle. the gpio read value is stuck at FFFFFFF8.
telemetryHandle = adl_ioSubscribe (ADL_IO_Q24X6_GPIO_0, 0, 0x00000000, 0, NULL);
void ioTester( u8 ID)
{
s8 result;
if(testFlag)
{
result = adl_ioWrite( (u8) telemetryHandle, ADL_IO_Q24X6_GPIO_0, 0);
myTrace(1, "IO Tester Reset ");
testFlag = FALSE;
}
else
{
result = adl_ioWrite( (u8) telemetryHandle, ADL_IO_Q24X6_GPIO_0, ADL_IO_Q24X6_GPIO_0);
myTrace(1, "IO Tester Set ");
testFlag = TRUE;
}
}
Why can’t I subscribe in case 1, 2, 3 and why do I fail to toggle in the last case?
Ps: I am suspecting this: Should my core software directory be named 655_09gm? Because my revision is 655_09gm.Q2406B but the directory is named 655 only. (open at settings screenshot in the openat tutorial page 23 shows 655_gg.v13 in the combo.) I installed directly from the Open AT cd so why should there be a configuration mismatch with the core software and firmware I can’t imagine.
Best Regards,
Yigit Erdal Bora