How do you load an SQTP file in MPLAB® IPE?
Follow these steps:
- Load the HEX file and program it into the target device through MPLAB® IPE.
- Select 'Advanced Mode' from 'Settings'
- Go to View > Show Memory (shows up at the base of the IPE window). Find an empty location in Memory (FFFF is the default value for empty addresses) for the SQTP feature to be implemented.
- Go to the 'SQTP' tab and select 'Sequential' (e.g., Start Value = 2, Increment = 2, Start).
- The address must be chosen carefully to avoid corruption of the code from the HEX file (see step three).
- Choose 'Program Memory' for the location. Other locations can also be chosen as long as adjustments are made at steps three and four to tackle the change.
- Everything else can be left in their default state. Click Generate.
- Go to 'Operate' and browse for the SQTP file. Once both the HEX and SQTP files are loaded, program the device. In Memory, go to the start address selected in step four and ensure that each time you click Program, the value at that address increases by two.
The SQTP feature should be treated as an independent entity that is not a part of the HEX file.