[En-Nut-Discussion] Interfacing a memory mapped (Oxford
Brett Abbott
Brett.Abbott at digital-telemetry.com
Wed Sep 17 12:54:59 CEST 2003
>
>
>Doug
>
The uart is memory mapped. Try a couple of things...
Try using NutCritical around the functions. You may find that the
memory is getting zapped by other calculations.... Going NutCritical
will stop interupts and other stuff (NutEnterCritical()) NutExitCritical()
Also, try using direct memory reads and writes: be explicit with
addresses rather than formulas. perhaps achieve this with inline
assembler. Have a look at the ethernet nic drivers as an example.
Cheers
Brett
More information about the En-Nut-Discussion
mailing list