Re: About linker and debug
2021/02/11 13:56:41
(permalink)
Thanks for reply
So, I find in the documentation ,that resource are:
1FC00_0480 -1FC00_0487
1FC00_2000 -1FC00_2FF0
and also a part of RAM 0000 -01FC
Now, comparing the 2 linker sript, i can see this:
a) in both linker ,there is in MEMORY command section:
debug_exec_mem : ORIGIN = 0xBFC02000, LENGTH = 0xFF0
This seems clear...Declare this area whit a name for debug
b) In the debug linker i find:
kseg0_program_mem (rx) : ORIGIN = 0x9D000000, LENGTH = 0x80000
and in the release :
kseg0_program_mem (rx) : ORIGIN = (0x9D000000+0x1000+0x490), LENGTH = (0x80000-(0x1000+0x490)-8) /* the last 8 byte are reserved to checksum */
This is not clear.???
Kseg0 PMem start from 9D00_0000. Why in release change ??
Same question on
kseg0_boot_mem : ORIGIN = 0x9FC00490, LENGTH = 0x970
Thanks and excuse for long question
Roberto