LPC1347 USB Rom Drivers on Rowley

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

LPC1347 USB Rom Drivers on Rowley

793件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rkcooncap on Thu Nov 01 10:02:02 MST 2012
I want to run the LPC1347 USB Rom drivers with the Rowley compiler but it always crashes to Hard Fault.
I am running example code from LPCWare suggested by NXP. I am running LPCXpresso board.

I can run the exact same code on Code-Red compiler and it works correctly. I run it on Rowley, it always crashes when I call the pUsbApi->hw->WriteEP function.

Thanks for your help.
ラベル(1)
  • USB

0 件の賞賛
返信
1 返信

779件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rkcooncap on Fri Nov 02 09:28:35 MST 2012
I fixed this problem. It was a simple matter of needing to increase the stack size going from C to C++.
The Rowley compiler fooled me becaue I thought I had alreading increased the stack, but it didn't actually get set in the project properties.

I am asking Rowley about it.

The moderators can delete this issue if they want, since it is trivial and not really about USB.
0 件の賞賛
返信