Need help? Ask here and someone will help
- Posts: 1
- Joined: Tue May 05, 2015 7:31 am
I was wondering how would I go connecting the RPI to the pro micro through the uart pins, I have disabled serial connection through raspi-config ,saying no to both: " Would you like a login shell to be accessible over serial?" and "Would you like the serial port hardware to be enabled?"
and I keep getting this error when trying to flash:
- pi@raspberrypi:~/Downloads/firmwares-5.8/EMUPS4 $ avrdude -p atmega32u4 -c avr109 -P ttyAMA0 -D -U flash:w:<atmega32u4.hex>:i
avrdude: ser_open(): can't open device "ttyAMA0": No such file or directory
avrdude done. Thank you.
- Posts: 5503
- Joined: Wed Jul 06, 2011 7:01 am
- Location: France
Beware, you can damage your RPi and/or your Pro Micro board if you connect them directly. Pins don't have the same voltage level. You need to shift the voltage level, using a voltage divider for example: https://gimx.fr/wiki/index.php?title=RP ... _interface
Firmware is always loaded through the micro USB port, not through the UART. A Pro Micro board with default firmware usually shows up as /dev/ttyACM0. Once programmed, this device only shows up briefly after uplugging/replugging the micro usb cable (with the UART connected), or after shorting RST to GND.