Calling USB ROM API functions from internal SRAM raise Hard Fault exception

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Calling USB ROM API functions from internal SRAM raise Hard Fault exception

735件の閲覧回数
lpcware
NXP Employee
NXP Employee
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?
ラベル(1)
0 件の賞賛
返信
1 返信

702件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Harvester on Fri Oct 09 02:23:57 MST 2015
I'm sorry, it's my mistake. I didn't change base address for USB stack buffer (0x200000000).
0 件の賞賛
返信