2003-08-26 12:41 AM
2003-08-25 10:27 AM
Hi,
I would like to make an HEX file out of my program, so i would be able to burn it using the inDart's DataBlaze programmer. My app is fully writen in C-Cosmic, and i'm using the inDart enviorment. Does anyone knows how to do it? Thanks.[ This message was edited by: Itamar on 25-08-2003 22:57 ]2003-08-25 10:06 PM
Hi
I hope you are able to generate .st7 or some other temporary file using compiler and linker. Cosmic compiler has 2 executables for conversion cvdwarf.exe and chex.exe 1. Now generate x.elf using cvdwarf x.st7 2.and using x.elf generate x.s19 ny calling chex x.elf Append these two steps in your makefile Hope this helps Regards, PraveenG2003-08-25 10:11 PM
Thanks,
I have generated those 2 files, but the DataBlaze needs a *.hex file... what do i do in order to produce it? itamar2003-08-25 10:19 PM
Hi,
You need to change the format of the file to Motorola S19. on the Load File to Code Buffer Screen, change the format from the default Intel-Hex to Motorola S-Rec regards, Simon2003-08-25 10:45 PM
hi,
I'm using the inDart enviroment.. not the CXST7.. so i dont have the format screen.. is there any flag i can cjhange in my Link file? thanks2003-08-26 12:17 AM
Use chex as above but with the following options.
chex -fi file.st7 this will generate a intel hex file or chex -fm file.st7 will generate a s19 file (default). this needs to be added to your makefile or build batch file. Hope this helps SJO2003-08-26 12:23 AM
Hi Itamar,
Remember that DataBlaze accepts .hex, .s19 and .bin files. Therefore if you have generated a .s19, as PraveenG suggested you, you can load it. Cheers, Nicola2003-08-26 12:41 AM
Thanks u All
Have a nice day Itamar