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

Can burn .hex with Arduino Nano #5

Open
Chandler-Kluser opened this issue Oct 12, 2021 · 2 comments
Open

Can burn .hex with Arduino Nano #5

Chandler-Kluser opened this issue Oct 12, 2021 · 2 comments

Comments

@Chandler-Kluser
Copy link

I have sucessfully flashed a small blink (without bootloader) program using a LGT8f328p to flash another LGT8f328p using the specs and the wiring the instructions said to do.

Screenshot-20211012-135557.png

But I could not flash using an Arduino Nano for that, repeating the same wiring and specs I used with the LGT8f328p flasher.

I am a bit worried because I have only one LGT8f328p with me, the another one I used I picked with a friend of mine who had gently lent me but I have sent It him back.

The sketch in the repo is supposed to work in an Arduino Nano, right? Or I can only be used with a LGT8f328p acting as a flasher?

I have also selected the Arduino IDE to flash my Arduino Nano as a LGT8f328p, with the RX_SERIAL_BUFFER_SIZE set to 250, but It didn't succeed either.

The avrdude command I am using is:

avrdude -u -c stk500v1 -p m328p -P /dev/ttyUSB0 -b 19200 -B 1.5 -U flash:w:"/path_to_hex_file"

*using the LGT8f328p flasher I only replace the /dev/ttyUSB0 for /dev/ttyACM0

and It's not working only with the Arduino Nano.

@LGTMCU
Copy link
Owner

LGTMCU commented Oct 13, 2021 via email

@Chandler-Kluser
Copy link
Author

Before the shot was taken, I had already tried with the "Arduino Nano" board selected in the IDE.

About the resistor: I have tried with the LGT8f328p flasher and It worked with and without the resistor. I will try with the Arduino Nano, too.

Screenshot-20211016-140922.png
w/o resistor

Screenshot-20211016-140944.png
w/ resistor

If I solve the problem I will close this issue! Thanks in Advance

Kind Regards,

Chandler

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