Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pic18f46k22
#1
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


Attached Files
.zip   v5 pic18f46k22 57600BR switchra6.zip (Size: 101.51 KB / Downloads: 4)
Reply
#2
Hi,
Please post a screenshot of ds30 Loader GUI with your settings.
Reply
#3
Hi sir
Thanks for your response
I am attaching my screenshots of ds30 loader settings for your reference
Thanks
R Sridhar


Attached Files Thumbnail(s)
       
Reply
#4
I dont see any problem. Please also post the application hex file.
Reply
#5
Hi
Thanks again for your reply
I am attaching my hex file for your reference
Thanks
R Sridhar


Attached Files
.zip   HSADC_Ver1.0.0_20190912.production.zip (Size: 38.85 KB / Downloads: 4)
Reply
#6
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?
Reply
#7
(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
Reply
#8
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
Reply
#9
Hi Sir
Thanks for your reply
I will do as you suggested and will update you
Thanks
R Sridhar
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)