loading big code - avrdude stk500_recv() : programmer is not responding

Hi All,

I have an Arduino Uno board which I wish to use to program a STC 1000 device... (a PIC based Thermostat system)

The Arduino code is open source and is here GitHub - matsstaff/stc1000p: Programmable thermostat firmware and arduino based uploader for the STC-1000 thermostat

I installed IDE version 1.6.5 and then installed the Arduino drivers from the drivers directory C:\Program Files (x86)\Arduino

The PC is Windows 10 64bit.

When I go into device manager (with the Uno plugged in) and look at the properties of the driver I get

Arduino Uno (COM4)
Arduino LLC (www.arduino.cc)
15/06/2015
1.2.2.0

ok ... when I load any of the example sketches (eg blink) to the UNO then it works fine.. blink blinks...

When I try and upload the Picprog.ino file (on the link above) it,

Compiles fine.

Starts to upload ... (TX and RX led go solid on)

Then fails with this error (avrdude stk500_recv() : programmer is not responding)

I have a suspicion that there is a flow control issue The buffer filling up on the AtMega used for USB to serial on the UNO.

Can anyone help?

oh yeah ... its WINDOWS 10 PRO 64 BIT

After reading the how to use this forum, I thought I would share some of my fails to make this work.

I pulled out another UNO (clone) and tried that - same problem.
I tried using the Microsoft driver - same.
I tried installing the FTDI drivers (no - I don't know why I tried this but I did) - no connection (expected).

Then something that got me a workaround

I then edited the code to shorten the output file size - Worked.!.!.!

The code has two versions of the PIC firmware as HEX assigned to two constants (one in Fahrenheit one in Celsius). I deleted most of the constant data for the Fahrenheit version. (I wanted the Celsius version) The code compiled and uploaded. I then went on and flashed the controller with success.

So now I'm confused. If the source compiled to something that's too big to fit in the memory of the UNO would it not error? Also others are reporting that they can compile and upload with no issue.

Would someone try uploading the code onto one of their spare UNO's please to see if it works?

I don't know if I'm chasing a code issue or a driver issue. If its a driver issue I still need to resolve it.

The IDE tells you how much code is produced:

Sketch uses 22,780 bytes (70%) of program storage space. Maximum is 32,256 bytes.

How much is it in your case?
There are some older boot loader versions that have problems with code above 30k