i have read lots of topics about flash routines but i have not found any c codes for LL16.
Is freescale support for this.(i already checked application notes)
Given that the flash on all S08 devices is extremely similar if not the same, what is wrong with the stuff you have found thus far?
The LL has the added benefit of having two flash arrays, so you can programme one from code running in the other.
i didnt found any c codes that can be use in my project. i ll be glad if u send a clear link
it sounds good to use 2 flash array to erase/write flash but i dont have any idea to iplement this
LL16 Flash is no different from other S08 devices. For the (assembly) reference you can refer to Freescale AN2295 Serial bootloader Application Note, there are several implementations shown.
Find also attached the DoOnStack demo, quick reference made out of HCS08 Reference Manual. These are assembly routines wrapped with C header. These could be useful for your application.
Retrieving data ...