Awesome! :) Congrats N happy birthday,
and down here in the south we say "Tickled Deep Fried Pink." :)

Rick


On Thu, Sep 3, 2009 at 2:40 AM, Matthew Bowles <matthew@awma.au.com> wrote:
Many many thanks for the the great help (and the grunt work) from Dave and
Richard.

I actually got it to work.
If anyone is interested I will posting my solution in a relatively generic
way with a new topic heading to make it easier for future gumstix users to
find via nabble.

but essentially, I used the same approach as covered here ->
http://docwiki.gumstix.org/index.php/Sample_code/C/gpregs, with some
adjustments to work with the HWUART on my gumstix. I could successfully read
the trasnmitter empty flag. This appears to work in FIFO mode and non-FIFO
mode.

I'm extremely pleased. It's actually my birthday today - and I think I've
just got the best present. :)
Tickled Pink is the proper phrase I believe.

While i don't have the RS485 hooked up to test yet because I'm still waiting
on hardware, my scope shows the packet being sent and the transmit-enable
toggling the right way at exactly the right time.

Best regards

Matt Bowles
Embedded Systems Engineer
aWma Pty Ltd


-----Original Message-----
From: Dave Hylands [mailto:dhylands@gmail.com]
Sent: Thursday, 3 September 2009 2:30 PM
To: General mailing list for gumstix users.
Subject: Re: [Gumstix-users] GPIO manipulation from a user-space C program

Hi Matt,

On Wed, Sep 2, 2009 at 9:19 PM, Matthew Bowles<matthew@awma.au.com> wrote:
> thanks for the info. Was that from the datasheet of the PXA255, or the
> gumstix Linux memory map?

I pulled those addreses from the Developer's Manual:
<http://pubs.gumstix.com/documents/PXA%20Documentation/PXA255/PXA255%20Proce
ssor%20Developers%20Manual%20%5b278693-002%5d.pdf
>

--
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/

----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.71/2336 - Release Date: 09/02/09
18:03:00


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



--
Say you can or say you can't, either way you will be right.
Computers are like old testament gods: Lots of rules and no mercy.