View previous topic :: View next topic |
Author |
Message |
claude_richard
Joined: 13 Nov 2012 Posts: 1
|
DSPIC33 bootloader and reset vector problem |
Posted: Tue Nov 13, 2012 10:22 am |
|
|
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
|
|
Posted: Wed Nov 14, 2012 11:15 pm |
|
|
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!! |
|
|
|