Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

multiple reprogramming of bootloaded chip

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

Bascom Member



Joined: 11 Jul 2011
Posts: 79
Location: United States

usa.gif
PostPosted: Wed May 13, 2020 9:35 pm    Post subject: multiple reprogramming of bootloaded chip Reply with quote

I need help getting my bootloader to work more than once.

I program my bootloader into ATMega2561 with JTAG programmer, put main program hex on SD card, then reboot microcontroller.
It self-programs and then boots up the main program. All good.
However, it won't do that again. Subsequent reboots are not booting to the bootloader.
Please help! Thanks!

bootloader code attached.

(BASCOM-AVR version : 2081 , Latest : 2.0.8.2 )
Back to top
View user's profile AIM Address
jeremywilson

Bascom Member



Joined: 11 Jul 2011
Posts: 79
Location: United States

usa.gif
PostPosted: Wed May 13, 2020 11:42 pm    Post subject: Reply with quote

solved.
BOOTRST fuse wasn't set.
Back to top
View user's profile AIM Address
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR 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