Other Parts Discussed in Thread: CONTROLSUITE
I'm working with the Concerto Experimenter kit with the F28M35H52C1 control card and CCS V5.2.1, fumbling my way up the learning curve. I have successfully run a few of the sample projects, including the dual core “Blinky” example.
However, I’m stumped on a problem with the mtoc_ipcdrivers example. I get through the boot-up of the c28 and both cores run well through the first call to IPCMtoCDataWrite(), where it writes the 16-bit word value. But, immediately after the call to IPCMtoCDataRead() the m3 core goes into a hard fault condition. I have verified that the 0x1234 value is being written to the c28 variable, correctly.
I get the same result if I comment out the 16-bit read/write and try the 32-bit read/write. It hangs, immediately after the read function. I have tried stepping through the entire process, including the interrupt routines, but can’t find what is wrong. The m3 hangs, whether I have the debugger connected or just let it run stand-alone. The c28 continues to run OK.
I have no reason to question the code, so I assume this has something to do with my build settings. Which .cmd files should I be using with the m3 and c28 cores? Also, do you have any other suggestions?
Thanks,
Larry Finocchi