cancel
Showing results for 
Search instead for 
Did you mean: 

How to create .hex file

saran raj
Associate III
Posted on October 12, 2017 at 16:22

How to create .hex file in stvd ?

8 REPLIES 8
Posted on October 12, 2017 at 17:18

Manual says to use OBSEND

http://www.st.com/content/ccc/resource/technical/document/user_manual/b8/61/d0/68/83/82/4f/2b/CD00056470.pdf/files/CD00056470.pdf/jcr:content/translations/en.CD00056470.pdf

 
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
S.Ma
Principal
Posted on October 12, 2017 at 18:14

Usually, in the project setting there is a linker or output formatter option. There you have a place to generate for example a MAP file (text file which describe the chosen addresses for the code and data), HEX or S19 or BIN file.

Posted on October 13, 2017 at 07:21

0690X00000608GrQAI.png

in that dialog box there is no option to change map file to hex file?

Posted on October 13, 2017 at 07:24

Ho to invoke obsend in stvd settings... Can you please give  some example other than in that document.?

Posted on October 13, 2017 at 16:42

Go under Category General, and check other options

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on October 13, 2017 at 17:05

0690X00000608bxQAA.png

In general option, what can i do?

Posted on October 13, 2017 at 17:18

Dig around a bit, and review available documentation, these aren't my tools..

Cosmic has a CHEX tool for STM8 parts, see if you can use that. Check options for CLNK, add 'User Defined Options' if required. Review other example projects, likely to be at least one that generates .S19 or .HEX files.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on October 13, 2017 at 17:24

I am using stvd developer for stm8 and cosmic compiler for that.