Board doesn't do light pattern or communicate after flashing eeprom
digital-shokunin opened this issue · 0 comments
digital-shokunin commented
What did I do wrong? The badge doesn't do anything when I reset it.
-------------------------
Arduino.mk Configuration:
- [AUTODETECTED] CURRENT_OS = LINUX
- [USER] ARDUINO_DIR = /usr/local/arduino
- [USER] ARDMK_DIR = /home/surge/workspace/CC13/Arduino-Makefile
- [AUTODETECTED] ARDUINO_VERSION = 182
- [DEFAULT] ARCHITECTURE = avr
- [DEFAULT] ARDMK_VENDOR = arduino
- [AUTODETECTED] ARDUINO_PREFERENCES_PATH = /home/surge/.arduino15/preferences.txt
- [AUTODETECTED] ARDUINO_SKETCHBOOK = /home/surge/Arduino (from arduino preferences file)
- [BUNDLED] AVR_TOOLS_DIR = /usr/local/arduino/hardware/tools/avr (in Arduino distribution)
- [COMPUTED] ARDUINO_LIB_PATH = /usr/local/arduino/libraries (from ARDUINO_DIR)
- [COMPUTED] ARDUINO_PLATFORM_LIB_PATH = /usr/local/arduino/hardware/arduino/avr/libraries (from ARDUINO_DIR)
- [COMPUTED] ARDUINO_VAR_PATH = /usr/local/arduino/hardware/arduino/avr/variants (from ARDUINO_DIR)
- [COMPUTED] BOARDS_TXT = /usr/local/arduino/hardware/arduino/avr/boards.txt (from ARDUINO_DIR)
- [USER] USER_LIB_PATH = /home/surge/workspace/CC13/libraries
- [DEFAULT] PRE_BUILD_HOOK = pre-build-hook.sh
- [USER] BOARD_SUB = atmega328
- [USER] BOARD_TAG = diecimila
- [COMPUTED] CORE = arduino (from build.core)
- [COMPUTED] VARIANT = standard (from build.variant)
- [COMPUTED] OBJDIR = build-diecimila-atmega328 (from BOARD_TAG)
- [COMPUTED] ARDUINO_CORE_PATH = /usr/local/arduino/hardware/arduino/avr/cores/arduino (from ARDUINO_DIR, BOARD_TAG and boards.txt)
- [USER] MONITOR_BAUDRATE = 115200
- [DEFAULT] OPTIMIZATION_LEVEL = s
- [DEFAULT] MCU_FLAG_NAME = mmcu
- [DEFAULT] CFLAGS_STD = -std=gnu11 -flto -fno-fat-lto-objects
- [DEFAULT] CXXFLAGS_STD = -std=gnu++11 -fno-threadsafe-statics -flto
- [COMPUTED] DEVICE_PATH = /dev/ttyUSB0 (from MONITOR_PORT)
- [DEFAULT] FORCE_MONITOR_PORT =
- [AUTODETECTED] Size utility: AVR-aware for enhanced output
-
- ARDUINO_LIBS =
- [USER] EEPROMex
- [USER] RFM69
- [USER] SPIFlash
- [USER] SerialUI
- [PLATFORM] SPI
- [COMPUTED] BOOTLOADER_PARENT = /usr/local/arduino/hardware/arduino/avr/bootloaders (from ARDUINO_DIR)
- [COMPUTED] ARDMK_VERSION = 1.5
- [COMPUTED] CC_VERSION = 4.9.2 (avr-gcc)
-------------------------
mkdir -p build-diecimila-atmega328
/usr/local/arduino/hardware/tools/avr/bin/avrdude -q -V -p atmega328p -C /usr/local/arduino/hardware/tools/avr/etc/avrdude.conf -D -c arduino -b 57600 -P /dev/ttyUSB0 \
-U eeprom:w:build-diecimila-atmega328/badge.eep:i
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "build-diecimila-atmega328/badge.eep"
avrdude: writing eeprom (0 bytes):
avrdude: 0 bytes of eeprom written
avrdude: safemode: Fuses OK (E:00, H:00, L:00)
avrdude done. Thank you.
surge@Kirabi:~/workspace/CC13/badge$ sudo make do_upload
-------------------------
Arduino.mk Configuration:
- [AUTODETECTED] CURRENT_OS = LINUX
- [USER] ARDUINO_DIR = /usr/local/arduino
- [USER] ARDMK_DIR = /home/surge/workspace/CC13/Arduino-Makefile
- [AUTODETECTED] ARDUINO_VERSION = 182
- [DEFAULT] ARCHITECTURE = avr
- [DEFAULT] ARDMK_VENDOR = arduino
- [AUTODETECTED] ARDUINO_PREFERENCES_PATH = /home/surge/.arduino15/preferences.txt
- [AUTODETECTED] ARDUINO_SKETCHBOOK = /home/surge/Arduino (from arduino preferences file)
- [BUNDLED] AVR_TOOLS_DIR = /usr/local/arduino/hardware/tools/avr (in Arduino distribution)
- [COMPUTED] ARDUINO_LIB_PATH = /usr/local/arduino/libraries (from ARDUINO_DIR)
- [COMPUTED] ARDUINO_PLATFORM_LIB_PATH = /usr/local/arduino/hardware/arduino/avr/libraries (from ARDUINO_DIR)
- [COMPUTED] ARDUINO_VAR_PATH = /usr/local/arduino/hardware/arduino/avr/variants (from ARDUINO_DIR)
- [COMPUTED] BOARDS_TXT = /usr/local/arduino/hardware/arduino/avr/boards.txt (from ARDUINO_DIR)
- [USER] USER_LIB_PATH = /home/surge/workspace/CC13/libraries
- [DEFAULT] PRE_BUILD_HOOK = pre-build-hook.sh
- [USER] BOARD_SUB = atmega328
- [USER] BOARD_TAG = diecimila
- [COMPUTED] CORE = arduino (from build.core)
- [COMPUTED] VARIANT = standard (from build.variant)
- [COMPUTED] OBJDIR = build-diecimila-atmega328 (from BOARD_TAG)
- [COMPUTED] ARDUINO_CORE_PATH = /usr/local/arduino/hardware/arduino/avr/cores/arduino (from ARDUINO_DIR, BOARD_TAG and boards.txt)
- [USER] MONITOR_BAUDRATE = 115200
- [DEFAULT] OPTIMIZATION_LEVEL = s
- [DEFAULT] MCU_FLAG_NAME = mmcu
- [DEFAULT] CFLAGS_STD = -std=gnu11 -flto -fno-fat-lto-objects
- [DEFAULT] CXXFLAGS_STD = -std=gnu++11 -fno-threadsafe-statics -flto
- [COMPUTED] DEVICE_PATH = /dev/ttyUSB0 (from MONITOR_PORT)
- [DEFAULT] FORCE_MONITOR_PORT =
- [AUTODETECTED] Size utility: AVR-aware for enhanced output
-
- ARDUINO_LIBS =
- [USER] EEPROMex
- [USER] RFM69
- [USER] SPIFlash
- [USER] SerialUI
- [PLATFORM] SPI
- [COMPUTED] BOOTLOADER_PARENT = /usr/local/arduino/hardware/arduino/avr/bootloaders (from ARDUINO_DIR)
- [COMPUTED] ARDMK_VERSION = 1.5
- [COMPUTED] CC_VERSION = 4.9.2 (avr-gcc)
-------------------------
/usr/local/arduino/hardware/tools/avr/bin/avrdude -q -V -p atmega328p -C /usr/local/arduino/hardware/tools/avr/etc/avrdude.conf -D -c arduino -b 57600 -P /dev/ttyUSB0 \
-U flash:w:build-diecimila-atmega328/badge.hex:i
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "build-diecimila-atmega328/badge.hex"
avrdude: writing flash (23112 bytes):
avrdude: 23112 bytes of flash written
avrdude: safemode: Fuses OK (E:00, H:00, L:00)
avrdude done. Thank you.