Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 4071
Posted: 12:05pm 08 Sep 2014
Copy link to clipboard
Print this post
The HEX files I've met for the PIC32 have addresses for flash and boot flash at 0x1d00000 (& above) and 0x1fc00000 (& above).
However, addresses like 0x9d000000, 0x9fc00000 & 0xbfc00000 are versions of the same memory regions. I've not met them as addresses in the HEX files (in the address field, that is) but should I be handling them?
John
JTR0701 Regular Member Joined: 10/07/2013 Location: AustraliaPosts: 71
Posted: 11:18am 09 Sep 2014
Copy link to clipboard
Print this post
I've never seen anything other than physical addresses used and I cannot see how putting virtual addresses in the hex file can work. If for some reason they were in the hex file then the address will need to be ANDED with 0x1fffffff to convert it to a physical address.
Just don't think that this will happen in real life though.
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 4071