Yahoo Groups archive

AVR-Chat

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

Message

Re: ICCAVR Vs STK-500

2004-10-11 by Sean Ryan

--- In AVR-Chat@yahoogroups.com, Dave VanHorn <dvanhorn@d...> wrote:
> 
> Resolved, sort of..
> Works ok on COM1
> 
> On Com4, it is definitely flipping the bits to the chip, but 
something's not right.
> I've used the same STK-500 through the same port with Studio, with 
no problems.
> Possibly something in the command line it passes to STK500.exe, at 
least that's my guess.
> 
> So, up and running, but EVERYTHING wants COM1 and COM2!



I get the same error..  Including on COM1 or 2..  

It seems to have originated in an update to AVR studio..  (Maybe 
4.09?)  I find myself using Avr Studio's built-in programmer to burn 
my chips, or giving the project a fake eeprom file.. (Once it fails 
to communicate the EEPROM, if successfull will program the Flash)

I've attached an example..  Here I've added a fake eeprom file so the 
flash will burn.. Without the eep, it fails on burning the flash.


---------------------------------------

"g:\Program Files\Atmel\AVR Tools\STK500\Stk500.exe" -z -dATMega169 -
ccom3

STK500 v 1.51 (C) 2000-2004 Atmel Corp.

Scanning port.. com3 STK500 detected!
Done.
Programming and Verifying EEPROM...
"g:\Program Files\Atmel\AVR
ools\STK500\Stk500.exe" -z -dATMega169 -ccom3  -e -pe -ve -
ieC:\CVSSource\AV
R\CIII\AnalogIO\AnalogIO.eep

STK500 v 1.51 (C) 2000-2004 Atmel Corp.

Scanning port.. com3 Port not present or in use by another application

STK500 not detected!Done: there are error(s). Exit code: 1
Programming and Verifying FLASH...
"g:\Program Files\Atmel\AVR
ools\STK500\Stk500.exe" -z -dATMega169 -ccom3  -pf -vf -ifIgntISO.hex

STK500 v 1.51 (C) 2000-2004 Atmel Corp.

Scanning port.. com3 STK500 detected!
Reading FLASH input file.. OK
Setting device parameters, serial programming mode ..OK
Entering programming mode.. OK
Programming FLASH using block mode..       OK
Reading FLASH using block mode..       OK
FLASH contents is equal to file.. OK
Leaving programming mode.. OK
Done.

ISP programming done.

Attachments

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.