I see the same issue. Yes we could just move it out from the first task, but later if we update the .ioc file, this will be added again. Very annoying.
Hi Tesla and TDK,Thanks very much for your kind help.After debugging, I found out the reason is that I manually changed the SP register's value before entering this routine. I didn't exactly understand why this will cause the weird behavior. As I tho...