Diamex Programmer auf neuer Arduino IDE 2.x

Gast #7314460
Lesenswert?

Hallo, hat den Diamex Stick schon jemand zum Laufen gebracht? eine programmers.txt gibt es nicht mehr und auch sonst sieht die neue IDE aus wie Visual Studio. Keine Ahnung wie man den Stick da einbinden soll für ISP programmierung.

Meine alte Config in der 1.8er IDE

diamexavr.name=DIAMEX-AVR diamexavr.communication=serial diamexavr.protocol=stk500v2 diamexavr.speed=19200 diamexavr.program.tool=avrdude diamexavr.program.extra_params=-P{serial.port} -b{program.speed} diamexavr.program.speed=19200 diamexavr.program.protocol=stk500v2

gruss, Thorsten

Gast #7314568
Lesenswert?

Ok, ich schreibs mal drunter:

Die neue 2.x scheint die Datenbasis der alten zu verwenden in AppData, einem versteckten Ordner. Änderungen in Local/Arduino15 bewirken, dass diese übernommen werden, also auch die in programmers.txt, die es für jede Hardware gibt.

Seltsamerweise taucht mein Diamex bei "Arduino pro Mini" Boards auf aber nicht bei Arduino Uno, obwohl die gleiche CPU drin ist. Die Lösung war den AVR ISP mkII umzuschreiben, von usb auf serial, dann muss man ihn anwählen und der Diamex läuft damit auch.

avrdude: 924 bytes of flash written avrdude: verifying flash memory against C:\Users\Thorsten\AppData\Local\Temp\arduino-sketch-014CB50A9BBD128E78A2B5D86D453AD3/Blink.ino.hex: avrdude: load data flash data from input file C:\Users\Thorsten\AppData\Local\Temp\arduino-sketch-014CB50A9BBD128E78A2B5D86D453AD3/Blink.ino.hex: avrdude: input file C:\Users\Thorsten\AppData\Local\Temp\arduino-sketch-014CB50A9BBD128E78A2B5D86D453AD3/Blink.ino.hex contains 924 bytes avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.20s

avrdude: verifying ... avrdude: 924 bytes of flash verified

avrdude done. Thank you.

Gast #7314574
Lesenswert?

Kaj schrieb:

Warum rufst du avrdude nicht selbst auf, z.B. über ein Makefile?

Bin ich zu blöde für...

AVR Uploader/Programmers tools

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

tools.avrdude.path={runtime.tools.avrdude.path} tools.avrdude.cmd.path={path}/bin/avrdude tools.avrdude.config.path={path}/etc/avrdude.conf

tools.avrdude.upload.params.verbose=-v tools.avrdude.upload.params.quiet=-q -q tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} -p{build.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} -D "-Uflash:w:{build.path}/{build.project_name}.hex:i"

tools.avrdude.program.params.verbose=-v tools.avrdude.program.params.quiet=-q -q tools.avrdude.program.pattern="{cmd.path}" "-C{config.path}" {program.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{build.path}/{build.project_name}.hex:i"

tools.avrdude.erase.params.verbose=-v tools.avrdude.erase.params.quiet=-q -q tools.avrdude.erase.pattern="{cmd.path}" "-C{config.path}" {erase.verbose} -p{build.mcu} -c{protocol} {program.extra_params} -e -Ulock:w:{bootloader.unlock_bits}:m -Uefuse:w:{bootloader.extended_fuses}:m -Uhfuse:w:{bootloader.high_fuses}:m -Ulfuse:w:{bootloader.low_fuses}:m

tools.avrdude.bootloader.params.verbose=-v tools.avrdude.bootloader.params.quiet=-q -q tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{runtime.platform.path}/bootloaders/{bootloader.file}:i" -Ulock:w:{bootloader.lock_bits}:m

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren