Is the STK200 supported in the Studio 3.22. The STK500 is supported but I do not see the STK200.
Thanks for your input.
admin's test signature
stk200 is made by kanda not atmel ...
but stk500 is made by atmel is for this reason
tha avr studion onl suporte stk500
atmel have ther mcu00100 starter kit tha is suporter as
isp prog in avr studio
You can use AStudio 3.2 to assemble and simulate your projects, just use the Atmel ISP to program the devices in the stk200..
I think my comments on the stk300 apply to this one as well.
For programming, the AVR Studio is really just going to detect the dongle. As long as the sclk, miso, mosi, etc are connected to the target chip in the correct manner, the stk serving as the platform for that connection is irrelavent.
I am having a problem and I do not know what to do. Here is a sample code
> below. What I am trying to do is press a button that is on portD, and have
> all of the LED's to come on. The board I am using is STK200. The
> code check
> out in the simulator but does not work on the SKT200 board. So what am I
> doing wrong?
> .EQU PORTB=0X18 ;Data Register PortB
> .EQU DDRB=0X17 ;Data Direction
> .EQU PORTD=0X12
> .EQU DDRD=0X11
> .EQU PIND=0X10
> .ORG 0X00
> readin: ldi r16,$00
> out DDRD,r16
> ldi r16,0b10000000
> in r17,PIND
> cp r17,r16
> breq outp
> brne readin
> outp: ldi r16,$ff
> out DDRB,r16
> ldi r16,$00
> out PORTB,r16
> jmp outp
I don't know what device you're using, but the most common case with the STK200, is the 8515. If this is the case, you must initialize your stack pointer, like this:
ldi r16, high(RAMEND)
out SPH, r16
ldi r16, low(RAMEND)
out SPL, r16
In addition to this, you must include the "8515def.inc" or similar file to get the bit and byte definitions. An alternative is to do like you've done in your code: .equ SPL=??? etc. I think the easiest way is to include the file. It's in the \appnotes folder if you've got AVR Studio.
Morten, AVR tech. support, Atmel FAE
© 2018 Microchip Technology Inc.