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

BASCOM-AVR : AVRISP MKII programmer : REPLY

Thanks All for the great support, it works now, all i had to do was reboot my pc, wow this is awesome. This is off topic, but i've seen some people write their programs or debug i think using AVR...

View Article


BASCOM-AVR : AVRISP MKII programmer : REPLY

[quote:9849d0bd55="walterf252000"]i've seen a thread where a guy has a program written in Bascom AVR and loaded it to AVR Studio[/quote:9849d0bd55] A simple search would have dug it up in less than a...

View Article


AVR-DOS : Update Program from Card : REPLY

Hi Paul If it fails, I lose sms contact with the remote unit. If the bootload works OK, I have a raft of sms commands and questions I can ask it ( including starting a bootload) but if the bootload...

View Article

BASCOM-AVR : Xmega TcD0 configuration results : REPLY

Entry2: Clockopt6: Here is an example of setting up the Xmega to use an external crystal and the PLL to double the clock frequency. This uses a 16 MHz crystal instead of a 14.x MHz crystal, which...

View Article

AVR-DOS : Update Program from Card : REPLY

@njepsen What I originally meant was that you should always go to the bootloader on a reset - eg on power up. That way, if the main program totally fails, you can still activate the bootloader and get...

View Article


BASCOM-AVR : using If statement with And statement : NEWTOPIC

Hello everyone, i have a small problem i can't figure out, I'm writing a program which monitors the Air pressure going into a system, I have a sensor that outputs an analog voltage which varies...

View Article

BASCOM-AVR : Xmega TcD0 configuration results : REPLY

@laborratte, I did not test at 185F I was in the temp / humidity controlled cal lab whixh was 75F and 34% humidity at the time. I am away from work ATM so I will try your suggestions come Monday. I...

View Article

AVR-DOS : Update Program from Card : REPLY

My thoughts were the boot loader checks for the version and the running program updates the ok flag you will need a watch dog to get it to run if it locks up but when the boot loader runs again (as...

View Article


BASCOM-AVR : using If statement with And statement : REPLY

Hello Walter I like select case for this sort of thing it can be faster with less code in flash and is easy to add more tests to but it works a bit backwards you also add one to your reading so at the...

View Article


Share your working BASCOM-AVR code here : A simple WAV file player from an SD...

Hello which kind of modify i need to do for run your program on ATMEGA64? Thanks

View Article

BASCOM-AVR : Xmega TcD0 configuration results : REPLY

[quote:17aaf6d67a="mmarlette"]Can you route the external TOSC1/TOSC1 32.768khz pins to be the system clock[/quote:17aaf6d67a] Do you need it to be the system clock? [quote:17aaf6d67a]so that you can...

View Article

Share your working BASCOM-AVR code here : A simple WAV file player from an SD...

pinkfloyd11, I think the 644 and the 644p are almost identical so try just changing the $regfile="m644pdef.dat" to $regfile="m644def.dat" and see if that works. -Glen

View Article

BASCOM-AVR : GLENA, can you check thread wav file player? Thanks. : NEWTOPIC

this is the link: http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=8714 [b:62b4e6230a][color=red:62b4e6230a](BASCOM-AVR version : 2.0.7.6...

View Article


AVR-DOS : Update Program from Card : REPLY

what i did for a project with m2560 that did not use all the space(uses only halve the space) : i add the binary file to image file at a higher location. at the push of a button the user can then copy...

View Article

BASCOM-AVR : Xmega TcD0 configuration results : REPLY

[quote:07efdf0890="MWS"][quote:07efdf0890="mmarlette"]Can you route the external TOSC1/TOSC1 32.768khz pins to be the system clock[/quote:07efdf0890] Do you need it to be the system clock?...

View Article


Share your working BASCOM-AVR code here : A simple WAV file player from an SD...

Hello It is ATMEGA64 not ATMEGA644.. Thanks

View Article

BASCOM-AVR : Xmega TcD0 configuration results : REPLY

Mark, I followed this thread a while and got about the same results of 32MHz clock frequency, always assumed that my old LeCroy is still correct. Tried also to attach the 32MHz clock to the 32kHz...

View Article


BASCOM-AVR : Xmega TcD0 configuration results : REPLY

The following code connects the 32768Hz crystal to the RTC, the overflow interrupt toggles the pin. TOP of RTC overflow is set by RTC_PER, which showed some odd behavior. 1) If the prescaler RTC_CTRL...

View Article

BASCOM-AVR : using If statement with And statement : REPLY

Hi, I fully agree with Paul, but that does not answer the question. The syntax in you IF THEN ELSE seems to be OK, so the bug must be somewhere else. Are you shure that all compared values are of the...

View Article

BASCOM-AVR : using If statement with And statement : REPLY

Another option, at least for now, is to break the code into several steps, instead of using the compound instruction. [code:1:8e2e2502d3] dim Pwindow as byte 'Flag, could be a Bit variable . . ....

View Article
Browsing all 20558 articles
Browse latest View live


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