Take 2: starting M0 halts M4

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by omegahacker on Fri May 30 21:27:20 MST 2014
I've been waiting over a week for NXP support to utter a single word, so I'm giving the forum another shot.

Attached is my current test source.  The 4350m0 directory contains a very simple program that does nothing except periodically update one of the SCT match registers.

The 4350m4 directory contains a setup program that configures the SCT to do PWM output to the red LED on the Hitex board (CTOUT3), then copy the M0 code over into SRAM and start it.

When I run this (.gdbinit autoloads and runs the binary), I end up with the LED stuck on (which indicates that the SCT crashed!) and gdb says I'm at 0x000000cc [ResetISR] in the M4.

I have no idea what's wrong, and NXP apparently doesn't either because they're not answering any of my emails or calls.  Hopefully someone else here has any clues.

Original Attachment has been moved to: 4350-fail.zip