Need support to generate .srec files using "Export Compiled Binaries" option #2275
Replies: 2 comments
-
Hi @abhaysbharadwaj
About adding an offset you can add a Result
If you used Arduino IDE 2 you will probably have to delete the cache as there is a bug about cache not refreshed. |
Beta Was this translation helpful? Give feedback.
-
Hi @fpistm There is an issue where the application fails to run after the offset. I am trying to figure out if it is a bootloader issue or something to do with the vectors not getting offset properly. To Elaborate what I am trying to achieve:
I am working on this. I will update things here if I am able to figure it out. |
Beta Was this translation helpful? Give feedback.
-
Describe the solution you'd like
Arduino 2.x has a cool feature when you click "Export compiled binaries", it exports .bin, .elf, .hex and .map files now. Previous 1.x IDE would give only .bin file.
I want to generate a .srec file and an option to offset the application code from the default 0x8000000 to lets sat 0x8002000. Any way I can do this from the Arduino IDE itself or by running an additional command line?
Example export files that get generated:
![image](https://private-user-images.githubusercontent.com/14924063/303394839-31b81ec8-0f37-4e55-8732-f06dfc3ca13b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1ODI4NDAsIm5iZiI6MTczOTU4MjU0MCwicGF0aCI6Ii8xNDkyNDA2My8zMDMzOTQ4MzktMzFiODFlYzgtMGYzNy00ZTU1LTg3MzItZjA2ZGZjM2NhMTNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDAxMjIyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJjYTVmODc1OWIzMmQwZDU3YWQyYjMzNjIwNWNkYWUyYmFiYzE1NjQ4NmYxY2RmODJiODVlOGIzMTdkYTdmMWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.sueHMqKJNnm8zoojurjFGU7srzq4StoEi76S0IYSqwo)
Beta Was this translation helpful? Give feedback.
All reactions