ds30 Loader free edition forums

Full Version: pic18f46k22
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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

Thanks in advance
R Sridhar
Hi,
Please post a screenshot of ds30 Loader GUI with your settings.
Hi sir
Thanks for your response
I am attaching my screenshots of ds30 loader settings for your reference
Thanks
R Sridhar
I dont see any problem. Please also post the application hex file.
Hi
Thanks again for your reply
I am attaching my hex file for your reference
Thanks
R Sridhar
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
Hi Sir
Thanks for your reply
I will do as you suggested and will update you
Thanks
R Sridhar