Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 1398 matches
www.mcselec.com Forum Index
Author Message
  Topic: Communication problems with ATTINY15 and Parallel ISP progr
DToolan

Replies: 7
Views: 970

PostForum: BASCOM-AVR Archive   Posted: Thu Mar 31, 2005 2:53 am   Subject: Communication problems with ATTINY15 and Parallel ISP progr
There is a file in the Bascom directory named "prog.settings"

I think that's the file he is talking about. Edit it with notepad.
  Topic: Problem with Timer 1 and mega88
DToolan

Replies: 7
Views: 2393

PostForum: BASCOM-AVR Archive   Posted: Thu Mar 31, 2005 12:18 am   Subject: Problem with Timer 1 and mega88
Christian,

I don't know why your code used to work and doesn't now... but timer / counters can be fairly simple. Timers and counters both do the same thing (count). The only variables are how fas ...
  Topic: How do you disable Int's in an interrupt
DToolan

Replies: 6
Views: 1122

PostForum: BASCOM-AVR Archive   Posted: Sun Mar 27, 2005 8:45 pm   Subject: How do you disable Int's in an interrupt
I'm still not sure if Bascom's registers are stack allocations that get pushed on return or the actual hardware registers.
They are actual hardware registers. If you open up the m162def.dat file in ...
  Topic: How do you disable Int's in an interrupt
DToolan

Replies: 6
Views: 1122

PostForum: BASCOM-AVR Archive   Posted: Sun Mar 27, 2005 7:35 pm   Subject: How do you disable Int's in an interrupt
Yes I do get interrupts after I have disabled the interrupt in the isr, I had assumed that the interrupt mask was being retreived from the stack on return and that is why the disable interrupt was bei ...
  Topic: How do you disable Int's in an interrupt
DToolan

Replies: 6
Views: 1122

PostForum: BASCOM-AVR Archive   Posted: Sun Mar 27, 2005 5:58 am   Subject: How do you disable Int's in an interrupt
The code you have written does disable Timer1 interrupts.

When a hardware interrupt occurs, AND the "interrupt enable bit" for that interrupt is enabled, AND the "global interrupt enable bit" in th ...
  Topic: Trouble with Data table
DToolan

Replies: 4
Views: 1011

PostForum: BASCOM-AVR Archive   Posted: Sun Mar 27, 2005 2:29 am   Subject: Trouble with Data table
I guess you are using keyboards / keypads with PS2 style connectors on them (the kind used on keyboards and mice). I suspect the problem is the difference between keyboards and mice and that your num ...
  Topic: Hardware SPI, strange behavior
DToolan

Replies: 2
Views: 723

PostForum: BASCOM-AVR Archive   Posted: Sat Mar 26, 2005 11:14 pm   Subject: Hardware SPI, strange behavior
Try this as a work-around. After you have initially config'd the SPI in the beginning of your program using the CONFIG statement, use the following in the rest of your program to set data order witho ...
  Topic: Trouble with Data table
DToolan

Replies: 4
Views: 1011

PostForum: BASCOM-AVR Archive   Posted: Sat Mar 26, 2005 10:33 pm   Subject: Trouble with Data table
You are missing a comma here................v
Config Keyboard = Pinb.1 , Data = Pinb.0 Keydata = Keydata_table
  Topic: Version 1.11.7.4 - comments after 15 years of c++ experience
DToolan

Replies: 15
Views: 3047

PostForum: BASCOM-AVR Archive   Posted: Fri Feb 18, 2005 8:26 pm   Subject: Version 1.11.7.4 - comments after 15 years of c++ experience
I have over 40 years of experience of living. One thing that I have learnt is that badmouthing and whinging like a little girl will get you nowhere.

I am a little girl with 80 years experience and ...
  Topic: Open Collector?
DToolan

Replies: 2
Views: 726

PostForum: BASCOM-AVR Archive   Posted: Thu Feb 17, 2005 7:07 pm   Subject: Open Collector?
No, AVR's don't have open collector outputs. The internal pullups come into play (optionally) for pins set as input. Pins set as output will both source and sink current (produce 5v & ground).
...
  Topic: 9bit UARTs
DToolan

Replies: 3
Views: 993

PostForum: BASCOM-AVR Archive   Posted: Tue Feb 01, 2005 10:38 pm   Subject: 9bit UARTs
To set up a usart for 9-bit communications you have to SET UCSR0A.0 (usart zero, bit zero) or SET UCSR1A.0 (usart one, bit zero... these names may vary depending on your chip). This bit in usart cont ...
  Topic: Lookup table on a hex 100 boundary
DToolan

Replies: 4
Views: 1025

PostForum: BASCOM-AVR Archive   Posted: Thu Jan 13, 2005 9:17 pm   Subject: Lookup table on a hex 100 boundary
By "flash ram", I guess you mean the program storage area. You can use a DATA statement for your lookup table and that would place your table at the end of the used program storage. This would not n ...
  Topic: Combining two 8-bit values
DToolan

Replies: 1
Views: 542

PostForum: BASCOM-AVR Archive   Posted: Wed Jan 12, 2005 10:26 pm   Subject: Combining two 8-bit values
WordVar = MAKEINT(LSB_Var , MSB_Var)
  Topic: Lookup table on a hex 100 boundary
DToolan

Replies: 4
Views: 1025

PostForum: BASCOM-AVR Archive   Posted: Wed Jan 12, 2005 8:35 pm   Subject: Lookup table on a hex 100 boundary
You can force the locations for variables in the following manner...

DIM MyArray1(36) As BYTE at $100 '<- RAM declaration
DIM MyArray2(36) As ERAM BYTE at $100 '<- EEPROM declaration
  Topic: reading from a sd card in spi mode?
DToolan

Replies: 4
Views: 1373

PostForum: BASCOM-AVR Archive   Posted: Mon Jan 10, 2005 12:19 am   Subject: reading from a sd card in spi mode?
Just an idea.... check your SPI SS pin. It should be configured as output. If configured as an input while in master mode, it can cause the SPI transaction to fail.
 
Page 92 of 94 Goto page Previous  1, 2, 3 ... 91, 92, 93, 94  Next
All times are GMT + 1 Hour
Jump to: