View previous topic :: View next topic |
Author |
Message |
gmcge
Joined: 16 Mar 2007 Posts: 9
|
Posted: Tue Mar 28, 2017 3:54 am Post subject: Programming Adafruit Feather 32u4 Adalogger |
|
|
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 |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Tue Mar 28, 2017 9:02 am Post subject: |
|
|
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 |
|
|
Evert :-)
Joined: 18 Feb 2005 Posts: 2156
|
Posted: Tue Mar 28, 2017 9:11 pm Post subject: |
|
|
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 |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Tue Mar 28, 2017 9:16 pm Post subject: |
|
|
bascom also support the AVR910 protocol. select the myAVR MK2 / AVR910 prgorammer in that case. _________________ Mark |
|
Back to top |
|
|
Evert :-)
Joined: 18 Feb 2005 Posts: 2156
|
Posted: Tue Mar 28, 2017 9:40 pm Post subject: |
|
|
AVR910 is not AVR109.
Looks the same, but the numbers are in a different order _________________ www.evertdekker.com Bascom code vault |
|
Back to top |
|
|
gmcge
Joined: 16 Mar 2007 Posts: 9
|
Posted: Wed Mar 29, 2017 2:20 am Post subject: |
|
|
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 |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Mar 29, 2017 9:12 am Post subject: |
|
|
Quote: | Looks the same, but the numbers are in a different order Wink |
Oeps . Missed that totally. All those years i read it as the same number. Good that somebody is awake
But nice that it works. _________________ Mark |
|
Back to top |
|
|
|