Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Attiny441 / Attiny841 problem

 
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
jkm-projekt

Bascom Member



Joined: 29 Feb 2008
Posts: 8

poland.gif
PostPosted: Thu Nov 06, 2014 4:28 pm    Post subject: Attiny441 / Attiny841 problem Reply with quote

Hi, I have a latest version of Bascom AVR (2.0.7.7) and need write some kind of software for Attiny 441 like below :

'---------------------------------
$Regfile="attiny441.dat"
$Crystal=8000000
$hwstack=40
$swstack=16
$framesize=32

Config Porta.0 = Output : Porta.0 = 0 : LED Alias Porta.0

Do
Toggle LED
Waitms 500
loop
'---------------------------------

after compilation I received error : Error : 202 Line : 1 .EQU not found, probably using functions that are not supported by the selected chip [WDTCR] , in Files : D:\ .....

second problem :

when I selected attiny841.dat then I received error : DAT File: ATTINY841.DAT, not found

and it is true, not this file no MCS Bascom folders but when early made updates, I saw information : " attiny441 and attiny841 dat files added "

who know how sort this problems ?



(BASCOM-AVR version : 2.0.7.7 )
Back to top
View user's profile
JC

Bascom Member



Joined: 15 Dec 2007
Posts: 511
Location: Cleveland, OH

usa.gif
PostPosted: Thu Nov 06, 2014 10:48 pm    Post subject: Reply with quote

Interesting.

My 2077 Version does contain attiny441.dat.
It does not contain attiny841.dat.

If one switches to attiny2313a, (just as a test), the program compiles fine.

The attiny441.dat file does seem to include the Port A register definitions.
(I did not check them against the data sheet.)

I agree it is odd that it doesn't work.

You might want to send your question, with a copy of the program, to SUPPORT.

The Support Staff and Mark do not always see all of the questions that come up on the Forum itself.

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

Administrator



Joined: 09 Apr 2004
Posts: 5199
Location: Holland

blank.gif
PostPosted: Thu Nov 06, 2014 11:12 pm    Post subject: Reply with quote

from the 2077 history : - attiny441 and attiny841 dat files added. Not tested with a sample chip yet.
as usual, it is a bad idea to provide untested dat files. but as there was no sample chip (and we never got them from atmel) i had to wait for farnell which was also delayed. a customer send me a tiny441 so i could finally test it.
the 441 has a changed design so some mods were required for the compiler and the dat file as well. These are great chips with lot of hardware on board. And small and cheap!
you do need an update. just the dat files are not sufficient otherwise i would upload them.
you can contact support and ask for a beta.

_________________
Mark
Back to top
View user's profile Visit poster's website
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