CS5536 mfgpt timer setup register hangs board
Hi,
I have been working on a watchdog timer using the mfgpt on AMD Geode CS5536. I initialize the setup register MFGPT0_SETUP (0x6206) with hex value 0x306 (1100000110b). However, after this first initialization if I ever read/write to the register it hangs the system.
I have been through all the documentation, tried several different methods but all the efforts, frustratingly, to no avail.
Does anyone have any idea as to why would this be? TIA!
Signature · 2 lines
Regards, Hasan Rashid
Quoted 8 lines · Hasan Rashid
Hi,
I have been working on a watchdog timer using the mfgpt on AMD Geode CS5536. I initialize the setup register
MFGPT0_SETUP(0x6206) with hex value0x306(1100000110b). However, after this first initialization if I ever read/write to the register it hangs the system.
Quoted 4 lines
I have been through all the documentation, tried several different methods but all the efforts, frustratingly, to no avail.
Does anyone have any idea as to why would this be? TIA!
It looks like you are using TinyBIOS. Make sure that if you are using v0.99 that you do *not* enable the MFGPT workaround. If you are using an older version, then you will need this patch:
http://lkml.org/lkml/2008/1/23/372
And enable mfgptfix on the command line. There seems to be a problem with the MFGPT "workaround" that causes hangs exactly like you are seeing.
Jordan
Signature · 3 lines
Jordan Crouse Systems Software Development Engineer Advanced Micro Devices, Inc.