DM8148 boot[4..0] = 10011,上电后串口一直输出cccccccc.........,使用xmodem下载uboot.min.uart 后,复位引脚会自动复位,然后会继续输出ccccccccccccccc..............,并没有正常运行uboot.min.uart。这个怎么解决?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hu Yuyun,
你否配置boot【4:0】=00011,这样uart不会一直输出CCC,你在等CCC打印结束后,下载uboot min,然后手动复位系统,看是否能正常运行?
另,请问你使用的串口工具是否是tera term?
Hi Chris,
谢谢您的回复,现在我把boot改成了00011,手动复位后下载了uboot.min.uart,使用的是tera term,下载是成功的,但下载完跳转到RAM的那个地址运行后,系统供电出现问题,我测量了几路电压,发现给DDR3和8148中DDR3控制器供电的1.5v电压最先下降,下降到1v左右,会导致电源监测芯片检测到电源异常,从而使整个系统复位。但如果不运行uboot.min.uart时,各路电压均正常,纹波也满足要求。
a. 请问uboot.min.uart第一阶段运行时做了什么事情,是不是初始化了DDR3?
b. 1.5v电源异常可能是那些原因导致的?
谢谢。
Hu Yuyun,
是的,在uboot min里面会配置芯片的各个核的频率,以及DDR的频率。
你们设计的电源是否电流设计的太小了,导致电压下降?
Chi Xiaoyan,
应该用CRC的。
下载后没有打印,可能是DDR没有工作正常,可能是串口线路有问题,你需要再分析查一下。
经过检查串口是没有问题的 ,JTAG连接CPU后,进行DDR SW leveling,console输出如下:
CortexA8: GEL Output: **** Configuring DDR PLL to 400 MHz.........
CortexA8: GEL Output: DM814x DDR DPLL CLKOUT value is = 400
CortexA8: GEL Output: DM814x DDR3 EVM EMIF0 and EMIF1 configuration in progress.........
CortexA8: GEL Output: DM814x DDR,DMM PRCM configuration is Done
CortexA8: GEL Output: DM814x DDR PHY Configuration is Done
CortexA8: GEL Output: DM814x DDR IO Control Configuration is Done
CortexA8: Trouble Writing Memory Block at 0x48140e10 on Page 0 of Length 0x4: (Error -180 @ 0x3D5B) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Emulation package 5.1.450.0)
DDR3_EMIF0_EMIF1_400MHz_Config() cannot be evaluated.
Target failed to write 0x48140E10
at *((unsigned int *) 0x48140E10)=(unsigned int) (*((unsigned int *) 0x48140E10)|0x00000040) [TI814x_ddr3.gel:356]
at Vtp_Enable() [TI814x_ddr3.gel:523]
at cmd_DDR3_EMIF0_EMIF1_Config(0x00170209, 0x0AAAD4DB, 0x682F7FDA, 0x501F82BF, 0x00000C30, 0x61C011B2) [TI814x_ddr3.gel:739]
at DDR3_EMIF0_EMIF1_400MHz_Config()
CortexA8: Power Failure on Target CPU
请问问题可能出现在哪里?电源部分我参考TI的评估板设计的。
Hu Yuyun,
YUYUN HU 说:The controller has detected a target power loss. The user must turn-on or connect the power supply for the target.
请问你使用的是哪家的仿真器,能降低仿真器的频率么?