Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

I have Waaaaaaaaay To much time on my hands

I have Waaaaaaaaay To much time on my hands

2004-01-22 by Kathy Quinlan

Well all the rooms in the house now have dual cat 5 cables wired to a
central patch panel in the roof (crawl space for the Americans), The
Phone system is up there too (an NEC NEAX D3 or Telstra System 120 as
the AU people know them) The servers are all up there now too :o)

I am having a bitch of a time with the PABX, the TWO wire circuits work,
but the 4 wire ones are not behaving. Not sure if it is a blown card
(eith CPU, FPU, Motherboard or line daughter card or all of the above)
or a programming error :o( 

Tomorrow I will replace the CPU as I have tried at least 3 Motherboards,
Daughter boards and FPU's with no joy (this system was second hand, and
I have no idea why it was pulled out, if it works etc, it was free so it
came with a driveway warranty (IE once I left his driveway the warranty
had expired ;o)

Once this is all running, I plan to build an ISA card with some AVR's on
it to monitor the temp around the roof and in the equipment :o) was
going to do it through a serial port, but I think this way has more
appeal as I will then get experience writing drivers for a UNIX device
:o) (it will be memory access so should not be tooo hard (thinking of
using a dual port ram as the interface between the AVR and the IO bus or
just the AVR straight (any pointers ?)

I must have a lot of time on my hands to be subjecting myself to this
lol

Will post pikkies on my website once it is all finished and tided up (I
have piles of scrap cable littering the roof right now)


Regards,

Kat.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.560 / Virus Database: 352 - Release Date: 8/01/2004

SPI on Mega-8

2004-01-23 by Dave VanHorn

Well... It wasn't the code..

The new simulator is broken with the M8 SPI (and others?)
If you load a byte into SPDR after setting the SPI up as a master, then 
wait for the SPIF bit to go high indicating the byte has been sent, you'll 
wait forever.
If you don't use the SPI2X feature, then it at least appears to work, but 
then it has the problem as below on the ICE-50

It's even wierder in the ICE-50, if you step it, it appears to never set 
the flag.
If you use run to breakpoint, then you'll get various times to completion, 
all longer than it should take (2uS at max speed) some almost 3-4x longer 
than it should take.

The hardware (chip) appears to work right.

Also, FWIW, the sim will NOT detect that you are doing something like:

ld	TEMP,Y+

when Y is pointing to ramspace that does not exist in your device.
The ICE-50 does detect this.

Finally, the WDT in the M8 appears to be resetting me at 500mS intervals, 
even though it's set for 2S, according to the data sheet.
(0x0F in WDTCR)


Are we having fun yet?

Re: [AVR-Chat] SPI on Mega-8

2004-01-23 by samperi@ampertronics.com.au

At 09:28 PM 22/01/04 -0500, you wrote:
>
>Finally, the WDT in the M8 appears to be resetting me at 500mS intervals, 
>even though it's set for 2S, according to the data sheet.
>(0x0F in WDTCR)

Are you doing the hot shoe shuffle before setting the WDT?

ldi	r16,(1<<wdce)|(1<<wde)	;Start WD change timed  sequence
out	wdtcr,r16
ldi	r16,(1<<wde)|(1<<wdp2)|(1<<wdp1)|(1<<wdp0)
out	wdtcr,r16

Otherwise the time may be wrong.
Just a thought :-)

Regards

John Samperi

******************************************************
                        Ampertronics Pty. Ltd.
  11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
         Tel. (02) 9674-6495       Fax (02) 9674-8745
               Email: samperi@ampertronics.com.au
                 Website  http://ampertronics.com.au
* Electronic Design   * Technical Services   * Contract Assembly
******************************************************

Re: [AVR-Chat] SPI on Mega-8

2004-01-23 by Dave VanHorn

>
>Are you doing the hot shoe shuffle before setting the WDT?
>
>ldi     r16,(1<<wdce)|(1<<wde)  ;Start WD change timed  sequence
>out     wdtcr,r16
>ldi     r16,(1<<wde)|(1<<wdp2)|(1<<wdp1)|(1<<wdp0)
>out     wdtcr,r16

Yes. I'm doing that.

In the M128, I get the timing I expect.

Re: [AVR-Chat] SPI on Mega-8

2004-02-02 by Dave VanHorn

Broken-ness to report.

The sim dosen't work right.
The SPI, with double speed enabled, seems to take regular time, or maybe 
run at 1.5X depending on the weather.
If you time out a routine to shove data in SPDR at 2.5uS intervals, with 
SPI set at max speed (4Mhz) you'll get WCOL indications frequently.
On the real chip, it appears to work just fine.


Anyone know where to get an adaptor for a DIP chip (emulator) to TQFP PCB?

Searching the yahoo archive

2004-05-07 by George Smith

Can I only search the last couple of hundred messages in the archive?
Even if I go to the first page (messages 1 - 30) it still only searches the last 4xxx-4xxx.


George Smith

Re: Searching the yahoo archive

2004-05-07 by Phil

this has been a major complaint of mine.  There is a next link that 
will search the next month or so of postings.  what a crock.  search 
should be search all, not this interactive POS.  I'm sure they did it 
to lower the load on their server farm but why not just parameterize 
the search for range of files or dates with defaults that keep their 
load low?  They took the laziest way out.  I wish there was an 
alternative to Y groups.

--- In AVR-Chat@yahoogroups.com, "George Smith" <buggies@b...> wrote:
> Can I only search the last couple of hundred messages in the 
archive?
> Even if I go to the first page (messages 1 - 30) it still only 
searches the last 4xxx-4xxx.
Show quoted textHide quoted text
> 
> 
> George Smith

Re: [AVR-Chat] Re: Searching the yahoo archive

2004-05-07 by erikc

----- Original Message -----
Show quoted textHide quoted text
From: "Phil" <phil1960us@yahoo.com>
To: <AVR-Chat@yahoogroups.com>
Sent: Friday, May 07, 2004 18:52
Subject: [AVR-Chat] Re: Searching the yahoo archive


> this has been a major complaint of mine.  There is a next
link that
> will search the next month or so of postings.  what a
crock.  search
> should be search all, not this interactive POS.  I'm sure
they did it
> to lower the load on their server farm but why not just
parameterize
> the search for range of files or dates with defaults that
keep their
> load low?  They took the laziest way out.  I wish there
was an
> alternative to Y groups.

If you can put up with the low signal to noise ratio, USENET
might be a good place.

news://comp.arch.embedded
and
news://alt.microcontrollers.8bit

or use this as a jumping off place if you don't have a
newsreader:
http://www.google.com/grphp?hl=en&tab=wg&ie=UTF-8&oe=UTF-8&q
=

>
> --- In AVR-Chat@yahoogroups.com, "George Smith"
<buggies@b...> wrote:
> > Can I only search the last couple of hundred messages in
the
> archive?
> > Even if I go to the first page (messages 1 - 30) it
still only
> searches the last 4xxx-4xxx.
> >
> >
> > George Smith


Erikc  - firewevr@airmail.net
///
"An Fhirinne in aghaidh an tSaoil."
"The Truth against the World."
        -- Bardic Motto
/// In theory, there is no difference between theory and
practice, in practice there is.

Hard Disk control throug microcontrller

2004-05-08 by Mehmood Qureshi

Hi to all
My name is Mahmood Qureshi Student of Computer Engg.

Will any body plz guide me on the following project i.e

To control Hard Disk from Microcontroller 8051
The main aim of the project is given belwo
To Count how many cylinders , space, sectors, in the given hard disk
how i interface it to the computer
how i program it 
thanx

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.