4,199
edits
Changes
no edit summary
= Compile and run program =
Download [http://downloads.igep.es/labs/uart-test-beta2.tar.bz2 program sources].
As explained above, the program uses GPIO for debug option via oscilloscope, it is necessary install user-gpio-drv.ko driver inside Linux Kernel, more information [[How to use GPIOs|here]] .
Once you have installed module. Compile program using your Cross Compiler, I used arm-linux-gnueabi-:
<pre>arm-linux-gnueabi-gcc uart-test-beta1.c -o uart-test-beta1 </pre>
= Testing UART =