Thanks for the response NorthGuy,
Yes, the hex file does contain the settings for BTMODE (FBOOT). Here is the configuration bit settings as generated by the IDE configuration bit view.
#pragma config BTMODE = DUAL // Boot Mode Configuration Bits (Device is in Dual Partition mode)
#pragma config BSEQ = 0xfff // Relative value defining which partition will be active after device Reset; the partition containing a lower boot number will be active (Enter Hexadecimal value)
#pragma config IBSEQ = 0x000 // The one's complement of BSEQ; must be calculated by the user and written during device programming. (Enter Hexadecimal value)
Here is the relevant section of the hex file:
I'm thinking that there should be a command line switch that is equivalent to the Memory Model setting in the GUI.
When I run ipecmd via a batch file, the output looks like the photo attached.
Note that the report does not include any memory areas programmed except "configuration memory".
If I try to read back what was programmed using the GUI, I must select Memory Mode "Single Partition" or I get an error, which indicates to me that the BTMODE setting was not programmed.