Hello Bob,
The first time your parameters are programmed, the flash will already be erased, so you do not need to erase. However, if you need to re-program the existing parameters, the flash block you are using will first need to be erased.
The flash block(s) used for parameter storage should commence at the first flash block for the device. This allows write protection of the program code to be implemented.
Application note AN2874 may be of interest - since the JL8 is an "Instance B" device, I might assume would also apply to the JL16.
Regards,
Mac
Message Edited by t.dowe on 2009-09-16 10:20 AM