Stk500 error | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar
Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
Stk500 error
October 13, 2016
4:00 pm
Avatar
AK7466
Guest
Guests

Hi.

After compiling a program without errors, and then attempting to download it to an ATMega2560, I get the following error messages

stk500v2_setparm(): failed to set parameter 0x9e

stk500v2_command(): unknown status 0xc8

initialization failed, rc= -1

stk500v2_setparm(): failed to set parameter 0x01 ........etc.

I confirmed that the Arduino board was connected to the correct serial port.

I have previously programmed ATMega2560s without any difficulty

I have scoured the manual and FAQs etc, but have been unable to find any reference to this error, except in this Arduino forum

    https://forum.arduino.cc/index.....c=359168.0  but this seems rather inconclusive 🙁

Please could someone point me in the right direction.

Many thanks.  Regards Alan K.

October 13, 2016
5:54 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

First thing would be to Google it.  There are several hits for related errors...could be a hardware issue.

Other things to try:  Download an example sketch from the Arduino IDE to the board.  Do you get a similar error?

Download an example included with the Arduino Compatible Compiler for LabVIEW.  Do you get a similar error?

If you only get the error with the above LabVIEW code then you could post the code to see if it is an issue with it specifically.

October 18, 2016
12:58 pm
Avatar
AK7466
Guest
Guests

Thanks Stefan.

I did as you suggested and Googled it, then tried loading a minimal sketch to the board using the Arduino IDE, and got a similar result!

I bought a new ATMega2560, connected it up, and everything is working fine.

Many thanks for the help

Regards

Alan K.

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
21
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356