Hi Everybody,

I'm currently working on a bootloader application - the idea is that the master pic will program all the slave pics connected to it over eusart. For that I need to know the exact structure of a hex file, so I can stream it correctly and setup table writes in pic's flash.

As far as datasheet is concerned the config bytes has the addressess 300000h - 3FFFFFh.

As far as I know, the configuration bits should be included in the hex file. I can't seem to find them though. I tried the method of setting them differently and recompile the program, but the hex files are exactly the same! No matter what configuration bits I change. Is it possible that this bits are stored somewhere else with the new MPLAB?

I working on pic18f4525 with picbasic pro and mplab 8.43. I include a hex file of my program (a tiny bootloader compiled actually).

Thanks in advance if you can find those for me. Cheers!

greg


:020000040000FA
:04000000A0EF5FF01E
:08BF3800000000000000000001
:10BF4000240EAC6E190EAF6E900EAB6E4B0EAD6E36
:10BF500047D8C10854E14E0EAD6E4B0EAD6E006A6F
:10BF60003FD80000F86E076E3BD8F76EA96E38D840
:10BF7000F66EA86E35D8016E012A00EE09F0F56E56
:10BF80002FD8EC6E012EFBD700661FD007AC03D074
:10BF9000040E1ED818D007AE04D00C00C40E18D85A
:10BFA00012D0940E15D80A00080E056E00EE0AF0A5
:10BFB000080E066EEE50F56E0F00062EFBD7840EAF
:10BFC00007D8052EF5D7A694C8D74E0EAD6EC7D7A5
:10BFD000A66E550EA76EAA0EA76EA68200001200CE
:10BFE000030E026E036A046A9EAA03D0AE500026B6
:10BFF0001200042EF9D7032EF6D7022EF3D7AB9EEC
:02C000009BD7CC
:020000040030CA
:03000100011E0ECF
:020005008181F7
:060008000FC00FE00F40E5
:00000001FF