You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to use your code but it just hangs. I made a small pcb that connects the tx, rx , gnd and power and GPIO2 of the raspberry pi (the one below the 3.3v which is pin1) GPIO pins to the chip sitting on a breadboard. I set that pin in autoreset.
.
Also as a test, uploaded a bootloader and a simple program to the chip using an ftdi programmer and the arduino ide on a debian machine.
i then connected the chip to a breadboard using a minimum arduino configuration and connected it to the raspberry pi, I have verified that the raspberry pi can talk to the chip via the GPIO serial por by sending serial commands and getting the expected result. at this point, all i am missing is to be able to upload a firmware from the raspberry pi.
This is the command i use to upload when trying to upload firmware to the chip:
The code just hangs and nothing happens. However, if i open anothe terminal window and run top. it seems like autoreset is called many times. Here is a screen dump.
Any help would be very appreciated
thanks
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to use your code but it just hangs. I made a small pcb that connects the tx, rx , gnd and power and GPIO2 of the raspberry pi (the one below the 3.3v which is pin1) GPIO pins to the chip sitting on a breadboard. I set that pin in autoreset.
.
Also as a test, uploaded a bootloader and a simple program to the chip using an ftdi programmer and the arduino ide on a debian machine.
i then connected the chip to a breadboard using a minimum arduino configuration and connected it to the raspberry pi, I have verified that the raspberry pi can talk to the chip via the GPIO serial por by sending serial commands and getting the expected result. at this point, all i am missing is to be able to upload a firmware from the raspberry pi.
This is the command i use to upload when trying to upload firmware to the chip:
/usr/bin/avrdude -q -V -p atmega1284p -C /home/pi/Teleonome/tmp/MightyCore/avr/avrdude.conf -D -c arduino -b 115200 -P /dev/ttyS0 \ -U flash:w:build-1284p-16MHz_external/Arduino.hex:i
The code just hangs and nothing happens. However, if i open anothe terminal window and run top. it seems like autoreset is called many times. Here is a screen dump.
Any help would be very appreciated
thanks
The text was updated successfully, but these errors were encountered: