共2条
1/1 1 跳转至页
MX1,cs5 使用MX1(龙珠)片选cs5系统崩溃,请大侠出招!
问
使用了MX1的片选CS5,读访问是用普通模式,正常。
现在需要使用其写访问的DTACK#模式,据其资料介绍,
写访问是完全支持DTACK#模式的,但我还是碰到了问题,
即超过应答时间(1024个系统时钟)时,MX1产生bus error,
并将此error通知CPU,问题在于我不知道如何获知此error在
cpu内部处理的机制以及如何撤销,比如但产生该类错误时,
让CPU放弃处理此error,丢弃此次写访问。(不知这是不是我
自己的愿意而已,因为本人对操作系统不熟悉)。出现崩溃时,
系统控制台显示如下:
Unhandled fault: external abort on non-linefetch (0x028) at 0xf6000000
pgd = c2e94000
*pgd = 16000442, *pmd = 16000442(bad)
Internal error: Oops: 0
CPU: 0
pc : [<c403c194>] lr : [<0000ffff>] Not tainted
sp : c2dc7b44 ip : 0000ffff fp : bffffe6c
r10: 40137a28 r9 : c2dc6000 r8 : bffffe70
r7 : 00000000 r6 : 0000ffff r5 : 00000000 r4 : f6000000
r3 : f6000000 r2 : 0000ffff r1 : ffff0000 r0 : 0000ffff
Flags: Nzcv IRQs on FIQs on Mode SVC_32 Segment user
Control: C000317F Table: 0AE94000 DAC: 0000
Process pc104test (pid: 58, stackpage=c2dc7000)
Stack: (0xc2dc7b34 to 0xc2dc8000)
#......(此处显示杂乱的数据,如下,我猜测其是某内存区域的内容)
7b20: 0000ffff c403c194
80000013
7b40: ffffffff c403c284 c2dc7f78 c00188a0 ffffffea c403c2ec 00000000
00000000
7b60: 00000000 00000020 00000000 c2dc7b78 f6000000 c403c78c ffffffff
ffffffff
7b80: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 00000000
00000000
7ba0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7bc0: 00000000 00000000 00000000 00000000 00
7be0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7c00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7c20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7c40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7c60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7c80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7ca0: 00000000 00000000 00000000 00000000 00000
7cc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7ce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7d80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7dc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7e00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7e20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7e60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7f60: 00000000 00000000 00000000 00000000 00000000 00000000 c00188c0
00000020
7f80: bffffe70 c00188a0 00000020 c0044440 fffffffe c014e0c0 00000003
00000020
7fa0: bffffe70 00000004 c001ae04 c001ac80 00000003 c001ab24 00000003
bffffe70
7fc0: 00000020 fbad2a84 00000003 00000020 bffffe70 00000001 02000584
401373b4
7fe0: 40137a28 bffffe6c 400e1e50 bffffe54 02000544 400e1e54 60000010
00000003
Backtrace: invalid frame pointer 0xbffffe6c
Code: e1a03001 e1a01802 e1a0c821 e1a0e00c (e1c3e0b0)
Segmentation fault
#.......(当写访问到cs5的区域时,出现以上错误提示,然后系统崩溃!) 答 1: 回复主题:使用MX1(龙珠)片选cs5系统崩溃,请大侠出招!使用linux操作系统,内核版本号:2.4.18
现在需要使用其写访问的DTACK#模式,据其资料介绍,
写访问是完全支持DTACK#模式的,但我还是碰到了问题,
即超过应答时间(1024个系统时钟)时,MX1产生bus error,
并将此error通知CPU,问题在于我不知道如何获知此error在
cpu内部处理的机制以及如何撤销,比如但产生该类错误时,
让CPU放弃处理此error,丢弃此次写访问。(不知这是不是我
自己的愿意而已,因为本人对操作系统不熟悉)。出现崩溃时,
系统控制台显示如下:
Unhandled fault: external abort on non-linefetch (0x028) at 0xf6000000
pgd = c2e94000
*pgd = 16000442, *pmd = 16000442(bad)
Internal error: Oops: 0
CPU: 0
pc : [<c403c194>] lr : [<0000ffff>] Not tainted
sp : c2dc7b44 ip : 0000ffff fp : bffffe6c
r10: 40137a28 r9 : c2dc6000 r8 : bffffe70
r7 : 00000000 r6 : 0000ffff r5 : 00000000 r4 : f6000000
r3 : f6000000 r2 : 0000ffff r1 : ffff0000 r0 : 0000ffff
Flags: Nzcv IRQs on FIQs on Mode SVC_32 Segment user
Control: C000317F Table: 0AE94000 DAC: 0000
Process pc104test (pid: 58, stackpage=c2dc7000)
Stack: (0xc2dc7b34 to 0xc2dc8000)
#......(此处显示杂乱的数据,如下,我猜测其是某内存区域的内容)
7b20: 0000ffff c403c194
80000013
7b40: ffffffff c403c284 c2dc7f78 c00188a0 ffffffea c403c2ec 00000000
00000000
7b60: 00000000 00000020 00000000 c2dc7b78 f6000000 c403c78c ffffffff
ffffffff
7b80: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 00000000
00000000
7ba0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7bc0: 00000000 00000000 00000000 00000000 00
7be0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7c00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7c20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7c40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7c60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7c80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7ca0: 00000000 00000000 00000000 00000000 00000
7cc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7ce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7d80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7dc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7e00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7e20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7e60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
7f60: 00000000 00000000 00000000 00000000 00000000 00000000 c00188c0
00000020
7f80: bffffe70 c00188a0 00000020 c0044440 fffffffe c014e0c0 00000003
00000020
7fa0: bffffe70 00000004 c001ae04 c001ac80 00000003 c001ab24 00000003
bffffe70
7fc0: 00000020 fbad2a84 00000003 00000020 bffffe70 00000001 02000584
401373b4
7fe0: 40137a28 bffffe6c 400e1e50 bffffe54 02000544 400e1e54 60000010
00000003
Backtrace: invalid frame pointer 0xbffffe6c
Code: e1a03001 e1a01802 e1a0c821 e1a0e00c (e1c3e0b0)
Segmentation fault
#.......(当写访问到cs5的区域时,出现以上错误提示,然后系统崩溃!) 答 1: 回复主题:使用MX1(龙珠)片选cs5系统崩溃,请大侠出招!使用linux操作系统,内核版本号:2.4.18
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
【笔记】生成报错synthdesignERROR被打赏50分 | |
【STM32H7S78-DK评测】LTDC+DMA2D驱动RGBLCD屏幕被打赏50分 | |
【STM32H7S78-DK评测】Coremark基准测试被打赏50分 | |
【STM32H7S78-DK评测】浮点数计算性能测试被打赏50分 | |
【STM32H7S78-DK评测】Execute in place(XIP)模式学习笔记被打赏50分 | |
每周了解几个硬件知识+buckboost电路(五)被打赏10分 | |
【换取逻辑分析仪】RA8 PMU 模块功能寄存器功能说明被打赏20分 | |
野火启明6M5适配SPI被打赏20分 | |
NUCLEO-U083RC学习历程2-串口输出测试被打赏20分 | |
【笔记】STM32CUBEIDE的Noruletomaketarget编译问题被打赏50分 |