I'll see if I can figure that out... BUT I have a feeling I will still get the same error from the hex file... I'm guessing the hex file needs to be '0 padded' or something like that, to match the file size. I could be wrong, but my gut says it's something like that.
EDIT: I found the file with the list of devices/settings... here's the entry for the PIC12F615:
{
.name = "PIC12F615",
.protocol_id = 0x63,
.variant = 0xb3,
.read_buffer_size = 0x80,
.write_buffer_size = 0x20,
.code_memory_size = 0x800,
.data_memory_size = 0x00,
.data_memory2_size = 0x00,
.chip_id = 0x00,
.chip_id_bytes_count = 0x02,
.opts1 = 0x00,
.opts2 = 0x00,
.opts3 = 0x39,
.opts4 = 0x1102330,
.package_details = 0x8000200,
.write_unlock = 0xcf,
},
Guess I just need to adjust some of the size values... shouldn't be too hard to look at the difference in values between the 615 and 617 and adjust... will take me a little while to double check my work and convert the values to hex. BUT, I still expect that the .hex file will need to be adjusted to the correct size...
EDIT2: Here's the entry for the PIC16F616 (Which according to this page, has the same flash/RAM as the 12F617... double the 12F615)
{
.name = "PIC16F616",
.protocol_id = 0x63,
.variant = 0x23,
.read_buffer_size = 0x80,
.write_buffer_size = 0x20,
.code_memory_size = 0x1000,
.data_memory_size = 0x00,
.data_memory2_size = 0x00,
.chip_id = 0x00,
.chip_id_bytes_count = 0x02,
.opts1 = 0x00,
.opts2 = 0x00,
.opts3 = 0x3a,
.opts4 = 0x1102330,
.package_details = 0xe000200,
.write_unlock = 0x01,
},
So the code memory size is double... seems liek the memory sizes are omitted and not required... I'm not sure what "opt3" is.. they differ, tho opt1, opt2, opt4 are the same. Package details and write unlock appear to be different... I'm thinking it makes more sense to use the PIC12F615... so at least my initial guess is to simply copy the PIC12F615, and change the name and "code_memory_size"... leaving the rest the same. I'll try that... but still expecting the hex file is the wrong size.... I was reading this issue: https://github.com/vdudouyt/minipro/issues/26 and it appears people are using "hex2bin" to essentially do the '0 padding' I'm thinking may be necessary.