SparkFun Forums 

Where electronics enthusiasts find answers.

Everything ARM and LPC
By einsteiner
I have a board set up with an LPC1343 using the built-in HID driver. I can send a command the chip to enter programming mode, which causes SetOutReport to set a flag, which the main loop sees and calls ReinvokeISP, and it reboots as a MSC device. Now I want to get rid of the main loop, so I put checking the flag in SysTick_Handler, which causes it to fail. The device locks up and Windows tells me a USB device has malfunctioned.

My thinking is that SysTick_Handler is blocking an interrupt handler the USB needs, so I moved it to a periodic interrupt on CT32B0 with the priority set to 7 so it would be less than the USB interrupts, but it had the same problem. How can I allow the USB interrupts to run inside the SysTick interrupt?
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]