I recently designed an Arduino PCB and got it assembled from JLC as well. It consists of a ATMEGA328pu-TH and when I first got it I faced a lot of problems. Like:
1)It won't show up no where on my computer, so I flashed the bootloader on it which happened successfully using a old arduino. After that it shows up a CH340 serial device.
2) when I go ahead and try to upload code on it, it gets stuck in uploading but while trying it on a linux error I managed to get an error. The error is the following:
Warning: bMaxPacketSize0 value not passed
Warning: using bMaxPacketSize0=32
avrdude: Version 5.14-arduinodroid (Nov 15 2017)
Copyright (c) 2013-2017 Anton Smirnov
http://www.arduinodroid.info
Copyright (c) 2000-2005 Brian Dean
http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/sdk/hardware/tools/avrdude.conf"
CH340/CH341 UART bridge
Using usbfs path : /dev/bus/usb
Using bus number : 001
Using device address : 002
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: Sent: 0 [30] [20]
avrdude: Sent: 0 [30] [20]
avrdude: Sent: 0 [30] [20]
avrdude: usb_fill_buf(): usb_bulk_read() error=-7
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
Error: Problem uploading to board
**It also does some funky lighting on the TX, RX and L leds while uploading.
I am trying to upload the schematics to my file but it is saying that because I am a new user I cant upload files. I will be sending them shortly by patiently waiting for it to automatically lift.
8 posts - 4 participants