Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Arduino STK500v2 not working

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-ARDUINO
View previous topic :: View next topic  
Author Message
tomik

Bascom Member



Joined: 15 Sep 2014
Posts: 2

slovenia.gif
PostPosted: Fri Aug 02, 2019 10:56 pm    Post subject: Arduino STK500v2 not working Reply with quote

Hi,
I try to program Arduino mega2560 with Arduino STK500v2 programmer. First, I write bootloader on ATmega2560 (stk500boot_v2_mega2560.hex) with external programmer USBASP - successfully.

Then I try to upload any .hex with Arduino STK500v2 programmer. I just successfully identify chip. When I click program icon, BASCOM does not respond.
My ArduinoMega2560 have mega8u2 communication chip.

Why programmer doesn't work?

(BASCOM-AVR version : 2.0.8.1 )
Back to top
View user's profile
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 847
Location: France

france.gif
PostPosted: Sat Aug 03, 2019 10:37 am    Post subject: Reply with quote

hello
the Arduino 2560 and some clone work well without any bootloader please try to store the genuine bootloader from Arduino with the arduino IDE/tools and the last item french it is "réparer la séquence d’initialisation"
then follow that https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=12472

Hope you save it
JP

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
tomik

Bascom Member



Joined: 15 Sep 2014
Posts: 2

slovenia.gif
PostPosted: Sun Aug 11, 2019 7:02 am    Post subject: Reply with quote

Thanks for the reply. Of course, if it works in the Arduino IDE, then it should work in BASCOM as well.
In the past, I wrote incorrect fuse bits with an external programmer, so an error was reported. I have now fixed and it works with the following fuse bits:

-U lfuse: w: 0xff: m -U hfuse: w: 0xd8: m -U efuse: w: 0xfd: m
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-ARDUINO All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum