Skip to content

the unit will not program #4

Description

@seamaster101

I can compile your sample, but when i try to upload the upload fails.
I'm using this programmer: https://www.amazon.ca/DSD-TECH-Adapter-FT232RL-Compatible/dp/B07BBPX8B8
the programmer is set to 3.3V
I tried connecting the DTR to the reset line on the programmer and to the DTR line on the programmer (it has pad an the board that I pulled out for that)
in both cases the programming fails, but when the unit is powered I can see communication on the serial port:


Soil start.
success!
AHT10 acknowledged.
success!
ADC:888
ADC:894
ADC:894
BAT:1006
3.24VBAT:1006
3.24VBAT:1006
3.24VID010209 REPLY : SOIL INEDX:0 H:39.58 T:25.84 ADC:894 BAT:1006
[Set]Sleep Mode Set
[Watch dog]0


etc. etc.....
I have the board setup as Arduino UNO with processor ATmega328P
here is the error message when i try to upload code:


Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Nano, ATmega328P"

Sketch uses 23508 bytes (76%) of program storage space. Maximum is 30720 bytes.

Global variables use 1028 bytes (50%) of dynamic memory, leaving 1020 bytes for local variables. Maximum is 2048 bytes.

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x53

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x6f

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x69

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6c

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x20

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x73

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x74

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x61

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x72

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x74

An error occurred while uploading the sketch


please tell me what i'm doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions