Relocating vectors

General discussion on mikroBasic PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
arco
Posts: 312
Joined: 15 Apr 2008 13:54
Location: The Netherlands

Relocating vectors

#1 Post by arco » 06 Jun 2017 13:49

For a bootloader, I need to relocate the vector area in a 24fj256ga110 to outside the bootloader area. (to 0x1000)
The interrupt vectors isn't a problem; I can edit the linkerfiles. But the reset vector is more difficult.
Is there a way to relocate that from 0x0000 to 0x1000? (by editing linkerfile or something else)
Regards,

Peter.

User avatar
danilo.milovic
mikroElektronika team
Posts: 501
Joined: 05 Dec 2016 14:59

Re: Relocating vectors

#2 Post by danilo.milovic » 07 Jun 2017 12:02

Hi,

In compiler installation folder there are project for bootloader \mikroC PRO for dsPIC\Examples\Other\USB HID Bootloader

perhaps this can be of some assistance.

Regards,

Danilo

amarais
Posts: 1
Joined: 04 Mar 2017 18:50

Re: Relocating vectors

#3 Post by amarais » 25 Jul 2017 09:50

Hi Peter, I have the same problem with bootloader DS30 loader secure.
I can't relocate the IVT table, can you explain me how you relocate the ivt table with linkerfile ?
Have you solve your reset vector ?

Thank's
Arnaud

Post Reply

Return to “mikroBasic PRO for dsPIC30/33 and PIC24 General”