CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

DSPIC33 bootloader and reset vector problem

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
claude_richard



Joined: 13 Nov 2012
Posts: 1

View user's profile Send private message

DSPIC33 bootloader and reset vector problem
PostPosted: Tue Nov 13, 2012 10:22 am     Reply with quote

Hi every body,

I am new on this forum. I am french so excuse me for my english.

I am writing a bootloader for a DSPIC33FJ128MC802 based on the CCS loader_pcd example.

The loader is at the address PROGRAM MEMORY - 0x800 (0x15000).

Everything is working fine. Erase application program memory, writing application program memory except for the reset vector memory location.
From program address 0 to 3, the memory is erased but the values coming from the hex file are not written. All the other vectors are written correctly (timers interrupt, RDA interrupt ...)

Please, is somebody can help me for that ?

Thank you in advance.

Best regards.

Claude.
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Wed Nov 14, 2012 11:15 pm     Reply with quote

This is the reset vector address. If the bootloader allowed this vector to be overwritten then the bootloader would not work after the first time it boot loaded a user application
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group