Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Programming Adafruit Feather 32u4 Adalogger

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

Bascom Member



Joined: 16 Mar 2007
Posts: 9

canada.gif
PostPosted: Tue Mar 28, 2017 3:54 am    Post subject: Programming Adafruit Feather 32u4 Adalogger Reply with quote

Hi,

Has anyone tried programming the above mentioned board with Bascom over the virtual comm port? I have not used the Aduino system but I assume the bootloader should communicate with the Bascom "Arduino" programmer. I am not completely sure what baud rate the bootloader operates at but other boards in that family use 57K6. It is probably something stupid I am doing.

The Adalogger shows up in the device tree on COM7.

Any help is muchly appreciated!

-Greg

(BASCOM-AVR version : 2.0.7.8 )
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5061
Location: Holland

blank.gif
PostPosted: Tue Mar 28, 2017 9:02 am    Post subject: Reply with quote

I do not know that board. You best update and then try arduino stk500 v2 programmer. at some stage they switched from stk500 to stk500v2 protocol.
It appears that every arduino has its own boot loader with different protocol.
The leonardo needed 2 different virtual com ports (one normal and one for the boot loader) and a change to 1200 baud for reset.
For these kind of boards it is simpler to use avrdude with the 'external programmer' from bascom.

_________________
Mark
Back to top
View user's profile Visit poster's website
Evert :-)

Bascom Expert



Joined: 18 Feb 2005
Posts: 2113

netherlands.gif
PostPosted: Tue Mar 28, 2017 9:11 pm    Post subject: Reply with quote

Leonardo doesn't have stk500 compatible bootloader at all.
It has an "Caterina" bootloader that's based on the LUFA CDC bootloader. The lufa bootloader speaks avr109 protocol.
Avrdude supports avr109 programmer so maybe you can try that.

_________________
www.evertdekker.com Bascom code vault
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5061
Location: Holland

blank.gif
PostPosted: Tue Mar 28, 2017 9:16 pm    Post subject: Reply with quote

bascom also support the AVR910 protocol. select the myAVR MK2 / AVR910 prgorammer in that case.
_________________
Mark
Back to top
View user's profile Visit poster's website
Evert :-)

Bascom Expert



Joined: 18 Feb 2005
Posts: 2113

netherlands.gif
PostPosted: Tue Mar 28, 2017 9:40 pm    Post subject: Reply with quote

AVR910 is not AVR109.

Looks the same, but the numbers are in a different order Wink

_________________
www.evertdekker.com Bascom code vault
Back to top
View user's profile Visit poster's website
gmcge

Bascom Member



Joined: 16 Mar 2007
Posts: 9

canada.gif
PostPosted: Wed Mar 29, 2017 2:20 am    Post subject: Reply with quote

Thanks Mark & Evert,

"myAVR MK2 / AVR910" works well. I have 5 seconds after I push the reset button on the Adafruit to initiate a "download". The bootloader comes up as COM7 (in my case) then after the 5 sec timeout, the come port falls back to COM6.

As far as 910 / 109 is concerned, they both look the same after a couple of glasses of wine ... but who is counting?

Cheers!
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5061
Location: Holland

blank.gif
PostPosted: Wed Mar 29, 2017 9:12 am    Post subject: Reply with quote

Quote:
Looks the same, but the numbers are in a different order Wink

Oeps Embarassed . Missed that totally. All those years i read it as the same number. Good that somebody is awake Very Happy

But nice that it works.

_________________
Mark
Back to top
View user's profile Visit poster's website
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