View previous topic :: View next topic |
Author |
Message |
benner
Joined: 16 Feb 2015 Posts: 8
|
Posted: Mon Feb 16, 2015 9:07 pm Post subject: mySmartUSB MK3 & Bascom AVR |
|
|
Hi, I cant get the myavr MK3 USB programmer board to work with my Bascom AVR 2.0.7.8
Is there anybody who had used the same board and could help me getting it up running thanks :evil:
(BASCOM-AVR version : 2.0.7.8 ) |
|
Back to top |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Wed Feb 18, 2015 5:28 pm Post subject: |
|
|
Hello and welcome to the forum,
I saw the myAVR MKII proposed as a programer but not the MKIII,
Perhaps should you ask myAVR first.
JP |
|
Back to top |
|
|
benner
Joined: 16 Feb 2015 Posts: 8
|
Posted: Thu Feb 19, 2015 1:30 pm Post subject: stk500 extended |
|
|
Thanks, but it is required a programmer called STK500 extended, but i cant find it in the drop down box. |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Thu Feb 19, 2015 9:38 pm Post subject: |
|
|
when it requires stk500, you can best chose the stk500 native driver.
or use stk500 but that one requires the stk500.exe from atmel avr studio.
So simplest would be the stk500 native driver. _________________ Mark |
|
Back to top |
|
|
benner
Joined: 16 Feb 2015 Posts: 8
|
Posted: Thu Feb 19, 2015 10:44 pm Post subject: |
|
|
Thanks for the reply, but I cant identify the chip.
It looks like something is going wrong in the communication.
In the myavr documentation for setting the board up in bascom there is a menu called chip programmer, but that is no in my bascom version.
Maybe I am setting up the commucation wrong.
Im using the mysmartusb mk3 |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Thu Feb 19, 2015 10:50 pm Post subject: |
|
|
in bascom : options, programmer, programmer
otherwise, give a link to the docs. _________________ Mark |
|
Back to top |
|
|
benner
Joined: 16 Feb 2015 Posts: 8
|
|
Back to top |
|
|
benner
Joined: 16 Feb 2015 Posts: 8
|
Posted: Sat Feb 21, 2015 4:10 pm Post subject: |
|
|
I get this information |
|
Back to top |
|
|
benner
Joined: 16 Feb 2015 Posts: 8
|
Posted: Sat Feb 21, 2015 4:11 pm Post subject: |
|
|
program fail |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
|
Back to top |
|
|
benner
Joined: 16 Feb 2015 Posts: 8
|
Posted: Sat Feb 21, 2015 10:07 pm Post subject: |
|
|
I did try that several times.
thanks.... |
|
Back to top |
|
|
benner
Joined: 16 Feb 2015 Posts: 8
|
Posted: Sat Feb 21, 2015 10:53 pm Post subject: |
|
|
I got it to work with myavr progTool.
Then i can burn it with that and use bascom for the programming.
Thanks. |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Sun Feb 22, 2015 12:42 am Post subject: |
|
|
you need to set the programmer in the proper mode. do this with the button. use short presses and long presses as explained in the manual.
then you will get good communication.
only odd thing : i tested with attiny2313 and i get a signature of 4E4E4E which is not ok. I need to look further into this.
I used the mk2 short while ago without any problem. _________________ Mark |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Tue Feb 24, 2015 11:35 am Post subject: |
|
|
ok, i checked it.
first i checked myavr MK2 programmer. bascom has a special selection for that programmer which uses the 910 protocol. Just make sure to set the baud to 19200.
This one works well.
Then i checked the MK3. the best protocol to use is the stk500 protocol. But i got time outs.
I also checked the 910 mode but that does not work well.
Then i updated the firmware to the latest mySmartUSB3_V117_b1762.elf
After i selected the proper programmer using the mode button so the orange led and the green beside it light up, it worked.
But after a reset, i got time outs. After a problem even the myavrprog tool does not work anymore.
I also tried with avrdude but same problem : after a reset and using the myavrprog tool it worked, but after a reset it stopped working.
There does not seem to be any error recovery. And the programmer has no reset button.
Maybe it is a good idea to add the myavr protocol. I guess that will keep working correct. _________________ Mark |
|
Back to top |
|
|
|