Hi all,
In our old project, we use code worrior 4.7 to do a project. But when we use it in code worrior 5.1 ,we find out that it can not initialize variables in DFLASH. The following picture is the window in hivave 4.7. I found that the variable Product_ID had a correct init value. and DFLASH is programmed.
but when I use the same program in code worrior 5.1 , I found that the ProdctID did not init as what I want.See picture below.
Does anybody have the same issue ? MCU is 9s12p128. The project is attached.
Hello zhao ning ,
I using the simulation mode test your project, the Product_ID can init, what about on your side?
I will find a board to have a try.
BR
Alice
Hi!
Thanks for your help.
We have found out how this issue come from.
In CW5.1 IDE, the default prm file as below.
,but the Mcu02e9.fpp file in CWS12v5.1\Prog\fpp is like below.
And we don't know why this happens.
As we replace this file as in CW4.7 in CWS12v4.7\Prog\fpp is like below,
Things turns to be OK. As we download the same program to the mcu, we read the correct value .
Hi zhao ning,
Thanks for your sharing.
BR
Alice