Hello world, bare metal Beagleboard

前端 未结 3 2094
闹比i
闹比i 2021-02-08 13:23

I\'m trying to get a \'hello world\' type program running on my Beagleboard-xm rev. C, by calling a C puts function from assembly.

So far I\'ve been using t

3条回答
  •  隐瞒了意图╮
    2021-02-08 14:03

    You can't just blindly write a string of characters to a UART - you need to check status on each character - it works in the single character example because the UART is always going to be ready for the first character, but for the second and subsequent characters you need to poll (or better yet use an ISR, but let's walk before we run).

    There's some good example code here: http://hardwarefreak.wordpress.com/2011/08/30/some-experience-with-the-beagleboard-xm-part-2/

提交回复
热议问题