I would like to run one of function from cw function selector in eTPUC. I am aware of the starting/ending ram addresses of the etpuc (it is same as mpc5777c_vars_c.h). I modified my_system_etpu_init for the etpuc accordingly. I just copy the function files (like crank) and generate new files for etpuc.
While running all and suspend the program, the debugger's stuck PC: No source available for "0x800400"
What should be wrong?
There are several application notes as below, what have been changed about etpu initiailzation code?
AN5374: eTPU library usage in an application – Application Note
AN4907: Engine Control eTPU Library – Application Note
AN2864: General C Functions for the eTPU – Application Note
AN4908: Engine Control eTPU Demo Application – Application Note
How was the eTPU code generated? Did you use the Function Selector to generate a complete function set, or did you only copy the CRANK function files?
Can you share your modified my_system_etpu_init() implementation?
Is the generated eTPU code image successfully loaded into SCM during initialization?
Can you provide the generated eTPU project files (e.g. etpu_set.c, etpu_set.h)?
Is the PC always stopping at 0x800400, or does it vary?