Quantcast
Channel: MCS Electronics Forum
Browsing all 20558 articles
Browse latest View live
↧

BASCOM-AVR : W5100 client : REPLY

Hi Thanks for the reply - will change to use unique local ports on each connection Hardware reset tied to cpu reset . Will change from 00 to non 00 first byte MAC Must say - the I2c might not be super...

View Article


BASCOM-AVR : how to add MSB, polarity, phase to spi slave config ? : REPLY

Hi, Already I'm too working with SPI. yesterday I programmed SPI hard with SD card. [code:1:3dd6d57e1a]' SPI declaration: Config Portb.0 = Output ' The !SS pin can only be used as an output in SPI...

View Article


BASCOM-AVR : W5100 client : REPLY

the w5100 works fine as well and is much faster. have a look at the mcs wiki page for the wizio module. there is an article written by MAK3. your problem might be the processor reset. best to use a...

View Article

BASCOM-AVR : Multi-Master I2C? : NEWTOPIC

Hi all, I have been successfully using I2C devices with Bascom and I'm now looking to have two masters on my I2C bus. I've been reading about I2C and it seems I need to get my master devices to check...

View Article

BASCOM-AVR : W5100 client : REPLY

Hi Thanks for reply - I think my reset is longer than chip minimum of 2 us . To do a software reset during use might help . I can use the SETTCP after a software chip reset . Cheers - will check the...

View Article


BASCOM-AVR : AN # 199 and q-touch? : NEWTOPIC

Hi all, just wondering if the oversampling methods in AN#199 [url]http://www.mcselec.com/index.php?option=com_content&task=view&id=325&Itemid=57[/url] would be of any use in a simple...

View Article

BASCOM-AVR : STK500V2 and Ardunio M2560 : REPLY

[code:1:d18ad9ecbb] do A = Waitkey() 'wait for a key 's = waitkey() Print Chr(a) loop [/code:1:d18ad9ecbb] From RealTerm. configure port/baud, go to SEND tab and ....... Send : !!! <CRLF> (press...

View Article

BASCOM-AVR : STK500V2 and Ardunio M2560 : REPLY

https://github.com/arduino/Arduino-stk500v2-bootloader/blob/master/stk500boot.c You get the idea of what is going on. Going to buy a lotto ticket... I am feeling lucky stumbling on to this. All...

View Article


BASCOM-AVR : Atmega8 and external oscilator : NEWTOPIC

Hello, I'm using ATMEGA8-16PU and I would like tu use external oscilator. I'dont know how to set fuse bits to external and I'dont wont to lock the microcontroller. Until now I used only internal...

View Article


BASCOM-AVR : STK500V2 and Ardunio M2560 : REPLY

yes there were only 2 possibilities. you could flash one without explorer support or change the code so it will use a less likely 'magic code' sequence.

View Article

BASCOM-AVR : Atmega8 and external oscilator : REPLY

the data sheet contains info about the capacitors. it depends on the cap. load of the crystal. which programmer do you use? when using a bascom supported programmer chose this option :...

View Article

BASCOM-AVR : STK500V2 and Ardunio M2560 : REPLY

Mark, Yes, already changed the character and documented. Explorer is fine, just threw me for a bit and had to figure out why the programming was failing after my changes. Made several simple changes...

View Article

BASCOM-AVR Old versions : Multi-Master I2C? : REPLY

Hi, did you check this [url=http://www.rn-wissen.de/index.php/TWI_Praxis_Multimaster]link[/url] maby this is what you need to get started

View Article


BASCOM-AVR Old versions : Multi-Master I2C? : REPLY

if you check the ERR bit after sending the address you can use multiple masters. i2cstart i2cwbyte address if err=0 then 'if no error continue with other commands end if

View Article

BASCOM-AVR : Atmega8 and external oscilator : REPLY

I will try. Thanks for replay.

View Article


AVR-DOS : Dir(*.*) and Dir() : REPLY

A further point of clarification ( one year later). The help says: [quote:945071a1ac]The first function call needs a file mask. All other calls do not need the file mask. In fact when you want to get...

View Article

BASCOM-AVR : Question about casting : NEWTOPIC

Hello, Maybe I miss something, but let me understand how it works in bascom. I have very basic example below: [code:1:1bc4c32fe4] $regfile = "m8def.DAT" $crystal = 8000000 $sim Dim W16 As Word Dim X16...

View Article


BASCOM-AVR : Error calling Sub : NEWTOPIC

[code:1:df5ec5af0a]$RegFile = "m8def.dat" $Crystal = 1000000 $HwStack = 64 $SwStack = 64 $FrameSize = 64 $EepLeave Config Base = 0 Config Submode = New dim x As Byte sub TestSub() x = x + 1 end sub...

View Article

BASCOM-AVR : Error calling Sub : REPLY

yes that is by design. when you use CALL , you need to provide parameters with (). call test() but when not using CALL, you need to omit the () sub test(a as byte) end sub test b call test(b)

View Article

BASCOM-AVR : Error calling Sub : REPLY

Thank you. Why then error check syntax in second code?

View Article
Browsing all 20558 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>