Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

2.0.7.8

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

Bascom Member



Joined: 18 Jan 2007
Posts: 7

usa.gif
PostPosted: Sat Feb 07, 2015 2:13 am    Post subject: 2.0.7.8 Reply with quote

hello, can anyone help? after updating my bascomavr to 2.0.7.8, nothing happens when i press the compile button or check syntax button.

Thanks for any help.

steve

(BASCOM-AVR version : 2.0.7.8 )
Back to top
View user's profile
snipsnip

Bascom Member



Joined: 10 Feb 2014
Posts: 74
Location: Melbourne

australia.gif
PostPosted: Sat Feb 07, 2015 6:22 am    Post subject: Reply with quote

Well this happened to me, it's stupid but I spent 15 mins trying to figure it out....

Make sure you have a bas file loaded and not one of the INC files. Embarassed


2.0.7.8 seems to like loading the last used inc file on start up and not its last saved BAS master.
could just be me, meh.
Back to top
View user's profile
revenue

Bascom Member



Joined: 18 Jan 2007
Posts: 7

usa.gif
PostPosted: Sat Feb 07, 2015 2:08 pm    Post subject: Reply with quote

Thanks for your feedback.

The file loaded is a ".bas". Starting a new file does not work either. It will not check the syntax.
Back to top
View user's profile
Plons

Bascom Member



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

netherlands.gif
PostPosted: Sat Feb 07, 2015 3:17 pm    Post subject: Reply with quote

Make sure you have these lines in your program:

Code:
$crystal = 8000000                                          'Internal RC oscillator
$regfile = "Attiny2313.dat"
'to get the UART properly initialized; AutoBaud will adapt to ExternalController
$baud = 4800
$hwstack = 32
$swstack = 10
$framesize = 10


AFAIK earlier versions of Bascom did not require these but I am glad it now does: these lines should be in the program !

Enjoy

Nard

_________________
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 -> 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