hI all.
I had the flash and related programs.
However, this definition is in the library FADDR FDATA and it is not.
I think this library is not update.
I want to Download to library. So Search to library and not find.
How to Download that?
Chip : MC9S12DJ128 VPV
Solved! Go to Solution.
Hello
According to my understanding you are using CodeWarrior for HC12 V5.1 and you are missing definition of registers FADDR and FDATA in mc9s12dj128.c / mc9s12dj128.h/
I checked the delivered files and the definition for these registers are indeed missing.
I would recommend you to submit a service request to get that fixed.
Click here to submit a service request.
In the mean time you can add register definition from attached regdef.h and refdef.c respectively to your mc9s12dj128.h and mc9s12dj128.c files.
These files are located respectively in directory {Install}\lib\hc12c\include and {Install}\lib\hc12c\src.
CrasyCat
Hello
According to my understanding you are using CodeWarrior for HC12 V5.1 and you are missing definition of registers FADDR and FDATA in mc9s12dj128.c / mc9s12dj128.h/
I checked the delivered files and the definition for these registers are indeed missing.
I would recommend you to submit a service request to get that fixed.
Click here to submit a service request.
In the mean time you can add register definition from attached regdef.h and refdef.c respectively to your mc9s12dj128.h and mc9s12dj128.c files.
These files are located respectively in directory {Install}\lib\hc12c\include and {Install}\lib\hc12c\src.
CrasyCat
Thank you for your advice.
Attached file is very useful !!
I think it is quite OK that FADDR and FDATA are not listed in derivative files. FADDR and FDATA can be used only in special modes and thus are not useful for real life applications. Only BDM debuggers/programmers can use FDATA and FADDR for erase/program operations. Users applications have to write directly into flash array.