I’m a Windows app developer and now I have to take on HC08 firmware after the previous developer has quit. My problem is that I don’t understand memory mapping. I can see in the .map file how linker puts various functions/variables into the sections defined in .prm file and those sections match CPU’s memory map. But where is it defined where every particular function or variable will be placed by the linker? Then, there is .text or .rodata sections not defined in .prm file – what are those?
Please advise of any learning resources I can use that’d address my ignorance.