Could you please point the offset of reset vector in the file I attached above?
80004372 is interesting. It checks the PC for whether it is running from flash or RAM, but the routine at 80004390 runs 6000 instructions before it sticks.
From a similar entry my MED17 runs 41000 instructions before returning.
I am still experimenting, but I'd consider multiple entries depending on the circumstances, but for finding cross refs I think I want to parse all the functions.