10 Replies Latest reply on Oct 22, 2019 11:10 PM by RashiV_61

    How to configure external FLASH for FX3/CX3 (CYUSB3065)

    LeLv_4519926

      Question 2: How to configure external FLASH for FX3/CX3 (CYUSB3065)           

      I use (CYUSB3065) here, and then hang an 8MB FLASH outside the chip. At present, it's no problem to start the burning, but when I modify the space configuration, it can't be realized and it can't start when burning in.           

      The content of the revision includes two aspects:           

      1. Compiled configuration files: C: Program Files (x86) Cypress EZ-USB FX3 SDK 1.3 firmware/common/fx3.ld           

      Before amendment, it read as follows:           

      I-TCM: ORIGIN = 0x100 LENGTH = 0x3F00            SYS_MEM: ORIGIN = 0x40003000 LENGTH = 0x2D000            DATA: ORIGIN = 0x40030000 LENGTH = 0x8000           

      Amended as follows:           

      I-TCM: ORIGIN = 0x100 LENGTH = 0x3F00            SYS_MEM: ORIGIN = 0x40003000 LENGTH = 0x2E000            DATA: ORIGIN = 0x40031000 LENGTH = 0x8000           

      2. cyxtx.c           

      Before modification:  define CY_U3P_MEM_HEAP_BASE ((uint8_t*) 0x40038000)           

      After modification:  define CY_U3P_MEM_HEAP_BASE ((uint8_t*) 0x40039000)           

      Excuse me: How can we use external FLASH to store code so that the size of code is not limited by space?