G120, SDK 1.0.4 (v220.127.116.11)
My new G120 module has been performing well and passing all the tests up until now, none of the bursts of register dumps out the COM port like the previous one.
However up until now it hasn’t been going into hibernate, as the code only hibernates when disconnected from USB, and as per a previous post, it hasn’t been detecting USB disconnection.
Well, I’ve enabled the Hibernate call
but it doesn’t go at all well. There is a stream of register dump info out the COM port, otherwise the module seems to have locked up, until it reboots by itself. From a TeraTerm capture of the com port:
Hibernate (This is a debug message just before the call to hibernate) EXCEPTION 0x05: cpsr=0x61000000 pc =0x0000bed2 lr =0x000441dd sp =0x1000fe68 r00 =0x00000180 r01 =0x1000fe90 r02 =0x1000fe94 r03 =0x05000000 r04 =0xe002c000 r05 =0x3fffc000 r06 =0xa0979238 r07 =0x00000000 r08 =0xa0025320 r09 =0xa0024ce8 r10 =0x00000000 r11 =0x00000000 r12 =0x00000010 EXCEPTION 0x06: cpsr=0x00000000 pc =0xa0979238 lr =0x3fffc000 sp =0x1000fe48 r00 =0x00000180 r01 =0x1000fe90 r02 =0x1000fe94 r03 =0x05000000 r04 =0xe002c000 r05 =0x3fffc000 r06 =0xa0979238 r07 =0x00000000 r08 =0xa0025320 r09 =0xa0024ce8 r10 =0x00000000 r11 =0x00000000 r12 =0xe002c000 EXCEPTION 0x06: cpsr=0x00000000
The EMX based boards, running the same code, go into hibernate, reducing current draw to 28mA, until I touch any key, at which point they immediately wake.
[One thing does seem changed from under 4.1 - it looks like the analog output goes to 0V under hibernate now, whereas I thought it still held up in the old version. But I can’t be sure…]
So, the question is, is Hibernate supported on the G120?
If not, will it be? When?
If so, does anyone else have it working?