天嵌 ARM开发社区

 找回密码
 注册
查看: 1766|回复: 1

AXD调试问题

[复制链接]
eliefly 发表于 2013-9-12 23:03:24 | 显示全部楼层 |阅读模式
本帖最后由 eliefly 于 2013-9-13 10:12 编辑

void Uart_SendByte(int data)
{
        if(whichUart==0)  (
        { 
                if(data=='\n')  
                {  L
                        while(!(rUTRSTAT0 & 0x2));  L
  
                        // Delay(1);                 //because the slow response of hyper_terminal  ? 
                        WrUTXH0('\r'); ? 
                }  
        while(!(rUTRSTAT0 & 0x2));   //Wait until THR is empty.

调用串口打印函数 Uart_Printf()时总停在 while(!(rUTRSTAT0 & 0x2));  处不往下走。
板子是2440。
单骗机的寂寞 发表于 2013-11-22 21:49:23 | 显示全部楼层
看到这种问题,我就知道楼主的单片机没学好
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-19 09:09 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表