ds30 Loader free edition forums
User app vector should be relocated - 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: User app vector should be relocated (/showthread.php?tid=21831)



User app vector should be relocated - Geoffroy - 2015-11-04

Hi everybody,

I'm using ds30 bootloader on a pic16f1824. 
Recently, I get this error message :
"Detected instructions or data where user app vector should be relocated"
This message appears when my code exceeds ~ 2200 words .. (4000 words are available on the flash)
I don't know why ..

Thanks for any help.
Geoffroy


User app vector should be relocated - Geoffroy - 2015-11-04

Fixed !

For anyone who get the same issue

I have to modify my mplab ide project configuration.
By default, xc8 create hex file with "holes" (program code don't fill correctly the whole flash space, don't know why ... )
For prevent that, go to your project configuration -> xc8 linker, choose memory model in drop down menu, and set ROM range accordingly to your config
(for me, 0-E44 fits my needs)

That's all  Big Grin


RE: User app vector should be relocated - Mikael Gustavsson - 2015-11-08

Thank you for the report.