сердце барахлит - iBoardpro

Подключение исполнительных устройств, датчиков, контроллеров.

Модератор: immortal

Ответить
Maks_K
Сообщения: 31
Зарегистрирован: Пт мар 13, 2015 5:10 pm
Благодарил (а): 8 раз
Поблагодарили: 1 раз

сердце барахлит - iBoardpro

Сообщение Maks_K » Ср апр 01, 2015 11:45 am

Добрый день может кто подскажет
Имеется будущее сердец моего умного дома iBoardPro
(помесь atnega2560 и w5100)
Я уже скатился до элементарного - пытаюсь помигать диодом - и не вкакую :oops:
вот скетч

Код: Выделить всё

  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
  Most Arduinos have an on-board LED you can control. On the Uno and
  Leonardo, it is attached to digital pin 13. If you're unsure what
  pin the on-board LED is connected to on your Arduino model, check
  the documentation at http://arduino.cc

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin 13 as an output.
  pinMode(13, OUTPUT);
  pinMode(37, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)
        digitalWrite(37, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);              // wait for a second
  digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
      digitalWrite(37, LOW);    // turn the LED off by making the voltage LOW
  delay(500);              // wait for a second
}
Скетч нормально заливается в плату с помощью Usbaps
вот лог

Код: Выделить всё


Sketch uses 1 536 bytes (0%) of program storage space. Maximum is 258 048 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 8 183 bytes for local variables. Maximum is 8 192 bytes.
C:\arduino-1.6.1/hardware/tools/avr/bin/avrdude -CC:\arduino-1.6.1/hardware/tools/avr/etc/avrdude.conf -v -patmega2560 -cusbasp -Pusb -Uflash:w:C:\Users\Mk\AppData\Local\Temp\build8103354451921061320.tmp/Blink-iBoradPro.cpp.hex:i 

avrdude: Version 6.0.1, compiled on Jan 15 2015 at 16:58:43
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\arduino-1.6.1/hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : usbasp
         AVR Part                      : ATmega2560
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
           flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : usbasp
         Description     : USBasp, http://www.fischl.de/usbasp/

avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9801
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "C:\Users\Mk\AppData\Local\Temp\build8103354451921061320.tmp/Blink-iBoradPro.cpp.hex"
avrdude: writing flash (1536 bytes):

Writing | ################################################## | 100% 1.02s

avrdude: 1536 bytes of flash written
avrdude: verifying flash memory against C:\Users\Mk\AppData\Local\Temp\build8103354451921061320.tmp/Blink-iBoradPro.cpp.hex:
avrdude: load data flash data from input file C:\Users\Mk\AppData\Local\Temp\build8103354451921061320.tmp/Blink-iBoradPro.cpp.hex:
avrdude: input file C:\Users\Mk\AppData\Local\Temp\build8103354451921061320.tmp/Blink-iBoradPro.cpp.hex contains 1536 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.87s

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

avrdude done.  Thank you. 
нашел три разных bootloader все одно и тоже
как заставить ее работать ?????????
:(
Добро торжествует, зло действует
aritkon
Сообщения: 1
Зарегистрирован: Сб апр 04, 2015 12:08 pm
Благодарил (а): 0
Поблагодарили: 0

Re: сердце барахлит - iBoardpro

Сообщение aritkon » Сб апр 04, 2015 4:50 pm

Я без понятия :(
------------
http://www.ecosir.ru/
Аватара пользователя
savenko_egor
Сообщения: 705
Зарегистрирован: Вс авг 03, 2014 8:17 pm
Откуда: Украина, Запорожье
Благодарил (а): 108 раз
Поблагодарили: 147 раз
Контактная информация:

Re: сердце барахлит - iBoardpro

Сообщение savenko_egor » Сб апр 04, 2015 6:56 pm

А delay пробовали сделать в 1000?
Ответить