Hello everybody!
I'm trying to write a program in C in Codewarrior for writing data in flash memory.
I'm using a 9S12E128 16 bit microelectronic with a Licensed Codewarrior v5.9.
I have many difficulty in this way. I have studied many books and test many subroutine.
Found a application note and program in freescale website(A2720) for Flash Programming but I couldn't find the file Flash.h in the download files so it does not work unfortunately.
I'm looking for a fastest way to get result.
Is anybody can help me please?
Thanks
解決済! 解決策の投稿を見る。
Hi,
If you have AN2720, see page 9 - flash.h file is included there.
Regards,
ipa
Thank you jpa for your kind and prompt reply
I have another problem There is couple of error in my compiler
it could not find "projectglobals.h" and also the the variable declration such as:
Flash.fclkdiv.byte = Flash.fclkdiv.byte | fclk_val| FDIV8;
Could you please again help me to find out the problem?
Best regards
ARBM66