Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 22:43 02 May 2024 Privacy Policy
Jump to

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.

Forum Index : Microcontroller and PC projects : PIC32 addresses in HEX files

Author Message
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3661
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: Australia
Posts: 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 Kingdom
Posts: 3661
Posted: 08:05pm 09 Sep 2014
Copy link to clipboard 
Print this post

Jim, thanks.

John
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024