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 4 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Stk500 error
October 13, 2016
4:00 pm
Avatar
AK7466
Member
Forum Posts: 7
Member Since:
August 5, 2016
sp_UserOfflineSmall Offline

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.php?topic=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: 304
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
Member
Forum Posts: 7
Member Since:
August 5, 2016
sp_UserOfflineSmall Offline

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: 33

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

John: 18

RTSLVU: 15

Dan6077: 11

Member Stats:

Guest Posters: 0

Members: 80

Moderators: 0

Admins: 3

Forum Stats:

Groups: 1

Forums: 2

Topics: 58

Posts: 289

Newest Members: Geraldkix, ThomasSoogs, Angelvor, AngelaMuh, Nsneilohone

Administrators: geadmin: 5, filipealtoe: 35, Steffan: 89