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

how to merge hex appoint address #73

Open
JustQY opened this issue Jul 8, 2024 · 1 comment
Open

how to merge hex appoint address #73

JustQY opened this issue Jul 8, 2024 · 1 comment

Comments

@JustQY
Copy link

JustQY commented Jul 8, 2024

i have 2 hex file,1.hex,2.hex(start address 0x8000)
now i want merge 2.hex to 1.hex to appoint address ,i use the command below

srec_cat 1.hex -Intel 2.hex -Intel -offset 0x7C0000 -o app.hex -Intel
it works ok,but the content of 2.hex start at 0x7C8000,i just want it start from 0x7C0000.
can you please tell me how to resove this?

@jtxa
Copy link
Contributor

jtxa commented Jul 8, 2024

As long as you now the addresses, simply make the offset smaller:

srec_cat 1.hex -Intel 2.hex -Intel -offset 0x7B8000 -o app.hex -Intel

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

2 participants