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

Using your method with the 1284 #2

Open
arifainchtein opened this issue Jan 28, 2020 · 0 comments
Open

Using your method with the 1284 #2

arifainchtein opened this issue Jan 28, 2020 · 0 comments
Labels

Comments

@arifainchtein
Copy link

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.
Screen Shot 2020-01-28 at 20 36 28

Any help would be very appreciated

thanks

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

No branches or pull requests

2 participants