AVRStudio4

Started by July 29, 2004
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
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. -- Jack Klein Home: http://JK-Technology.Com FAQs for comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html comp.lang.c++ http://www.parashift.com/c++-faq-lite/ alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
On Thu, 29 Jul 2004 04:00:05 GMT, uguess@nowhere.net wrote:

>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
You can ask the programmers of AVR Studio in one of the forums at the Avrfreaks website, and they do support Studio. Are you aware that Studio4 uses Jtag to download the file to the devices? You can also use PonyProg from Lancos to d/load to the chip via the ISP, which works well. www.avrfreaks.net www.lancos.com
On Fri, 30 Jul 2004 18:11:59 +1000, dmm
<dmmilne_removethis_@ozemail.com.au> wrote:

>On Thu, 29 Jul 2004 04:00:05 GMT, uguess@nowhere.net wrote: > >>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 > >You can ask the programmers of AVR Studio in one of the forums >at the Avrfreaks website, and they do support Studio. Are you >aware that Studio4 uses Jtag to download the file to the devices? >You can also use PonyProg from Lancos to d/load to the chip via >the ISP, which works well. >
Thanks, I checked out avrfreaks. Good URL. I already have the chip programmer so would just as soon stick with what I have. This is really an inconvenience more than anything else, I use notepad to strip it off and re save the file. It gets the job done, but it's a bit irritating, especialy when I forget. :)
>www.avrfreaks.net >www.lancos.com >
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.
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.
On Fri, 30 Jul 2004 18:11:59 +1000, dmm
<dmmilne_removethis_@ozemail.com.au> wrote:

>On Thu, 29 Jul 2004 04:00:05 GMT, uguess@nowhere.net wrote: > >>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 > >You can ask the programmers of AVR Studio in one of the forums >at the Avrfreaks website, and they do support Studio. Are you >aware that Studio4 uses Jtag to download the file to the devices? >You can also use PonyProg from Lancos to d/load to the chip via >the ISP, which works well. >
Thanks, I checked out avrfreaks. Good URL. I already have the chip programmer so would just as soon stick with what I have. This is really an inconvenience more than anything else, I use notepad to strip it off and re save the file. It gets the job done, but it's a bit irritating, especialy when I forget. :)
>www.avrfreaks.net >www.lancos.com >
On Thu, 29 Jul 2004 04:00:05 GMT, uguess@nowhere.net wrote:

>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
You can ask the programmers of AVR Studio in one of the forums at the Avrfreaks website, and they do support Studio. Are you aware that Studio4 uses Jtag to download the file to the devices? You can also use PonyProg from Lancos to d/load to the chip via the ISP, which works well. www.avrfreaks.net www.lancos.com
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. -- Jack Klein Home: http://JK-Technology.Com FAQs for comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html comp.lang.c++ http://www.parashift.com/c++-faq-lite/ alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
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