Multi-core project error with USB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multi-core project error with USB

313 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by turiB on Thu Feb 11 08:34:07 MST 2016
I wrote single-core project on lpc4370 with USB (used lpcopen blinky, VCOM, USB1) and it is working smootly, but when i turned project into multi-core project is running into error (hard fault) when i plug in usb hub (if i not plug USB than no error). If i switch off M0 then USB working again and i don't know the reason.
Labels (1)
0 Kudos
2 Replies

288 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by turiB on Fri Feb 12 07:42:38 MST 2016
Thank you for the reply. I resolved problem. It was my mistake and it was as you suggest.
0 Kudos

288 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Feb 12 01:37:53 MST 2016
With the limited information you have provided it is difficult to tell the exact cause - but I would imagine that the code/data for your M0 is overwriting memory used by the M4. Double check your memory map usage by both cores.

Regards,
LPCXpresso Support
0 Kudos