Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Communication problems with ATTINY15 and Parallel ISP progr

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive
View previous topic :: View next topic  
Author Message
mike676

Bascom Member



Joined: 29 Mar 2005
Posts: 4

PostPosted: Tue Mar 29, 2005 1:29 am    Post subject: Communication problems with ATTINY15 and Parallel ISP progr Reply with quote

I mounted the famous ISP programmer with a 74HC244 but I have hard times making it work !!!
It never recognize the AVR chip and every times I program something inside readback always have errors.
Only zeros are there ! Crying or Very sad
Does anybody uses that programmer and can tell me how to setup Bascom for it ?
Very Happy
Thanks !
Back to top
View user's profile
Calv

Bascom Member



Joined: 08 Dec 2004
Posts: 26

netherlands.gif
PostPosted: Wed Mar 30, 2005 9:26 pm    Post subject: Reply with quote

Try this:

open file: Prog

add:

[our programmer]
base=$378
mosi=base,32
clock=base,16
reset=base,128
miso=base+1,64


save file
restart Bascom

make choice programmer: "Universal MCS interface"
goto "Universal"
make choice: "our programmer"

save
restart Bascom

Good luck, worked fine with me.

_________________
www.dena.demon.nl
www.dena.demon.nl/balansbot.html
Back to top
View user's profile Visit poster's website
mike676

Bascom Member



Joined: 29 Mar 2005
Posts: 4

PostPosted: Thu Mar 31, 2005 2:51 am    Post subject: Reply with quote

Heuhhh...
I beleive you talk about prog.ini file under C:\Programfiles\MCS Electronic\BascomAVR.
I did add these few lines to the beginning of the file, save restarted bascom but the choice "our programmer" was not there.
I tried at the end of file, neither....
Is there something I missed ???

Thanks ! Rolling Eyes
Back to top
View user's profile
DToolan

Bascom Member



Joined: 14 Aug 2004
Posts: 1384
Location: Dallas / Fort Worth, Texas (USA)

blank.gif
PostPosted: Thu Mar 31, 2005 2:53 am    Post subject: Reply with quote

There is a file in the Bascom directory named "prog.settings"

I think that's the file he is talking about. Edit it with notepad.
Back to top
View user's profile Yahoo Messenger
mike676

Bascom Member



Joined: 29 Mar 2005
Posts: 4

PostPosted: Thu Mar 31, 2005 3:16 am    Post subject: Reply with quote

OK, I did that.
It works better I guess, but the major problem is:
I can't write a program into the ATTINY15L.
Reading memory always returns all zeros...
If I clic the "AutoProgram Chip" Button, nothing happens...
If I use the "Write buffer to flash ROM" it's ok if there all zeros into buffer.
But if there is a byte different than zero, it stuks to "writing..." but never writes. Until I hit the Cancel button, the verification fails because it never wrote a single byte !!
Question
Back to top
View user's profile
Luciano

Bascom Member



Joined: 29 Nov 2004
Posts: 3149
Location: Italy

blank.gif
PostPosted: Thu Mar 31, 2005 8:56 am    Post subject: Reply with quote

Hi!

Which version of Bascom AVR are you using?

Did you test with AT90S2313, AT90S8515 or AT90S8535?

Did you have a previous version of Bascom AVR installed on this PC?
(If yes, which one).

Luciano
Back to top
View user's profile
mike676

Bascom Member



Joined: 29 Mar 2005
Posts: 4

PostPosted: Fri Apr 01, 2005 2:34 am    Post subject: Reply with quote

Bascom ver# 1.11.7.4
no I use a ATTINY15L
no previous Bascom Version
Back to top
View user's profile
Luciano

Bascom Member



Joined: 29 Nov 2004
Posts: 3149
Location: Italy

blank.gif
PostPosted: Fri Apr 01, 2005 11:42 am    Post subject: Reply with quote

Hi!

These are just troubleshooting ideas.
(Never used a ATtiny15L and never used your programmer).

* * *

If your hardware does not work with the Bascom AVR ISP STK programmer
software then double check your hardware with the following software:

PonyProg serial device programmer software.
(Support for the AVR ATtiny microcontroller ATtiny12, ATtiny15).
http://www.lancos.com/prog.html

PonyProg works with the hardware interfaces AVR ISP (STK200/300).
http://www.lancos.com/prog.html#avrisp

* * *

Try your programmer with an AT90S2313, AT90S8515 or AT90S8535.

* * *

Read the ATtiny15L datasheet page 54 "Memory programming".

* * *

(Not related with programming the flash program memory of the ATtiny15).

Are you aware that the ATtiny15 does not have SRAM and
BASCOM depends on SRAM for the hardware stack and software stack?
(See Bascom help file "$TINY" directive).

* * *

Best regards,

Luciano
Back to top
View user's profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive 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