Hi,
generally it is said to split up the binary of a flash (e.g. 1MB) into two files (64k & 960k),
to load the 64k ROM file with an offset of 0x800000 and the 960k file with an offset of 0x810000.
Worked most of the time for me until now.
But, I'm wondering if it is correct to split only in two parts as I recognized the following in a dump:
ROM:00801770 calls 80h, sub_807E9A <= references to address space 0x80....
ROM:00801774 mov S0TIC, #3Eh
ROM:00801778 mov r4, word_E08A
ROM:0080177C mov r5, word_E08C
ROM:00801780 calls 0, 1342h ; 1342h <= references to address space 0x00....
ROM:00801784 mov S0EIC, #66h
When I load the 64k with no offset, there is no code at address space "0x80...." available
and if I load with an offset there is no code at "0x00...." available
Has anybody any recommendations in how many parts of which size I should separate the binary and what offsets to use when loading them?