How to generate .hex file from HighTec IDE and flash it for permanent use ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User20509
Level 1
Level 1
First like received
Hello friends,
I am using the SAK-TC387QP target board for an internal project.
I am unable to flash the program permanently. I can only use it for debugging purposes.
Now I want to flash the code permanently in my target board and make it run for all time.

Any help will be appreciated.

Thanks in advance.

4730.attach
2 Replies
teoBits
Employee
Employee
5 sign-ins 100 replies posted 50 replies posted
Hello,

You need to change the linker file to target flash memory instead of SRAM.
Otherwise, you can use the AURIX Development Studio (it is completely free!) to develop your project, where by default the projects are stored in the flash memory of the device, making them "permanent".

You can download it here: AURIX™ Development Studio and get inspired by numerous Trainings from here: AURIX™ Trainings.

If you are not familiar with Eclipse based IDE’s checkout the Getting Started guide!

Hope it helps,
teoBits
0 Likes
Epistemon
Level 2
Level 2
5 replies posted First like received First reply posted
Right-click the project, Build Configurations -> Set Active -> iROM.

Rebuild and you'll get a hex file to flash.