We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
The application note, APNT_138, refers to the file PFLASH.A66, which contains the functions: PFlash_Write, PFlash_Erase, PFlash_Reset. However, I can't find this file anywhere. I assume that you have to write these routines yourself. If so, are there any examples for reading/writing/erasing the on-chip flash memory on a C166 device. Thanks
There are several C166 derivatives with on-chip flash memory, each having different procedures for erasing/writing the flash. Consult your microcontroller's datasheet. - mike