Hi
I am trying to develop bootloader for pic18f46k80 microcontroller
But currently i am having pic18f46k22 microcontroller
So developing my code for that pic18f46k22 microcontroller
The bootloader can detect the microcontroller
But I can't able to tick write and I don't know why?
I am attaching my code for reference
Please someone give any suggestions
The reason is in the output "Detected instructions or data where user app vector should be relocated".
You need to reserve the boot loader space in your application using compiler or linker settings. Which compiler do you use?
(2020-07-16, 12:51:12)Mikael Gustavsson Wrote: The reason is in the output "Detected instructions or data where user app vector should be relocated".
You need to reserve the boot loader space in your application using compiler or linker settings. Which compiler do you use?
Hi Sir
Thanks for your reply
I am using mplab v8.91 version with xc8 v2.10 compiler
Do i need to install any other new thing?Thanks
R Sridhar
I do not support MPLAB IDE as it was discontinued many years ago and MPLAB X IDE is far superior.
To reserve the boot loader space in the application use the "ROM ranges" option.
In MPLAB X IDE, right click the project name select properties. Navigate to XC8 linker\Memory model and enter default,-FDBC-FFFF