Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 1923 matches
www.mcselec.com Forum Index
Author Message
  Topic: Problem with Timer/Counter2
MWS

Replies: 17
Views: 1691

PostForum: BASCOM-AVR Archive   Posted: Thu Feb 18, 2010 4:24 pm   Subject: Problem with Timer/Counter2
How do you fix the "stray capacitance" on two pins that are very close together?

If your PCB design is ok, you can't. If it's clean and no flux residuals are on the board it should be fine. Normal ...
  Topic: Problem with Timer/Counter2
MWS

Replies: 17
Views: 1691

PostForum: BASCOM-AVR Archive   Posted: Thu Feb 18, 2010 3:01 pm   Subject: Problem with Timer/Counter2
Sound to me like there's too much stray capacitance on your board, and therefore the signal applied on pin 24 is able to stop temporary the oscillation via stray in from this pin.
Is the PCB clean ? ...
  Topic: $hwstack - $swstack - $framesize
MWS

Replies: 13
Views: 1447

PostForum: BASCOM-AVR Archive   Posted: Tue Feb 16, 2010 5:00 pm   Subject: $hwstack - $swstack - $framesize
Enniom,

I'm familiar with the theory, but usually don't need it.
Anyway I can give you an example where nesting is useful.

Let's say you have a Tiny25 and your goal would be measuring periods w ...
  Topic: $hwstack - $swstack - $framesize
MWS

Replies: 13
Views: 1447

PostForum: BASCOM-AVR Archive   Posted: Tue Feb 16, 2010 3:17 pm   Subject: $hwstack - $swstack - $framesize
Enniom,

the "interrupt" you use with Config Serialin is in fact a hooked label to the RXC ISR, which Bascom sets up in the background.
For this ISR, Bascom saves only the registers used by itself ...
  Topic: $hwstack - $swstack - $framesize
MWS

Replies: 13
Views: 1447

PostForum: BASCOM-AVR Archive   Posted: Tue Feb 16, 2010 2:20 pm   Subject: $hwstack - $swstack - $framesize
Enniom,

...reason why we only want to set a flag in the interrupt routine is not because of handling other interrupts, but rather to avoid the possibility of corrupting registers while executing co ...
  Topic: Prinbin array
MWS

Replies: 18
Views: 1260

PostForum: BASCOM-AVR Archive   Posted: Mon Feb 15, 2010 3:33 pm   Subject: Prinbin array
Hi Evert,

I'm aware of the extended option, thanks. My focus was a function as close as possible to the original PrintBin, but with an ajustable bytecount, the option to send more than 256 bytes ca ...
  Topic: Prinbin array
MWS

Replies: 18
Views: 1260

PostForum: BASCOM-AVR Archive   Posted: Mon Feb 15, 2010 2:51 pm   Subject: Prinbin array
Or you can take my version, which extends the functionality of PrintBin Very Happy Basically it's a rebuilt of the original function and can handle more than 256 Bytes.
As it's not seemlessly integrated in ...
  Topic: $hwstack , $swstack , $framesize .... MISTERY !
MWS

Replies: 41
Views: 5255

PostForum: BASCOM-AVR Archive   Posted: Fri Feb 12, 2010 10:37 am   Subject: $hwstack , $swstack , $framesize .... MISTERY !
...
If somebody does not want do do any thinking then get off microcontrollers entirely and do something else! .. other than bitch about BASCOM. If designs use MCU's that do not have enough memory fo ...
  Topic: Bugs or changes in BASCOM 1.11.9.8 ??
MWS

Replies: 10
Views: 1687

PostForum: BASCOM-AVR Archive   Posted: Tue Feb 09, 2010 1:09 pm   Subject: Bugs or changes in BASCOM 1.11.9.8 ??
Hmmm, atmega64, what's your problem ?

The message was, as I understood it, to address MCS support if you think you've found an Bascom error.

And btw. I wonder how your second code has ever work ...
  Topic: Attiny84 and shiftout Problem
MWS

Replies: 6
Views: 559

PostForum: BASCOM-AVR Archive   Posted: Fri Jan 29, 2010 2:29 pm   Subject: Attiny84 and shiftout Problem
Mark has send a new double.lib to me.

Wow, that's what I call good service Applause
  Topic: Attiny84 and shiftout Problem
MWS

Replies: 6
Views: 559

PostForum: BASCOM-AVR Archive   Posted: Fri Jan 29, 2010 12:44 pm   Subject: Attiny84 and shiftout Problem
Anselm,

Thx for your quick fix,

now it works fine.

Anselm

Would you tell us, how it was fixed and how it works now for you ?

As far I can see, there is no emulation of the mnemonics M ...
  Topic: Problems with "new" DMXSLAVE
MWS

Replies: 9
Views: 921

PostForum: BASCOM-AVR Archive   Posted: Wed Jan 20, 2010 1:40 am   Subject: Problems with "new" DMXSLAVE
Stefan,

before I've posted my solution, I've checked already with AVR Studio, all registers are correctly set and it should work ok.

If you want to know how to find out, check the Bascom Report ...
  Topic: Problems with "new" DMXSLAVE
MWS

Replies: 9
Views: 921

PostForum: BASCOM-AVR Archive   Posted: Tue Jan 19, 2010 7:32 pm   Subject: Problems with "new" DMXSLAVE
Mark,

Further i add something with an application in mind, or as the result from my own application. I can not always foresee that it will be used different.

There's no criticism at all, hope m ...
  Topic: Problems with "new" DMXSLAVE
MWS

Replies: 9
Views: 921

PostForum: BASCOM-AVR Archive   Posted: Tue Jan 19, 2010 10:41 am   Subject: Problems with "new" DMXSLAVE
That seems easy Very Happy
Open the m324Pdef.dat in your Bascom program directory with a text editor, search for:
[IOEXT]
and add immediately below:
USR1=$C8
This gives the compiler the missin ...
  Topic: How to view Assembler Code
MWS

Replies: 4
Views: 532

PostForum: BASCOM-AVR Archive   Posted: Sun Jan 17, 2010 3:16 pm   Subject: How to view Assembler Code
enniom,

you'll likely find that useful:
http://www.atmel.com/dyn/resources/prod_documents/doc0856.pdf
Smile
 
Page 126 of 129 Goto page Previous  1, 2, 3 ... 125, 126, 127, 128, 129  Next
All times are GMT + 1 Hour
Jump to: