Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No response on PING #31

Open
Steffeng5 opened this issue Dec 5, 2017 · 1 comment
Open

No response on PING #31

Steffeng5 opened this issue Dec 5, 2017 · 1 comment

Comments

@Steffeng5
Copy link

Steffeng5 commented Dec 5, 2017

Hi, i connected a arduino nano to a raspberry pi, uploaded the sketch via make upload

pi@raspberrypi:~/homeduino $ make upload

Arduino.mk Configuration:

  • [AUTODETECTED] CURRENT_OS = LINUX
  • [USER] ARDMK_DIR = /home/pi/homeduino/arduino-mk
  • [AUTODETECTED] ARDUINO_DIR = /usr/share/arduino
  • [AUTODETECTED] ARDUINO_VERSION = 105
  • [DEFAULT] ARCHITECTURE =
  • [DEFAULT] VENDOR = arduino
  • [DEFAULT] ARDUINO_SKETCHBOOK = /home/pi/sketchbook
  • [BUNDLED] AVR_TOOLS_DIR = /usr/share/arduino/hardware/tools/avr (in Arduino distribution)
  • [COMPUTED] ARDUINO_LIB_PATH = /usr/share/arduino/libraries (from ARDUINO_DIR)
  • [DEFAULT] ARDUINO_CORE_PATH = /usr/share/arduino/hardware/arduino//cores/arduino
  • [COMPUTED] ARDUINO_VAR_PATH = /usr/share/arduino/hardware/arduino//variants (from ARDUINO_DIR)
  • [COMPUTED] BOARDS_TXT = /usr/share/arduino/hardware/arduino//boards.txt (from ARDUINO_DIR)
  • [USER] USER_LIB_PATH = /home/pi/homeduino/libraries
  • [DEFAULT] PRE_BUILD_HOOK = pre-build-hook.sh
  • [USER] BOARD_TAG = nano328
  • [COMPUTED] OBJDIR = build-nano328 (from BOARD_TAG)
  • [DETECTED] MONITOR_BAUDRATE = 115200 (in sketch)
  • [DEFAULT] OPTIMIZATION_LEVEL = s
  • [DEFAULT] MCU_FLAG_NAME = mmcu
  • [DEFAULT] CFLAGS_STD =
  • [DEFAULT] CXXFLAGS_STD =
  • [COMPUTED] DEVICE_PATH = /dev/ttyUSB0 (from MONITOR_PORT)
  • [AUTODETECTED] Size utility: AVR-aware for enhanced output
  •                  ARDUINO_LIBS =
    
  • [USER] SerialCommand
  • [USER] RFControl
  • [USER] Keypad
  • [USER] DHTlib
  • [USER] Keypad/utility
  • [COMPUTED] BOOTLOADER_PARENT = /usr/share/arduino/hardware/arduino//bootloaders (from ARDUINO_DIR)
  • [COMPUTED] ARDMK_VERSION = 1.3.4
  • [COMPUTED] CC_VERSION = 4.9.2 (avr-gcc)

mkdir -p build-nano328
make reset
make[1]: Entering directory '/home/pi/homeduino'
/home/pi/homeduino/arduino-mk/bin/ard-reset-arduino /dev/ttyUSB0
make[1]: Leaving directory '/home/pi/homeduino'
make do_upload
make[1]: Entering directory '/home/pi/homeduino'
/usr/share/arduino/hardware/tools/avr/../avrdude -q -V -D -p atmega328p -C /usr/share/arduino/hardware/tools/avr/../avrdude.conf -c arduino -b 57600 -P /dev/ttyUSB0
-U flash:w:build-nano328/homeduino.hex:i

avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "build-nano328/homeduino.hex"
avrdude: writing flash (11942 bytes):
avrdude: 11942 bytes of flash written

avrdude: safemode: Fuses OK (E:00, H:00, L:00)

avrdude done. Thank you.

make[1]: Leaving directory '/home/pi/homeduino'

And with make monitor I get the "ready" output but if I type "PING hello" and press CTRL-Return I get no other output.

I'm on a mac with terminal connected via ssh on the raspberry. Maybe some keyboard encoding stuff? Any Ideas?

@pstradowski
Copy link

I have the same issue with a Chinese clone of Nano V3 with CH340.
Maybe a SerialCommand problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants