diff --git a/boards.txt b/boards.txt index f94e978..721a37b 100644 --- a/boards.txt +++ b/boards.txt @@ -4,78 +4,69 @@ menu.cpu=Processor ############################################################## -mega.name=idiBus Master - -mega.vid.0=0x2341 -mega.pid.0=0x0010 -mega.vid.1=0x2341 -mega.pid.1=0x0042 -mega.vid.2=0x2A03 -mega.pid.2=0x0010 -mega.vid.3=0x2A03 -mega.pid.3=0x0042 -mega.vid.4=0x2341 -mega.pid.4=0x0210 -mega.vid.5=0x2341 -mega.pid.5=0x0242 -mega.upload_port.0.vid=0x2341 -mega.upload_port.0.pid=0x0010 -mega.upload_port.1.vid=0x2341 -mega.upload_port.1.pid=0x0042 -mega.upload_port.2.vid=0x2A03 -mega.upload_port.2.pid=0x0010 -mega.upload_port.3.vid=0x2A03 -mega.upload_port.3.pid=0x0042 -mega.upload_port.4.vid=0x2341 -mega.upload_port.4.pid=0x0210 -mega.upload_port.5.vid=0x2341 -mega.upload_port.5.pid=0x0242 -mega.upload_port.6.board=mega - -mega.upload.tool=arduino:avrdude -mega.upload.tool.default=avrdude -mega.upload.maximum_data_size=8192 - -mega.bootloader.tool=arduino:avrdude -mega.bootloader.tool.default=avrdude -mega.bootloader.low_fuses=0xFF -mega.bootloader.unlock_bits=0x3F -mega.bootloader.lock_bits=0xFF - -mega.build.f_cpu=16000000L -mega.build.variant=mega -mega.build.core=arduino:arduino +idiBus.name=idiBus MBoard5V Logic + +idiBus.vid.0=0x10C4 +idiBus.pid.0=0xEA60 + +idiBus.upload_port.0.vid=0x2341 +idiBus.upload_port.0.pid=0x0010 +idiBus.upload_port.1.vid=0x2341 +idiBus.upload_port.1.pid=0x0042 +idiBus.upload_port.2.vid=0x2A03 +idiBus.upload_port.2.pid=0x0010 +idiBus.upload_port.3.vid=0x2A03 +idiBus.upload_port.3.pid=0x0042 +idiBus.upload_port.4.vid=0x2341 +idiBus.upload_port.4.pid=0x0210 +idiBus.upload_port.5.vid=0x2341 +idiBus.upload_port.5.pid=0x0242 +idiBus.upload_port.6.board=mboard5v + +idiBus.upload.tool=arduino:avrdude +idiBus.upload.tool.default=avrdude +idiBus.upload.maximum_data_size=8192 + +idiBus.bootloader.tool=arduino:avrdude +idiBus.bootloader.tool.default=avrdude +idiBus.bootloader.low_fuses=0xFF +idiBus.bootloader.unlock_bits=0x3F +idiBus.bootloader.lock_bits=0xFF + +idiBus.build.f_cpu=16000000L +idiBus.build.variant=mboard5v +idiBus.build.core=arduino:arduino # default board may be overridden by the cpu menu -mega.build.board=AVR_MEGA2560 +idiBus.build.board=AVR_MEGA2560 -## Arduino Mega w/ ATmega2560 +## idiBus Chip 2560 ## ------------------------- -mega.menu.cpu.atmega2560=ATmega2560 (Mega 2560) +idiBus.menu.cpu.chip2560=idiBus Chip 2560 -mega.menu.cpu.atmega2560.upload.protocol=wiring -mega.menu.cpu.atmega2560.upload.maximum_size=253952 -mega.menu.cpu.atmega2560.upload.speed=115200 +idiBus.menu.cpu.chip2560.upload.protocol=wiring +idiBus.menu.cpu.chip2560.upload.maximum_size=253952 +idiBus.menu.cpu.chip2560.upload.speed=115200 -mega.menu.cpu.atmega2560.bootloader.high_fuses=0xD0 -mega.menu.cpu.atmega2560.bootloader.extended_fuses=0xFD -mega.menu.cpu.atmega2560.bootloader.file=stk500v2/stk500boot_v2_mega2560.hex +idiBus.menu.cpu.chip2560.bootloader.high_fuses=0xD0 +idiBus.menu.cpu.chip2560.bootloader.extended_fuses=0xFD +idiBus.menu.cpu.chip2560.bootloader.file=stk500v2/stk500boot_v2_mega2560.hex -mega.menu.cpu.atmega2560.build.mcu=atmega2560 -mega.menu.cpu.atmega2560.build.board=AVR_MEGA2560 +idiBus.menu.cpu.chip2560.build.mcu=atmega2560 +idiBus.menu.cpu.chip2560.build.board=AVR_MEGA2560 -## Arduino Mega w/ ATmega1280 +## idiBus Chip 1280 ## ------------------------- -mega.menu.cpu.atmega1280=ATmega1280 +idiBus.menu.cpu.chip1280=idiBus Chip 1280 -mega.menu.cpu.atmega1280.upload.protocol=arduino -mega.menu.cpu.atmega1280.upload.maximum_size=126976 -mega.menu.cpu.atmega1280.upload.speed=57600 +idiBus.menu.cpu.chip1280.upload.protocol=urclock +idiBus.menu.cpu.chip1280.upload.maximum_size=126976 +idiBus.menu.cpu.chip1280.upload.speed=57600 -mega.menu.cpu.atmega1280.bootloader.high_fuses=0xDA -mega.menu.cpu.atmega1280.bootloader.extended_fuses=0xF5 -mega.menu.cpu.atmega1280.bootloader.file=atmega/ATmegaBOOT_168_atmega1280.hex +idiBus.menu.cpu.chip1280.bootloader.high_fuses=0xDA +idiBus.menu.cpu.chip1280.bootloader.extended_fuses=0xF5 +idiBus.menu.cpu.chip1280.bootloader.file=urboot/atmega1280/urboot_atmega1280_pr_ee_ce.hex -mega.menu.cpu.atmega1280.build.mcu=atmega1280 -mega.menu.cpu.atmega1280.build.board=AVR_MEGA +idiBus.menu.cpu.chip1280.build.mcu=atmega1280 +idiBus.menu.cpu.chip1280.build.board=AVR_MEGA ############################################################## diff --git a/bootloaders/urboot/atmega1280/urboot_atmega1280_pr_ee_ce.hex b/bootloaders/urboot/atmega1280/urboot_atmega1280_pr_ee_ce.hex new file mode 100644 index 0000000..9ff0c96 --- /dev/null +++ b/bootloaders/urboot/atmega1280/urboot_atmega1280_pr_ee_ce.hex @@ -0,0 +1,28 @@ +:020000021000EC +:10FE0000112424B614BE80E081D021FE49C18EE0C9 +:10FE10007DD0E0ECF0E0B0E1B483B2E0B083B8E1D3 +:10FE2000B18311E05FD0C82F823599F475D0E0E03E +:10FE3000FEEF1BBF309719F48BB781508BBFFA953B +:10FE4000A89583E091D03097A9F78BB78111F2CFB5 +:10FE50003FC08D7FF1F453D0D82FA0E0B2E042D064 +:10FE60008D93DA13FCCF58D0C1110FC0A0E0B2E0DF +:10FE7000F999FECF1FBAF2BDE1BD8D9180BDFA9A0E +:10FE8000F99A3196DA13F4CF23C0A0E0B2E04FD054 +:10FE90001FC0C33041F433D0C82F3ED087911BD050 +:10FEA000C150E1F715C0C13071F429D0C82F34D04A +:10FEB000F999FECFF2BDE1BDF89A80B50CD031962C +:10FEC000C150B1F705C0C13511F488E01FD024D06E +:10FED0008AE801D0A7CF9091C00095FFFCCF809316 +:10FEE000C60008952F9A279A8091C00087FFFCCF03 +:10FEF00084FD15C0A8958091C6002F980895F2DF63 +:10FF0000E82FF0DFF82FEEDF8BBFECCF98E1909376 +:10FF10006000809360000895E5DF803219F088E08A +:10FF2000F5DFFFCF80EAD7CF6BBFFA01DC016A2F84 +:10FF30009F01FE3F9BB781E09807D8F483E014D07F +:10FF4000903039F4309629F48FEF8D938EEC8C93AA +:10FF5000119781E00D901D9007D03296A613FACF2D +:10FF6000F90185E001D081E187BFE89507B600FC83 +:06FF7000FDCF11240895ED +:06FFFA00022895CF673FCD +:040000031000FE00EB +:00000001FF diff --git a/package_idibus_index.json b/package_idibus_index.json index 660802c..4949041 100644 --- a/package_idibus_index.json +++ b/package_idibus_index.json @@ -7,7 +7,7 @@ "email": "office@olimp-z.ru", "platforms": [ { - "name": "idiBus Master Board", + "name": "idiBus Arduino Board", "architecture": "avr", "version": "1.0.0", "category": "idiBus", @@ -25,14 +25,61 @@ "version": "4.8.1-arduino5" }, { - "packager": "arduino", + "packager": "idiBus", "name": "avrdude", "version": "6.0.1-arduino5" } ] } ], - "tools": [] + "tools": [ + { + "name": "avrdude", + "version": "7.2-arduino.1", + "systems": [ + { + "size": "1243922", + "checksum": "SHA-256:b5b88e4f52c0edb861f5ae54acbd752f9ecd562a4db4d821ab8c276ee5696dab", + "host": "arm-linux-gnueabihf", + "archiveFileName": "avrdude_7.2-arduino.1_Linux_ARMv6.tar.gz", + "url": "http://downloads.arduino.cc/tools/avrdude_7.2-arduino.1_Linux_ARMv6.tar.gz" + }, + { + "size": "1348250", + "checksum": "SHA-256:a3862e6a38668c2688dc0822b16c3f824612cc606259b6813bc5778d36c92ba9", + "host": "aarch64-linux-gnu", + "archiveFileName": "avrdude_7.2-arduino.1_Linux_ARM64.tar.gz", + "url": "http://downloads.arduino.cc/tools/avrdude_7.2-arduino.1_Linux_ARM64.tar.gz" + }, + { + "size": "928946", + "checksum": "SHA-256:256cbde856714a18c11b4c99f6b00eed65e4208c92425fa9cfd75a5bdfb6ab09", + "host": "x86_64-apple-darwin12", + "archiveFileName": "avrdude_7.2-arduino.1_macOS_64bit.tar.gz", + "url": "http://downloads.arduino.cc/tools/avrdude_7.2-arduino.1_macOS_64bit.tar.gz" + }, + { + "size": "1256881", + "checksum": "SHA-256:25e1b568757d9a58b9663e4493ffc04b9e6d690535c9c1e6c1db7d1ecffb5eff", + "host": "x86_64-linux-gnu", + "archiveFileName": "avrdude_7.2-arduino.1_Linux_64bit.tar.gz", + "url": "http://downloads.arduino.cc/tools/avrdude_7.2-arduino.1_Linux_64bit.tar.gz" + }, + { + "size": "1252284", + "checksum": "SHA-256:86a811f6ba2bebbb717a524fcff495f0ebb146abcd15d341a10d867b8e8c83fd", + "host": "i686-linux-gnu", + "archiveFileName": "avrdude_7.2-arduino.1_Linux_32bit.tar.gz", + "url": "http://downloads.arduino.cc/tools/avrdude_7.2-arduino.1_Linux_32bit.tar.gz" + }, + { + "size": "1682746", + "checksum": "SHA-256:5536c9fcb41f4a36aa55b3711a0d74943a401261b15cc8aae2473c30ff292021", + "host": "i686-mingw32", + "archiveFileName": "avrdude_7.2-arduino.1_Windows_32bit.tar.gz", + "url": "http://downloads.arduino.cc/tools/avrdude_7.2-arduino.1_Windows_32bit.tar.gz" + } + ] } ] } \ No newline at end of file diff --git a/variants/mega/pins_arduino.h b/variants/mboard5v/pins_arduino.h similarity index 100% rename from variants/mega/pins_arduino.h rename to variants/mboard5v/pins_arduino.h