Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 110 matches
www.mcselec.com Forum Index
Author Message
  Topic: Best xmega128a1 Development Board ?
MAK399

Replies: 5
Views: 846

PostForum: BASCOM-AVR Archive   Posted: Mon Sep 13, 2010 7:22 am   Subject: Best xmega128a1 Development Board ?
Hi,

Any thoughts on the programming(sending programming data)
would be great.

To program an ATXMEGA128A1 you need an AVRISP MKII Programmer.
I'm using AVR Studio with AVRISP MKII to flash th ...
  Topic: Pull up
MAK399

Replies: 6
Views: 786

PostForum: BASCOM-AVR Archive   Posted: Fri Aug 27, 2010 7:36 am   Subject: Pull up
Up to now I have found only this way to set pullup:

$regfile = "xm128a1def.dat"
$crystal = 32000000
$hwstack = 64
$swstack = 40
$framesize = 40




$lib "xmega.lib"
$e ...
  Topic: Number of ports for RS232 in BASCOM
MAK399

Replies: 6
Views: 682

PostForum: BASCOM-AVR Archive   Posted: Thu Aug 26, 2010 6:14 am   Subject: Number of ports for RS232 in BASCOM
It depends what you want to do beside RS-232 because there are some gaps in the XMEGA support but RS-232 is supported on XMEGA.

There you have up to 8 hardware serieal interfaces on a chip.
e.g.: ...
  Topic: BASCOM Version Update Notification
MAK399

Replies: 7
Views: 1070

PostForum: BASCOM-AVR Archive   Posted: Wed Aug 25, 2010 9:25 pm   Subject: BASCOM Version Update Notification
I can remember there was a bounded announcement similar to the Global Announcement here in the forum (appx. for 14 days for the last update 1.12.0.0).

I guess Mark can not ensure that this announce ...
  Topic: Arduino and Bascom
MAK399

Replies: 21
Views: 4965

PostForum: Share your working BASCOM-AVR code here   Posted: Wed Aug 25, 2010 11:50 am   Subject: Arduino and Bascom
Hi Ben,

I want to add that an Arduino or compatible hardware is also running very well with the Booloader from Frankeman and an AVRISP MKII programmer.

The bootlader from here:
http://www.mcsel ...
  Topic: To two priorities for next ATXMEGA Features
MAK399

Replies: 1
Views: 357

PostForum: BASCOM-AVR Archive   Posted: Wed Aug 25, 2010 11:23 am   Subject: To two priorities for next ATXMEGA Features
Hello Mark,

I took this from another thread:

But a new product named basavr will have this option. This is in fact the new IDE with new parser that will use the bascm-avr compiler and later an i ...
  Topic: Structure in BASCOM
MAK399

Replies: 5
Views: 705

PostForum: BASCOM-AVR Archive   Posted: Mon Aug 16, 2010 6:03 pm   Subject: Structure in BASCOM
Hi TSEYFARTH,

here is an example of a 2D Array:
http://www.grote.net/bascom/msg18130.html

Maybe you can combine it with passing an array to a SUB
  Topic: Structure in BASCOM
MAK399

Replies: 5
Views: 705

PostForum: BASCOM-AVR Archive   Posted: Mon Aug 16, 2010 7:05 am   Subject: Structure in BASCOM
Hi,

there is no struct datatype in BASCOM but you could use Overlay:

http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=4531&highlight=struct

http:/ ...
  Topic: I2C Input read on PCF8574 chip -I/O expander
MAK399

Replies: 9
Views: 715

PostForum: BASCOM-AVR Archive   Posted: Thu Aug 12, 2010 9:00 am   Subject: I2C Input read on PCF8574 chip -I/O expander
These fuse bit settings are definitely 1MHz internal RC

$prog &HFF , &HE1 , &H99 , &HFD 'Fuses

&HFF = Lockbit Settings
&HE1 , &H99 , &HFD = 1MHz internal RC ... ...
  Topic: ATMEGA88 sometimes reset
MAK399

Replies: 9
Views: 782

PostForum: BASCOM-AVR Archive   Posted: Mon Aug 09, 2010 7:41 pm   Subject: ATMEGA88 sometimes reset
4 brownout reset?
How stable is your power supply for that micro ?

Are there any fluorescent tubes/lamps around your micro circuit which have no EMI suppression capacitor (or any other similar EM ...
  Topic: ATMEGA88 sometimes reset
MAK399

Replies: 9
Views: 782

PostForum: BASCOM-AVR Archive   Posted: Sun Jul 25, 2010 1:48 pm   Subject: ATMEGA88 sometimes reset
Hi,

I would also suggest to structure your programm like this here:
(the END after the mainloop)

END at the end of the programm.
  Topic: ATMEGA88 sometimes reset
MAK399

Replies: 9
Views: 782

PostForum: BASCOM-AVR Archive   Posted: Sat Jul 24, 2010 4:41 pm   Subject: ATMEGA88 sometimes reset
Hi dc,

run the following and check if it works:

$regfile = "m88def.dat"
$crystal = 20000000
$hwstack = 32
$swstack = 32
$framesize = 40

Config Pind.2 = Output

Do
Toggle Port ...
  Topic: I2c slave to master help
MAK399

Replies: 7
Views: 550

PostForum: BASCOM-AVR Archive   Posted: Sat Jul 24, 2010 1:20 pm   Subject: I2c slave to master help
Hi,

for the I2C Slave start with i2c_pcf8574.bas in Samples folder including the $hwstack, $swstack, $framesize .

For the Master start with M8-TWI-master.bas in Samples folder including ...
  Topic: XMEGA Library problems?
MAK399

Replies: 4
Views: 1050

PostForum: BASCOM-AVR Archive   Posted: Wed Jul 21, 2010 10:11 pm   Subject: XMEGA Library problems?
Hello Admin,

why you have deleted this answer ?
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&p=42682#42682

What was the violation against forum rules ...
  Topic: M88 EEPROM Life
MAK399

Replies: 2
Views: 329

PostForum: BASCOM-AVR Archive   Posted: Wed Jul 21, 2010 3:44 pm   Subject: M88 EEPROM Life
Hi aztarac,

see also here:
AVR101: High Endurance EEPROM Storage
http://www.atmel.com/dyn/resources/prod_documents/doc2526.pdf

MAK399
 
Page 1 of 8 Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
All times are GMT + 1 Hour
Jump to: