Hello All,
A while since i have posted..still, here goes..
I am trying to implement a pic32 bootloader, and have been looking at AN1388 application note.
I have also been looking at the source code for it, however i have been getting a little confused with the linker script.
I would like to put the bootloader in the 12k memory specially for bootloaders.
(oh im using PIC32MX460F512L) however, the linker advice mentioned in example 11 and example 12 on the application note is confusing me slightly, as it says the app flash end address need to be at the end of the total area.. you can see where im struggling, especially with the definition of kseg0, kseg1 and other parts.
This also needs to generate an app linker script ( i assume) to know where to map the application? not sure.
Any help is much appreciated.. id like to figure it all out as opposed to just getting an answer as i can imagine this being needed for future processors and projects!
Many thanks in advance
Useful Files:
AN1388
PIC32MX460F512L
A while since i have posted..still, here goes..
I am trying to implement a pic32 bootloader, and have been looking at AN1388 application note.
I have also been looking at the source code for it, however i have been getting a little confused with the linker script.
I would like to put the bootloader in the 12k memory specially for bootloaders.
(oh im using PIC32MX460F512L) however, the linker advice mentioned in example 11 and example 12 on the application note is confusing me slightly, as it says the app flash end address need to be at the end of the total area.. you can see where im struggling, especially with the definition of kseg0, kseg1 and other parts.
This also needs to generate an app linker script ( i assume) to know where to map the application? not sure.
Any help is much appreciated.. id like to figure it all out as opposed to just getting an answer as i can imagine this being needed for future processors and projects!
Many thanks in advance
Useful Files:
AN1388
PIC32MX460F512L