pic18f46k22 - Printable Version +- ds30 Loader free edition forums (https://picbootloader.com/forum) +-- Forum: Support (https://picbootloader.com/forum/forumdisplay.php?fid=3) +--- Forum: 8-bit firmwares (https://picbootloader.com/forum/forumdisplay.php?fid=7) +--- Thread: pic18f46k22 (/showthread.php?tid=22378) |
pic18f46k22 - sridhar - 2020-07-09 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 RE: pic18f46k22 - Mikael Gustavsson - 2020-07-10 Hi, Please post a screenshot of ds30 Loader GUI with your settings. RE: pic18f46k22 - sridhar - 2020-07-13 Hi sir Thanks for your response I am attaching my screenshots of ds30 loader settings for your reference Thanks R Sridhar RE: pic18f46k22 - Mikael Gustavsson - 2020-07-13 I dont see any problem. Please also post the application hex file. RE: pic18f46k22 - sridhar - 2020-07-14 Hi Thanks again for your reply I am attaching my hex file for your reference Thanks R Sridhar RE: pic18f46k22 - Mikael Gustavsson - 2020-07-16 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? RE: pic18f46k22 - sridhar - 2020-07-17 (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".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 RE: pic18f46k22 - Mikael Gustavsson - 2020-07-21 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 RE: pic18f46k22 - sridhar - 2020-07-22 Hi Sir Thanks for your reply I will do as you suggested and will update you Thanks R Sridhar |