PS4 bluetooth setup
PS4 bluetooth setup
Will a leonardo work with Linux (Pi) + Bluetooth? I've been having issues flashing the atmel32u4.hex onto a Leonardo.
Re: PS4 bluetooth setup
Hi,
I moved your post to a new topic. Please don't post in very old topics.
Could you please explain how you are trying to load the software, and what kind of issue you are having?
I moved your post to a new topic. Please don't post in very old topics.
Could you please explain how you are trying to load the software, and what kind of issue you are having?
GIMX creator
Re: PS4 bluetooth setup
Hey Matlo,
Sorry for bumping a super old post, wasn't sure about the forum etiquette. I figured it out and got everything working, and was playing Destiny 2 with Kb/M last night I was having a problem with my Leonardo, I was able to flash it via the IDE but not with AVRDude, I kept getting something like this:
I found for the Arduino that the IDE would perform a reset before programming but AVRDude was not. This may also pertain to other boards that are flashed with avrdude. I found a little script to do the reset and then wait that I modified for my purposes, this is for Mac with the Arduino IDE installed so the conf path will need to be altered for various platforms:
Hopefully this helps others in my situation. Once I had the Leonardo programmed the rest of the setup was rather straightforward.
Sorry for bumping a super old post, wasn't sure about the forum etiquette. I figured it out and got everything working, and was playing Destiny 2 with Kb/M last night I was having a problem with my Leonardo, I was able to flash it via the IDE but not with AVRDude, I kept getting something like this:
Code: Select all
Connecting to programmer: .avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_drain(): read error: Device not configured
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
Code: Select all
# find the Arduino port
ARDUINO_UPLOAD_PORT="$(find /dev/cu.usbmodem* | head -n 1)"
# reset the Arduino
stty -f "${ARDUINO_UPLOAD_PORT}" 1200
# wait for it...
while :; do
sleep 0.5
[ -c "${ARDUINO_UPLOAD_PORT}" ] && break
done
# ...upload!
avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -P"${ARDUINO_UPLOAD_PORT}" -b19200 -D -Uflash:w:./atmega32u4.hex:i
Re: PS4 bluetooth setup
I did try with gimx-loader, but I could not get it to recognize me unplugging and re-plugging the Arduino
Re: PS4 bluetooth setup
Was the Arduino board connected to the USB to UART adapter, and the USB to UART adapter connected to the computer?
GIMX creator
Re: PS4 bluetooth setup
No, it's directly connected via USB to the computer. I do not have a USB UART connected at all.