2011-06-17, 11:37:37
(This post was last modified: 2012-12-22, 14:04:11 by Mikael Gustavsson.)
I have a couple of similar projects, one using a PIC24FJ with the ds30 loader, another with dsPIC33FJ and EEPROM emulation (AN-1095).
I want to end up with both projects using both ds30 loader and EEPROM emulation. What is the best way to acheive this?
I think I need to reserve an additional 2 pages of flash before the bootloader.
Therefore for the PIC24FJ device my final 4 pages of memory will be :-
EEPROM
EEPROM
BOOT
BLANK + CONFIG
I guess I have two questions here,
1. How do I make the compiler place the two EEPROM pages in the right place?
2. How do I ensure the ds30 loader GUI does not over write the last 4 pages? Is it as simple as entering the Advanced tab, ticking the Custom Bootloader check box and changing number to 4 pages?
I want to end up with both projects using both ds30 loader and EEPROM emulation. What is the best way to acheive this?
I think I need to reserve an additional 2 pages of flash before the bootloader.
Therefore for the PIC24FJ device my final 4 pages of memory will be :-
EEPROM
EEPROM
BOOT
BLANK + CONFIG
I guess I have two questions here,
1. How do I make the compiler place the two EEPROM pages in the right place?
2. How do I ensure the ds30 loader GUI does not over write the last 4 pages? Is it as simple as entering the Advanced tab, ticking the Custom Bootloader check box and changing number to 4 pages?