Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Bascom's innternal programmer

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

Bascom Member



Joined: 30 Apr 2009
Posts: 33

sweden.gif
PostPosted: Fri Mar 11, 2016 10:11 am    Post subject: Bascom's innternal programmer Reply with quote

Hello All
With my Olimex ISPMK2 Atmel studio5 and XP, I am able to connect to and program ATMEG8515.
When I try to do the same thing with Bascom's internal programing function I get:
"Could not identify chip with id: FFFFFF".
Does anyone have an idera on what's wrong?

By the way, With windows10 and AS7 nothing works.

/Björn Johansson
Back to top
View user's profile
olhexy

Bascom Member



Joined: 03 Apr 2011
Posts: 192
Location: Tilburg, Netherlands

netherlands.gif
PostPosted: Fri Mar 11, 2016 10:48 am    Post subject: Reply with quote

Have you already successfully installed Libusb?
There are several versions, and not all work(-ed).
See my struggle: http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=9899&start=0&postdays=0&postorder=asc&highlight=libusb and read what worked at the end.

I suppose the most recent Bascom Help gives best chances to find the correct one right away.
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Fri Mar 11, 2016 11:03 am    Post subject: Reply with quote

This is NOT a bascom issue.

you should make it to work with AVR Studio first. bascom can only communicate with the programmer if you have a good working driver(from avr studio). When that works, install libusb, see bascom help.
when your device does not work , contact olimex support.
I think i have mentioned this twice now. Shocked

_________________
Mark
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Fri Mar 11, 2016 11:15 am    Post subject: Reply with quote

To be clear : every USB devices requires a driver. Some times a driver is built into windows. But it is still a driver. Other times an external driver (sys. dll, exe) is required.
bascom does support a number of programmers with USB interface. This is done by using LIBUSB which can be used to communicate with USB devices. But this will only work when the device is working correct.
And working correct means : a proper working devices(hardware) with a proper driver. This driver is delivered by atmel in most cases.
When avr studio does not work with the device, there is no point in expecting that bascom will work. The only exception is when you install a DEVICE driver instead of a FILTER driver. But only in some cases, like USBASP.

_________________
Mark
Back to top
View user's profile Visit poster's website
bjornj

Bascom Member



Joined: 30 Apr 2009
Posts: 33

sweden.gif
PostPosted: Fri Mar 11, 2016 5:43 pm    Post subject: Reply with quote

I'm a little confused now. I explained that my setup worked with Atmel studio and olimex ispmk2.
But now I hear about AVR studio. isn't Atmel studio and AVR studio the same thing.
Perhaps I have missunderstod everything. Beg your pardon if so.
Can I have the wrong driver installed even if it functions as it should?
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Fri Mar 11, 2016 9:13 pm    Post subject: Reply with quote

About confusion : you wrote earlier
Quote:
By the way, With windows10 and AS7 nothing works.


So i have no clue if it works or not on window 10?
Anyway, avr studio = atmel studio.
So first step : make the programmer work with avr/atmel studio in windows 10. if there is a problem with that, contact atmel support and/or olimex support.
Or maybe others can help you with that.

Once it works, it will also work with libusb/bascom. if you can not get that going, drop a message.

_________________
Mark
Back to top
View user's profile Visit poster's website
bjornj

Bascom Member



Joined: 30 Apr 2009
Posts: 33

sweden.gif
PostPosted: Sat Mar 12, 2016 9:49 am    Post subject: Reply with quote

I don't want to be tedious But others who read this may have some use of it.

Forget about windows 10. With win10 the Olimex requires updating of firmware (1.17 to 1.1Cool.
Which I Cant.

The thing is that everything works very well with WinXP, Atmel studio 5, and olimexISPMK2.

Still I get "couldn't identify chipp......" from Bascom.

I shall now order a kamprog programmer hoping that "it will put me out of my misery".

Best regards
Björn Johansson
Back to top
View user's profile
Plons

Bascom Member



Joined: 24 May 2005
Posts: 435
Location: Hilversum - The Netherlands

netherlands.gif
PostPosted: Sat Mar 12, 2016 2:05 pm    Post subject: Reply with quote

MOD : Note that it is not allowed to add advertisements here without prior permission !


I decided not to "upgrade" my workPC to Win10: too many issues with drivers for various HW (and privacy, but that's a different matter)

_________________
Bascom AVR ver 2.0.8.6
Dragon-lair: http://www.aplomb.nl/TechStuff/Dragon/Dragon.html
"leef met vlag en wimpel, maar hou het simpel"
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> 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