Ik wil eindelijk eens beginnen met avr.
Wat is volgens jullie de beste manier om aan een goede goedkope ISP progger te komen?
Ik dacht de AVR 910 maar zou iemand mij dan aan een geprogrammeerde 90S1200 kunnen helpen of aan de nieuwere 90S2313 versie(met het juiste schema en layout(bmp))(Via post of in de buurt van Mol België)
Waar zit het verschil tss die twee versies? Zijn er beperkingen?

Als ik me niet vergis kan ik dan in bascom een prog schrijven en assembleren en deze dan met een ander programma (avr studio; ponyprog)flashen.

of is de laatst in elektuur beschreven USB progger een betere keuze???
of zijn er nog andere, betere opties????

alvast bedankt

met baskom avr demo kan je wel slechts 2kb proggen maar voor een at90s2313 is dit voldoende (heeft zelf ook maar 2 kb geheugen )
ik heb zelf zo'n controllerbord dat je kan proggen via de parallele poort .
zo'n bord is wel wat duur en zeker als je enkel een geprogde controller nodig hebt maar ik ben nu ook uit t schema aan t proberen afleiden welke delen overbodig zijn en zo een kleine programmeerbare print maken.
als je wil kan ik het schema doorsturen maar de verbindingen in de link-kabel heb ik niet direct bij de hand (ik kan natuurlijk de mijne opendoen mr betweifel of hij dan nog past)

AT90S2313 heeft maar 1 Kbyte geheugen! Daarom is het een hele leuke microcontroller om met de sharewareversie van Bascom te gebruiken (die kan tot 1Kbyte programmeren en dat is dus net voldoende).
Ik heb zelf gewoon een programmer en een bordje gebouwd. Op de site van ponyprog (ff googlen, meen dat de maker iets van lancos heet) staan een aantal programmers. ik heb de STK200 programmer gebouwd en dat ding werkt uitstekend!

[Edit:] De AT90S2313 heeft wel degelijk 2kB flash hoor!!!
(Jij bedoelt de AT90S1200)

AT90S1200 is een soort van voorloper op de 2313.
ISP is zelf gemakkelijk te maken, kijk maar op de ponyprog website.

[Bericht gewijzigd door Sjaak Boomschaak op ]

AT90S2313 heeft inderdaad 2k flash, maar de instructies zijn 16bit lang zodat men eigelijk maar 1k kan gebruiken.

dit heb ik rechtstreeks overgenomen uit de <Help file van BASCOM. ik werk er zelf ook mee en het is het schema van een 5aderige kabel van je printerpoort naar de printplaat waar je controler op ge monteerd zit(In System Programmer)

:

Sample Electronics submitted the simple cable programmer.
They produce professional programmers too. This simple programmer you can make yourself within 10 minutes.

What you need is a DB25 centronics male connector, a flat cable and a connector that can be connected to the target MCU board.

The connections to make are as following:

DB25 pin Target MCU pin(AT90S8535) Target MCU
M103 Target MCU pin 8515 DT104
2, D0 MOSI, pin 6 PE.1, 3 MOSI, 6 J5, pin 4
4, D2 RESET, pin 9 RESET, 20 RESET, 9 J5, pin 8
5, D3 CLOCK, pin 8 PB.1,11 CLOCK, 8 J5, pin 6
11, BUSY MISO, pin 7 PE.0, 2 MISO, 7 J5, pin 5
18-25,GND GROUND GROUND GND,20 J5, pin 1
The MCU pin numbers are shown for an 8535! And 8515

Note that 18-25 means pins 18,19,20,21,22,23,24 and 25
You can use a small resistor of 100-220 ohm in series with the D0, D2 and D3 line in order not to short circuit your LPT port in the event the MCU pins are high.
But it was tested without these resistors and my PC still works :-)

Tip : when testing programmers etc. on the LPT it is best to buy an I/O card for your PC that has a LPT port. This way you don’t destroy your LPT port that is on the motherboard in the event you make a mistake!

The following picture shows the connections to make. Both a setup for the DT104 and stand-alone PCB are shown.

I received the following useful information:

Hi Mark,

I have been having spurious success with the simple cable programmer from
Sample Electronics for the AVR series.

After resorting to hooking up the CRO I have figured it out (I think). When
trying to identify the chip, no response on the MISO pin indicates that the
Programming Enable command has not been correctly received by the target.
The SCK line Mark/Space times were okay but it looked a bit sad with a slow
rise time but a rapid fall time. So I initially tried to improve the rise

time with a pull-up. No change ie still could not identify chip. I was about
to add some buffers when I came across an Atmel app note for their serial
programmer

"During this first phase of the programming cycle, keeping the SCK line
free from pulses is critical, as pulses will cause the target AVR to loose
synchronization with the programmer. When synchronization is lost, the only
means of regaining synchronization is to release the RESET line for more
than 100ms."

I have added a 100pF cap from SCK to GND and works first time every time
now. The SCK rise time is still sad but there must have been enough noise
to corrupt the initial command despite using a 600mm shielded cable.

This may be useful to your users.

Regards,

Mark Hayne

Op 21 juni 2004 17:16:00 schreef stefan haesen:
Ik wil eindelijk eens beginnen met avr.
Wat is volgens jullie de beste manier om aan een goede goedkope ISP progger te komen?
Ik dacht de AVR 910 maar zou iemand mij dan aan een geprogrammeerde 90S1200 kunnen helpen of aan de nieuwere 90S2313 versie(met het juiste schema en layout(bmp))(Via post of in de buurt van Mol België)
Waar zit het verschil tss die twee versies? Zijn er beperkingen?

Als ik me niet vergis kan ik dan in bascom een prog schrijven en assembleren en deze dan met een ander programma (avr studio; ponyprog)flashen.

of is de laatst in elektuur beschreven USB progger een betere keuze???
of zijn er nog andere, betere opties????

alvast bedankt

De programmer beschreven hier op de site werkt perfect voor mij.
Je schrijft het programma in Bascom, Avrstudio,...
en je flasht met ponyprog