Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

rom or hex when what to use?

rom or hex when what to use?

2005-08-13 by Laurinyecz Zoltán

Hi to all,
I'm running a kind of equipment for data acquisition at my company. I also repair them when it is necessary. They involves in two kind of processor (Mega128 and AT90S4433) I have all the firmwares of processors of course to upload them after replacing faulty processors. I have "filename.rom" for Mega128 and "filename.hex" for AT90S4433
My question is: What's the difference between files ended .rom and .hex I know that the xxx.rom is a binary file and the xxx.hex is an ASCII It's also known that there are strict rules to assemble these files. But what are the rules that when to use .rom and when to use .hex. Let suppose that both file format can be compiled with the compiler and both file format can be burned with the programmer.
bye:lauri

Re: [AVR-Chat] rom or hex when what to use?

2005-08-14 by John Samperi

At 07:00 AM 14/08/2005, you wrote:
>     My question is: What's the difference between files ended .rom and .hex

It is probably that the files were compiled/assembled with
different tools and they have different default outputs.
For instance with Studio you can select the type of output
file you get when you assemble your code.


Regards

John Samperi

******************************************************
                         Ampertronics Pty. Ltd.
   11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
          Tel. (02) 9674-6495       Fax (02) 9674-8745
                Email: samperi@ampertronics.com.au
                  Website  http://www.ampertronics.com.au
* Electronic Design   * Custom Products   * Contract Assembly
******************************************************

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.