Forum: Mikrocontroller und Digitale Elektronik Arduino Mega ISP -> AVR-NET-IO


von Kompi (Gast)


Lesenswert?

Hallo,

Ich würde gerne mein Pollin AVR-NET-IO Board mit Arduino MEGA as ISP 
programmieren. Geflusht wird Ethersex. Da ich die Boards nicht kaputt 
kriegen will, habe ich einiges schon durchgelesen.
Am Schluß ist rausgekommen, dass wenn sich ENC28J60 richtig verhält, 
soll es ohne Porbleme gehen.
Zusätzlich richtige wäre einen Pullup an ENC28J60 CS, aber wenn Ethersex 
die Pullups aktiviert, ist auch das gelöst.

Also Augen zu und direkt anschliessen? Oder gibt's auch sicherere 
Varianten?

Danke,
Kompi

von Stefan F. (Gast)


Lesenswert?

Was hat flashen mit dem Ethernet Controller zu tun?

Die Firmware wird über die ISP Schnittstelle in den Mikrocontroller 
geladen, und die ist beim AVR-NET-IO Board nicht doppelt belegt.

von Kompi (Gast)


Lesenswert?

Hallo Stefan,

ATMEGA-SPI und ENC28J60-SPI sind direkt an ISP angeschlossen.
http://www.pollin.de/shop/downloads/D810058B.PDF Seite 7
Hab's sogar gemessen und es stimmt:)

Kompi

von Kompi (Gast)


Lesenswert?


von Kompi (Gast)


Lesenswert?

Und die Idee: jumper 11 (J11) als Pullup an ENC28J60-CS.
Verbindung zwischen J11 und uC-PB1, J11 und GND abtrennen, Draht zwichen 
J11-mitte und ENC28J60-CS.

J11 wird sowieso nur von Pollin-Software für Firmwareupdate verwendet.

HAbt ihr bessere Idee?

von Kompi (Gast)


Lesenswert?

Da bei mir Notepad ständig Ärger macht, paste ich noch was:

AVR910: In-System Programming
http://www.atmel.com/Images/doc0943.pdf Seite 2+3

"To avoid driver contention, a series resistor should be placed on each 
of the three dedicated lines if there is a possibility that external 
circuitry could be driving these lines. The connection is shown in 
Figure 3. The value of the resistors should be chosen depending on the 
circuitry connected to the SPI bus. Note that the AVR microcontroller 
will automatically set all its I/O pins to inputs, with pull ups 
disabled, when
Reset is active.

To avoid problems, the In-System Programmer should be able to keep the 
entire Target System Reset for the duration of the programming cycle. 
The target system should never attempt to drive the three SPI lines 
while Reset is active."

Der Ardi-ISP-Programmer tut nicht, hab schon mehr mals probiert.
Damit habe ich keine Interesse weiter zu machen.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.