完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,我设计了自己的PIC32 MD板,带有内部DDR2 RAM。我使用的是GLCD 480X222。我可以调试它,但是当PC到达DRVIVGFXGLCDYSTAtiON.C的第529行(我附上截图)绿色箭头消失,ICD3失去通信,然后我必须断开和连接。再次使用ICD3。这发生在清除内部帧缓冲指针的那一刻。在这一点上,我不知道发生了什么,还有什么要检查的。我已经购买了PIC32 MZ演示,我可以编程和调试它没有问题与类似的代码。多谢。
以上来自于百度翻译 以下为原文 Hello, I've designed my own board with PIC32MZ with internal DDR2 Ram. I'm using a GLCD 480x272. I can debug it, but when the PC reaches the line 529 of drv_gfx_glcd_static.c (I’ve attached a screenshot) the green arrow disappear and the ICD3 loses communication, then I have to disconnect and connect again the ICD3. This happen at the moment of clear the internal frame buffer pointer. At this point I don't have idea what is going on and what else to check. I've purchased the PIC32MZ demo and I can program and debug it without problems with a similar code. Many thanks. Attached Image(s) |
|
相关推荐
5个回答
|
|
如果屏幕缓冲区在内部SDRAM中,您是否正确初始化了内存控制器并启用了时钟管理器中的DDR时钟?我运行MZ的自定义板上附带液晶显示器,所以也许我可以帮助。
以上来自于百度翻译 以下为原文 If the screen buffer is in internal SDRAM, did you correctly initialize that memory controller and enabled the DDR clock in clock manager? I'm running the MZ on a custom board with attached LCD as well, so maybe I could help. |
|
|
|
我不知道我是否正确地初始化了内存控制器,我想这是由MPLAB和谐完成的:在图形堆栈中,我看到帧缓冲存储器位置DDR2。我已经使DDR时钟运行到200兆赫。
以上来自于百度翻译 以下为原文 I don't know if I've initialized the memory controller correcly, I suppose that this is done by Mplab Harmony: in graphics stack I see Frame Buffer Memory Location DDR2. I've enabled the DDR clock running to 200MHz. |
|
|
|
不知道这是否有帮助,我已经知道,丢失这样的通信通常是DDR在试图访问没有建立或不存在的内存时所做的事情,比如试图访问比DDR或XIP中存在的更大的地址,或者访问DDR或其他内存SPAC。没有设置,等等。
以上来自于百度翻译 以下为原文 Not sure if this helps, I have learned that losing communication like that is typically what it the MZ with ddr does when it attempts to access memory that isn't set up or doesn't exist, like perhaps trying to access a greater address than exists in ddr or xip, or accessing ddr or other memory space that isn't set up, etc.. |
|
|
|
是否启用内存系统服务使用内部DDR2,它有效地配置具有适当参数的DDR控制器?我个人必须知道,在数据表(表4-5)中指定的内部DDR2 RAM的时序参数实际上不起作用,在选择内部DDR时,使用和声默认值是有效的。
以上来自于百度翻译 以下为原文 Did you enable the Memory system service to use internal DDR2 which effectively configures the DDR controller with proper parameters? I've personally had to learn that the timing parameters for the internal DDR2 RAM specified in the data sheet (Table 4-5) do not really work, using the Harmony defaults when selecting internal DDR seems to work. |
|
|
|
您好,是的,我忘了让内存系统服务使用DDR2,我认为当内部缓冲区位于DDR2中时,和声使初始化成为可能。现在不打开,有时我还在努力。谢谢大家。
以上来自于百度翻译 以下为原文 Hello, Yes, I forgot enable the Memory system service to use the DDR2, I thought that when the internal buffer location is in DDR2 harmony enables the initialization required. Now doesn’t turn on sometimes I still working on it. Thank you all. |
|
|
|
只有小组成员才能发言,加入小组>>
5248 浏览 9 评论
2036 浏览 8 评论
1956 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3217 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2264 浏览 5 评论
781浏览 1评论
676浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
602浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
684浏览 0评论
581浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-26 11:34 , Processed in 1.332207 second(s), Total 53, Slave 48 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号