我这边使用的(CYUSB3065) ,然后芯片外部挂了一个16M的FLASH,目前烧录启动,都没有问题,但是当我修改空间配置的时候,不能实现,烧录进去的时候都启动不起来。 修改的内容包含两个方面: 1. 编译的配置文件:C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\/firmware/common/fx3.ld 修改前为: I-TCM : ORIGIN = 0x100 LENGTH = 0x3F00 SYS_MEM : ORIGIN = 0x40003000 LENGTH = 0x2D000 DATA : ORIGIN = 0x40030000 LENGTH = 0x8000 修改后为: I-TCM : ORIGIN = 0x100 LENGTH = 0x3F00 SYS_MEM : ORIGIN = 0x40003000 LENGTH = 0x2E000 DATA : ORIGIN = 0x40031000 LENGTH = 0x8000 2. cyxtx.c 修改前:#define CY_U3P_MEM_HEAP_BASE ((uint8_t *)0x40038000) 修改后:#define CY_U3P_MEM_HEAP_BASE ((uint8_t *)0x40039000)
已解决! 转到解答。
- 标记:
- fx3cx3
If google understand you right, than it looks not bad what you have changed.
Your adaption reduce the max. available memory for buffers allocated by
CyU3PDmaBufferAlloc or CyU3PMemAlloc. If your application tries to use
more than the available memory this functions return a "zero" pointer, what may
cause your boot problem.
It is possible to write your question in english?
If google understand you right, than it looks not bad what you have changed.
Your adaption reduce the max. available memory for buffers allocated by
CyU3PDmaBufferAlloc or CyU3PMemAlloc. If your application tries to use
more than the available memory this functions return a "zero" pointer, what may
cause your boot problem.
Thanks for the answer!
I got the answer by FAE.But thank you all th same!