-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Have a MOT file produced by rx-obj-elf tool (part of Renesas GCC Toolchain). The MOT file has been created in Windows environment. When reading the information of the file with srec_info tool I get:
In Windows:
Format: Motorola S-Record
Header: "automation.mot"
Execution Start Address: FFE00500
Data: FF7FFFE8 - FF7FFFF3
FFE00500 - FFE5FC73
FFFFFF80 - FFFFFFFF
Linux
Format: Motorola S-Record
Header: "automation.mot"
Execution Start Address: FFE00500
Data: FF7FFFE8 - FF7FFFF3
FFE00500 - FFE5FC73
FFFFFF80 - FFFFFFFFFFFFFFFF
I'm reading the exact same MOT file both in Windows and Linux. The file is meant to be used by RX-63 microcontroller that has 2MB of flash memory. For some reason Linux doesn't understand the 32-bit end address (=0xFFFF FFFF) but gives 64-bit end address instead. The flash memory range is between 0xFFE0 0000 - 0xFFFF FFFF.
Both environments have the same version of srec_info tool:
srec_info version 1.65.0 [git hash 5844fa8]
Any ideas why this difference?
When I reduced the flash memory address range to 1MB (0xFFE0 0000 - 0xFFEF FFFF) from the linker file, the srec_info tool was able to show the information correctly also in linux environment.