Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

USBASP error: program enable: no answer. 1

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

Bascom Ambassador



Joined: 30 Dec 2004
Posts: 1179
Location: Tilburg - Netherlands

netherlands.gif
PostPosted: Tue Dec 06, 2016 7:27 pm    Post subject: Check forum Reply with quote

Have you done a search in this forum? I see something about libusb and also something about a firmware upgrade.

Ben Zijlstra
Back to top
View user's profile Visit poster's website
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1257
Location: SYDNEY

australia.gif
PostPosted: Wed Dec 07, 2016 12:11 am    Post subject: Reply with quote

The clock speed setting is problematic if you have a 20Mhz crystal on the 1284P
you will have to play with the clock speeds to find which one works.
Or you can change the fuse bit and use the internal 8mhz RC while programming
then change back after programming is complete
at lower cpu clock speeds I have found it more stable.
Regards Paul
Back to top
View user's profile
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1257
Location: SYDNEY

australia.gif
PostPosted: Wed Dec 07, 2016 10:52 am    Post subject: Reply with quote

If the 1284P is new and has default fuse bits
8Mhz RC with divide by 8 set so 1Mhz clock

Note I have not used a 10K pullup on my boards with 1284P have both 40pin dip and 44pin tqfp

Regards Paul
Back to top
View user's profile
EDC

Bascom Expert



Joined: 26 Mar 2014
Posts: 1136

poland.gif
PostPosted: Wed Dec 07, 2016 12:07 pm    Post subject: Reply with quote

TopicOwner check that use version 2076.
In history.txt attached to version 2079 you can read "- usbasp programmer updated. chosen clock frequency will work. "
I dont know why someone want to use older Bascom version but then I will use some other tools to set fuse bits.
..and some of this chinese USBasp have old firmware that even not handle set CLK by software so you must reprogram it with soft from fishl.de site software.
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