Function of cs_packet_data ($c0bc)

Tech support questions for the Uther board may be posted here. You may want to read the FAQ first as you may find what your looking for there first.

Moderator: support

Function of cs_packet_data ($c0bc)

Postby David Schmidt » Sat Sep 13, 2008 1:54 pm

Glenn -

I've isolated a problem in the IP65 stack that has caused me intermittent hangs. It appears in cs8900a.s, where it is looping over a read of cs_packet_data, shifting it right logically, and checking for the carry bit; looping to check again until it is clear. I believe I get stuck in that loop where the carry bit never gets set (a 1 in cs_packet_data, I guess). Can you direct me to a description of the I/O memory locations so I can figure out a little more about what's going on?

- David
David Schmidt
 
Posts: 41
Joined: Tue Aug 29, 2006 6:55 pm
Location: USA

Postby support » Sun Sep 14, 2008 10:13 am

Check out the web site for the cs8900a

http://www.cirrus.com/en/products/pro/detail/P46.html

you can find the data sheet and the 8 bit app note on that site.
support
Site Admin
 
Posts: 169
Joined: Tue Mar 08, 2005 10:49 pm
Location: Ajax, On, Canada

Postby David Schmidt » Sun Sep 14, 2008 10:27 am

Thanks for that. I've implemented a little delay loop before retrying the bit test, and that seems to have given everyone enough breathing room. I still see the condition, and I see the condition clear too. So I think I'm out of the woods there.
David Schmidt
 
Posts: 41
Joined: Tue Aug 29, 2006 6:55 pm
Location: USA

Postby David Schmidt » Wed Oct 01, 2008 1:57 pm

I fed my change to MagerValp, and he put up a new distribution of IP65. That fix seems to work.
David Schmidt
 
Posts: 41
Joined: Tue Aug 29, 2006 6:55 pm
Location: USA


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron