主题:ESM6800 板子工作不正常了 共有41064人关注过本帖 |
---|
gzstyxb |
1楼 信息 | 搜索 | 邮箱 |
加好友 发短信 |
ESM6800 板子工作不正常了 Post By:2020-4-20 16:51:00 [只看该作者]
遇到问题啦, 求救!!! 1、板子上运行早先软件,正常。该软件始终运行不退出。 2、我编译一个自己代码,替换早先软件。代码很简单: #include <stdio.h> int main(void) { pirintf("Hello! \n"); retuen 0; } 3、替换后,启动板子,串口工具Tera Term输出看到打印“Hello!”。 4、再次断电重新启动,开始一些系统信息之后,就是连续不断的如下信息(部分摘录): [ 60.949352] imx-uart 2020000.serial: Rx FIFO overrun [ 60.957137] imx-uart 2020000.serial: Rx FIFO overrun [ 60.962167] imx-uart 2020000.serial: Rx FIFO overrun ** 1 printk messages dropped ** [ 60.993473] imx-uart 2020000.serial: Rx FIFO overrun ** 1 printk messages dropped ** [ 60.998564] imx-uart 2020000.serial: Rx FIFO overrun ** 1 printk messages dropped ** [ 61.037600] imx-uart 2020000.serial: Rx FIFO overrun ** 2 printk messages dropped ** [ 61.073926] imx-uart 2020000.serial: Rx FIFO overrun [ 61.078976] imx-uart 2020000.serial: Rx FIFO overrun ** 1 printk messages dropped ** [ 61.084029] imx-uart 2020000.serial: Rx FIFO overrun ** 2 printk messages dropped ** [ 61.125349] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) ** 1 printk messages dropped ** [ 61.133180] imx-uart 2020000.serial: Rx FIFO overrun ** 2 printk messages dropped ** [ 61.169507] imx-uart 2020000.serial: Rx FIFO overrun [ 61.174526] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) [ 61.174560] imx-uart 2020000.serial: Rx FIFO overrun [ 61.182394] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) [ 61.182429] imx-uart 2020000.serial: Rx FIFO overrun ** 1 printk messages dropped ** [ 61.216509] imx-uart 2020000.serial: Rx FIFO overrun [ 61.250559] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) [ 61.250593] imx-uart 2020000.serial: Rx FIFO overrun ** 2 printk messages dropped ** [ 61.294693] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) ** 1 printk messages dropped ** [ 61.302542] imx-uart 2020000.serial: Rx FIFO overrun ** 1 printk messages dropped ** [ 61.333838] imx-uart 2020000.serial: Rx FIFO overrun ** 1 printk messages dropped ** [ 61.338923] imx-uart 2020000.serial: Rx FIFO overrun [ 61.346722] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) [ 61.346758] imx-uart 2020000.serial: Rx FIFO overrun ** 1 printk messages dropped ** [ 61.385815] imx-uart 2020000.serial: Rx FIFO overrun ** 1 printk messages dropped ** [ 61.390886] imx-uart 2020000.serial: Rx FIFO overrun [ 61.424919] imx-uart 2020000.serial: Rx FIFO overrun [ 61.456189] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) ** 1 printk messages dropped ** [ 61.461276] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) [ 61.461313] imx-uart 2020000.serial: Rx FIFO overrun ** 1 printk messages dropped ** [ 61.469176] imx-uart 2020000.serial: Rx FIFO overrun [ 61.476962] imx-uart 2020000.serial: Rx FIFO overrun ** 1 printk messages dropped ** [ 61.487037] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) [ 61.487072] imx-uart 2020000.serial: Rx FIFO overrun |
单帖管理 | 引用 | 回复 |
hzc |
2楼 信息 | 搜索 | 邮箱 |
加好友 发短信 员工 |
Post By:2020-4-20 18:03:00 [只看该作者]
你好,建议检查一下终端工具的参数设置是不是正确的,或者调试串口接线是不是有短路,主要是检查调试串口的RX引脚。 这些报错应该都是因为调试串口收到数据太多,来不及处理造成fifo溢出了。 |
单帖管理 | 引用 | 回复 |
gzstyxb |
3楼 信息 | 搜索 | 邮箱 |
加好友 发短信 |
Post By:2020-4-20 19:05:00 [只看该作者]
好的,我明天试试。非常感谢指点!!! |
单帖管理 | 引用 | 回复 |
hzc |
4楼 信息 | 搜索 | 邮箱 |
加好友 发短信 员工 |
Post By:2020-4-21 11:38:00 [只看该作者]
不客气,有问题欢迎随时和我们联系。 |
单帖管理 | 引用 | 回复 |
gzstyxb |
5楼 信息 | 搜索 | 邮箱 |
加好友 发短信 |
Post By:2020-4-26 16:10:00 [只看该作者]
已经正常啦,应该就是溢出问题了。 |
单帖管理 | 引用 | 回复 |
hzc |
6楼 信息 | 搜索 | 邮箱 |
加好友 发短信 员工 |
Post By:2020-4-27 17:12:00 [只看该作者]
好的,问题解决了就好。 |
单帖管理 | 引用 | 回复 |