John,
When I debug the code using CCS in F28069M it worked. When I generate the code using Matlab Simulink Embedded coder support package for TI C2000 it also works good.
When I debug the code using CCS in F280049C, it worked. But when I generate the code using Matlab Simulink using Embedded coder support package for TI C2000, it gives me the below error (only for F280049C).