Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SREC_INFO shows different information on windows and linux #78

Open
rouhento opened this issue Nov 29, 2024 · 0 comments
Open

SREC_INFO shows different information on windows and linux #78

rouhento opened this issue Nov 29, 2024 · 0 comments

Comments

@rouhento
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant