Please try changing the Length of DATA from 0x8000 to 0xC000. i.e
DATA : ORIGIN = 0x40030000 LENGTH = 0xC000
After this, adjust the CY_U3P_MEM_HEAP_BASE accordingly.
Thanks! its working now .
I want to know how to see
The code area used by the application will be same as the size of the image file obtained after building the project.
The data and bss region used by the application can be found from the .map file which will be found in the debug drop down which is available under the project in project explorer in EZ USB suite. For the project below, it will be in GpifToUsb.map.
The heap area is allocated at run time.
The DMA buffer area used can be found by adding the total size of all DMA buffers associated with all the DMA channels used in the application.