Re: AVRStudio4

uguess_at_nowhere.net
Date: 08/02/04


Date: Mon, 02 Aug 2004 06:06:03 GMT

On Thu, 29 Jul 2004 20:54:49 -0500, Jack Klein <jackklein@spamcop.net>
wrote:

>On Thu, 29 Jul 2004 04:00:05 GMT, uguess@nowhere.net wrote in
>comp.arch.embedded:
>
>> I am using the AVRStudio4 to create .hex files, but I find that it is
>> inserting code before the object I am trying to create. I used
>> AVRStudio once before, but an earlier version and had great results
>> programming with my current setup. However, the old version that
>> worked has been lost. When I try to export, I have to use CVAVR and
>> go into terminal mode. The files created by the new studio fail to
>> complete a programming of a chip, and files created by the old system
>> load fine. What I have found is that the new version inserts
>> :020000020000FC
>> at the beginning of every .hex file, and this makes my programmer
>> puke. I presume the programmers Atmel intended to drive use this
>> initial code to set up for some common purpose, which my programmer, a
>> DIY K122, also from Atmel doesnt like it. Does anyone here know a
>> setting in the new studio I need to set? I have looked at everything
>> I can find. This is the freeware version, and is not supported by
>> Atmel. TIA
>
>Can't you write a little command line program in (C, BASIC, Perl,
>whatever you like) that will copy a text file (that's all an Intel hex
>file really is) to a new file, verifying that the first line contains
>":020000020000FC", and leaving that line out of the copy?
>
>You could add it to your makefile and it would add a fraction of a
>second or so to your build.
>
>Sometimes the simplest solution, especially if you are a programmer,
>is to roll your own.

Too true. I just felt their was some option I had not yet visited to
change. Up to now, I have just used notepad to strip out the
offending line, and resaved it. It's really just a nuisance more than
anything else.



Relevant Pages

  • Re: AVRStudio4
    ... > inserting code before the object I am trying to create. ... > at the beginning of every .hex file, and this makes my programmer ... I presume the programmers Atmel intended to drive use this ...
    (comp.arch.embedded)
  • Re: AVRStudio4
    ... >>inserting code before the object I am trying to create. ... The files created by the new studio fail to ... >>at the beginning of every .hex file, and this makes my programmer ... I presume the programmers Atmel intended to drive use this ...
    (comp.arch.embedded)
  • Re: 16F628 programming help
    ... On Sep 17, 8:35 pm, "petrus bitbyter" ... programmer without a Error reading HEX file message. ... Does the format of the HEX-file corresponds to the format your programmer ...
    (sci.electronics.design)
  • Re: 16F628 programming help
    ... On Sep 17, 8:35 pm, "petrus bitbyter" ... programmer without a Error reading HEX file message. ... check by removing it. ...
    (sci.electronics.design)
  • Re: Split HEX files..
    ... I have an hex file and i need to split it in low bytes and high ... My eprom programmer just don't handle this function.I have ... There's a freebie utility called SPLIT2.exe at ...
    (sci.electronics.repair)