[Traveo II CYT2B]hard fault triggered on M0+ site after a IPC NOTIFY event written to IPC1 register

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
zhimin
Level 1
Level 1
First solution authored First like received First reply posted

Hi,

I'm using flash driver to erase sector 0x100B 8000 of MCU CYT2BL8C, the flash driver runs from RAM 0x0800 2000.

After an IPC NOTIFY event written to IPC1 register, on M0+ site, a hard fault is immediately detected.

I'm not clear the reason causing this situation. Does this have something to do with the protection context(PC)? How could I find in which PC is the current code executing?

Does anyone have any ideas about this case?

thank you in advance.

Best Regards,

Zhimin

0 Likes
1 Solution
zhimin
Level 1
Level 1
First solution authored First like received First reply posted

Hi Ashish,

I think this issue is related to a "code in RAM" problem. After I remap the code, that is executing in CMO during flash operation, to RAM, the flash operation issue is solved.

thank you for your info.

BR,

Zhimin

View solution in original post

2 Replies