[En-Nut-Discussion] DBGU interrupt code..
Bernd Walter
enut at cicely.de
Thu Jan 21 03:53:19 CET 2010
On Wed, Jan 20, 2010 at 09:32:33PM +0100, Ulrich Prinz wrote:
> Hi!
>
> I'll try to look at that code later, but my intention was a bit
> different. You can use your code and get the trick with the system
> interrupt. That should work with Nut/OS or without.
>
> My intention was to re-use the existing USART code and get the trick
> with the system interrupt. I'd like to see drivers for the same thing
> looking the same. And a DBGU is just a reduced USART.
On SAM7X I use TC0 in as system timer instead of PIT.
In this case Nut/OS shouldn't touch system interrupt without
special use.
Using "dbgu"/devDebug just works for me.
> That would avoid having the third code handling USART in NutOS.
--
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
More information about the En-Nut-Discussion
mailing list