U-Boot SPL 2018.01-05679-g013ca45-dirty (Jun 04 2020 - 00:00:19)
DRAM initialization failed: dram[0x0] != 0x8.
只打印这两行就卡住不动了。
搜索这个错误,加了一些打印,每次写入dram就打印出来没有问题:
dram[0x0]: 0x0.
dram[0x1]: 0x1.
dram[0x2]: 0x2.
dram[0x3]: 0x3.
dram[0x4]: 0x4.
dram[0x5]: 0x5.
dram[0x6]: 0x6.
dram[0x7]: 0x7.
dram[0x8]: 0x8.
dram[0x9]: 0x9.
dram[0xa]: 0xa.
dram[0xb]: 0xb.
dram[0xc]: 0xc.
dram[0xd]: 0xd.
dram[0xe]: 0xe.
dram[0xf]: 0xf.
dram[0x10]: 0x10.
dram[0x11]: 0x11.
dram[0x12]: 0x12.
dram[0x13]: 0x13.
dram[0x14]: 0x14.
dram[0x15]: 0x15.
dram[0x16]: 0x16.
dram[0x17]: 0x17.
dram[0x18]: 0x18.
dram[0x19]: 0x19.
dram[0x1a]: 0x1a.
dram[0x1b]: 0x1b.
dram[0x1c]: 0x1c.
dram[0x1d]: 0x1d.
dram[0x1e]: 0x1e.
dram[0x1f]: 0x1f.
dram[0x20]: 0x20.
dram[0x21]: 0x21.
dram[0x22]: 0x22.
dram[0x23]: 0x23.
dram[0x24]: 0x24.
dram[0x25]: 0x25.
dram[0x26]: 0x26.
dram[0x27]: 0x27.
dram[0x28]: 0x28.
dram[0x29]: 0x29.
dram[0x2a]: 0x2a.
dram[0x2b]: 0x2b.
dram[0x2c]: 0x2c.
dram[0x2d]: 0x2d.
dram[0x2e]: 0x2e.
dram[0x2f]: 0x2f.
dram[0x30]: 0x30.
dram[0x31]: 0x31.
dram[0x32]: 0x32.
dram[0x33]: 0x33.
dram[0x34]: 0x34.
dram[0x35]: 0x35.
dram[0x36]: 0x36.
dram[0x37]: 0x37.
dram[0x38]: 0x38.
dram[0x39]: 0x39.
dram[0x3a]: 0x3a.
dram[0x3b]: 0x3b.
dram[0x3c]: 0x3c.
dram[0x3d]: 0x3d.
dram[0x3e]: 0x3e.
dram[0x3f]: 0x3f.
都赋值完,再打印一遍,发现每个字节的bit3被置1了,难道dram有问题,买的芯片有问题?
dram[0x0]: 0x8.
dram[0x1]: 0x9.
dram[0x2]: 0xa.
dram[0x3]: 0xb.
dram[0x4]: 0xc.
dram[0x5]: 0xd.
dram[0x6]: 0xe.
dram[0x7]: 0xf.
dram[0x8]: 0x8.
dram[0x9]: 0x9.
dram[0xa]: 0xa.
dram[0xb]: 0xb.
dram[0xc]: 0xc.
dram[0xd]: 0xd.
dram[0xe]: 0xe.
dram[0xf]: 0xf.
dram[0x10]: 0x18.
dram[0x11]: 0x19.
dram[0x12]: 0x1a.
dram[0x13]: 0x1b.
dram[0x14]: 0x1c.
dram[0x15]: 0x1d.
dram[0x16]: 0x1e.
dram[0x17]: 0x1f.
dram[0x18]: 0x18.
dram[0x19]: 0x19.
dram[0x1a]: 0x1a.
dram[0x1b]: 0x1b.
dram[0x1c]: 0x1c.
dram[0x1d]: 0x1d.
dram[0x1e]: 0x1e.
dram[0x1f]: 0x1f.
dram[0x20]: 0x28.
dram[0x21]: 0x29.
dram[0x22]: 0x2a.
dram[0x23]: 0x2b.
dram[0x24]: 0x2c.
dram[0x25]: 0x2d.
dram[0x26]: 0x2e.
dram[0x27]: 0x2f.
dram[0x28]: 0x28.
dram[0x29]: 0x29.
dram[0x2a]: 0x2a.
dram[0x2b]: 0x2b.
dram[0x2c]: 0x2c.
dram[0x2d]: 0x2d.
dram[0x2e]: 0x2e.
dram[0x2f]: 0x2f.
dram[0x30]: 0x38.
dram[0x31]: 0x39.
dram[0x32]: 0x3a.
dram[0x33]: 0x3b.
dram[0x34]: 0x3c.
dram[0x35]: 0x3d.
dram[0x36]: 0x3e.
dram[0x37]: 0x3f.
dram[0x38]: 0x38.
dram[0x39]: 0x39.
dram[0x3a]: 0x3a.
dram[0x3b]: 0x3b.
dram[0x3c]: 0x3c.
dram[0x3d]: 0x3d.
dram[0x3e]: 0x3e.
dram[0x3f]: 0x3f.
离线
市场上有翻新芯片,可能是这个问题。
但是也可能是你的pcb有问题,检查dram供电。
dram 2.49v
svref 1.25v
供电使用的ea3036,纹波没有测量。
离线
晶振有没有检查过 频率对不对?
离线
晶振有没有检查过 频率对不对?
晶振24MHz,串口波特率115200已经可以输出内容了,晶振应该起振了吧,并且频率应该问题不大吧,不然这个115200波特率就不准了
离线
还几个板子试试,可能芯片问题。
离线
还几个板子试试,可能芯片问题。
嗯,我再焊接一个试试
离线
换了个新的芯片,好了,可以正常启动了,看来真的买到假芯片了
离线