完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
|
相关推荐
7 个讨论
|
|
lkjljljlj 发表于 2018-8-6 08:52 hi,您好 我在用6678 evm测试的时候,所有的程序段分配在DDR,传入以下DDR参数表 00 00 00 70 00 87 35 00 02 42 80 F5 00 00 00 00 00 00 00 1C 00 00 00 02 63 06 2A 32 00 00 00 00 00 00 14 50 11 13 78 3C 30 71 7F E3 55 9F 86 AF 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70 07 32 14 00 00 00 00 00 10 01 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 03 05 是可以正常boot 的,我的理解是这些参数对DDR做了初始化才使得boot 能够成功,不知对不对? 谢谢! |
|
|
|
|
|
您好, 我用的是SPI加载,根据tiboot.h下的DDR配置参数结构体: typedef struct bootEmif4Tbl_s [ UINT32 configSelect; /* Bit map defining which registers to set */ UINT32 pllPrediv; /* Values of all 0s will disable the pll */ UINT32 pllMult; UINT32 pllPostDiv; UINT32 sdRamConfig; UINT32 sdRamConfig2; UINT32 sdRamRefreshCtl; UINT32 sdRamTiming1; UINT32 sdRamTiming2; UINT32 sdRamTiming3; UINT32 lpDdrNvmTiming; UINT32 powerManageCtl; UINT32 iODFTTestLogic; UINT32 performCountCfg; UINT32 performCountMstRegSel; UINT32 readIdleCtl; UINT32 sysVbusmIntEnSet; UINT32 sdRamOutImpdedCalCfg; UINT32 tempAlterCfg; UINT32 ddrPhyCtl1; UINT32 ddrPhyCtl2; UINT32 priClassSvceMap; UINT32 mstId2ClsSvce1Map; UINT32 mstId2ClsSvce2Map; UINT32 eccCtl; UINT32 eccRange1; UINT32 eccRange2; UINT32 rdWrtExcThresh; ] BOOT_EMIF4_TBL_T; 然后传入对应DDR初始化需要的值,但是没发现与leveling的操作相关的配置 谢谢! |
|
|
|
|
|
Leveling寄存器没有配置时会用缺省值,这对某些板子可能可以,但绝对不是一个可靠的配置。 如果你用SPI加载的话,可以试以下bootloader user's guide中介绍的方法: 3.2.3 Boot Configuration Table A boot configuration table is used if certain peripherals must be programmed with values that differ from their reset values before loading an application. For example, if the application needs to be loaded into DDR memory, the boot configuration table can be used to program the DDR registers and enable the DDR peripheral before loading the application code into DDR. Each table entry in the boot configuration table has three elements: • The address to be modified • The set mask • The clear mask The RBL reads the specified address, then sets any bits that are set in the set mask element and clears any bits that are set in the clear mask element. If both the set and clear mask elements are 0, the value in the address field is branched via a standard call with the return address stored in register B3. The boot configuration table is terminated when all three elements are 0. |
|
|
|
|
|
dualxu 发表于 2018-8-6 09:50 你说的几个参数是用来配置DDR PLL的,PLLOUT=input_CLK*(PLLM+1)/PLLD,在C6678 data manual中有 其他的DDR参数使用如下链接的spreadsheet生成: http://www.deyisupport.com/question_answer/dsp_arm/c6000_multicore/f/53/t/53384.aspx |
|
|
|
|
|
只有小组成员才能发言,加入小组>>
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
624 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
583 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1035 浏览 1 评论
702 浏览 0 评论
普中科技F28335开发板每次上电复位后数码管都会显示,如何熄灭它?
508 浏览 1 评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
144浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
110浏览 14评论
在使用3254进行录音的时候出现一个奇怪的现象,右声道有吱吱声,请教一下,是否是什么寄存器设置存在问题?
116浏览 13评论
TLV320芯片内部自带数字滤波功能,请问linein进来的模拟信号是否是先经过ADC的超采样?
113浏览 12评论
TPA6304-Q1: TPA6304 两片公用一组I2C的话,其中一片配置不成功怎么办
153浏览 10评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-15 17:26 , Processed in 0.892865 second(s), Total 55, Slave 48 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号