Content originally posted in LPCWare by Harvester on Wed Oct 07 14:17:41 MST 2015
Hello.
I need to write the code used USB ROM API functions, which will be executed from internal SRAM.
I had try to run some usbd_rom examples (ie, cdc_vcom) from internal SRAM.
I had define new Target, set IROM1: 0x10000000...0x10008000 and IRAM2: 0x20000000...0x20010000, select "lpc18xx_43xx_debug_iram.ini" initialization file. An application starts but durin executing USBD_API->hw->Init() function Hard Fault exception is rised .
What I must do to solve this problem?