2005-04-12 by arhodes19044
I am trying out some GCC code. I started with the BDmicro example which sets a timer interrupt and flashes the LED on his board. I then tried to make the interrupt handler toggle the LED avery 1024 ticks. I got errors that I can't explain. Here is the code. WHite space is slightl
Thread view
Attachments: 0
2005-04-12 by arhodes19044
Thanks for the info. I have been using cmd.exe. I have also been trying to use make with the Programmers Notepad. Both techniques fail in the same way. Make tries to run, but it fails. I quadruple checked the path. It is fine. I even moved the winavr references to the front of th
Thread view
Attachments: 0
2005-04-12 by Brian Dean
On Sun, Apr 10, 2005 at 10:51:01PM -0400, wbounce wrote: > If have serveral strcmp statements > > Originally I had them all like this. > > if (strcmp("GPGGA",gcBuffer) == 0) > { > gpFieldPtr=(PGM_P) GGA; > } > > It would execute the pointer assignment on each of the 8 statements
Thread view
Attachments: 0
2005-04-12 by wbounce
I have a weird problem. Same code as last night if (strcmp("GPVTG",gcBuffer) == 0 ) { gpFieldPtr = (PGM_P) VTG; } When I look at the disembler and I have +000019AE: E461 LDI R22,0x41 Load immediate ---- No Source -------------------------------------------------------------------
Thread view
Attachments: 0
2005-04-12 by Dave Hylands
> Quick way to find out what make is running type "make -v" in a > command.com window to see what it says. No where near my WinAVR system > but it should look something like this: You should only be using command.com (which is a 16 bit shell) if you're using Win9x. If you're usin
Thread view
Attachments: 0
2005-04-12 by David Kelly
On Apr 11, 2005, at 2:35 PM, arhodes19044 wrote: > Don suggested to me to check for some other "make" elsewhere on the > computer which is earlier in the path. A VERY good sugggestion. I > will check for other make programs on the computer as soon as I get > home. This is the one
Thread view
Attachments: 0
2005-04-12 by Graham Davies
--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" wrote: > Can someone tell me what debug > format I should be using with > AVRStudio 4.10.356? Well, I use extended COFF. The WinAVR people would like us to move to DWARF because it is GCC's native format. But I think support for th
Thread view
Attachments: 0
2005-04-11 by wbounce
You are using dwarf2 and that is correct. What do you mean they do not disaply correctly? Are you openning the .elf file. Are you setting the correct chip and avr simulator? Are you adding a watch statement? What do they look like? -----Original Message----- From: Chuck Hackett [
Thread view
Attachments: 0
2005-04-11 by wbounce
My cygwin1.dll is in the \winavr\bin directory -----Original Message----- From: Daniel Adolfsson [mailto:da@glocalnet.net] Sent: Monday, April 11, 2005 3:06 PM To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] Re: Problem using MAKE - still no good arhodes19044 skrev: >I re-re
Thread view
Attachments: 0
2005-04-11 by Alex Shepherd
> Does anyone know of a free (or free reduced functionality > trial version) Ethernet Sniffer that is compatible with MS XP > Pro? I can't justify purchasing one but I'd sure like to be > able to see a little of what's going on on the wire so I'm > not quite so blind :-) > > User
Thread view
Attachments: 0
2005-04-11 by Dave Hylands
> Does anyone know of a free (or free reduced functionality trial version) > Ethernet Sniffer that is compatible with MS XP Pro? I can't justify purchasing > one but I'd sure like to be able to see a little of what's going on on the wire > so I'm not quite so blind :-) > > User i
Thread view
Attachments: 0
2005-04-11 by Chuck Hackett
Does anyone know of a free (or free reduced functionality trial version) Ethernet Sniffer that is compatible with MS XP Pro? I can't justify purchasing one but I'd sure like to be able to see a little of what's going on on the wire so I'm not quite so blind :-) User interface and
Thread view
Attachments: 0
2005-04-11 by Chuck Hackett
> From: Jesper Hansen [mailto:jesperh@telia.com] > > I've been using it in various projects, I've emailed you the driver I was > using in > an ethernut-clone project. > A little messy, but it works. Thanks Jasper. I received it and I'll check it out. As I understand it the RealTe
Thread view
Attachments: 0
2005-04-11 by Jesper Hansen
I've been using it in various projects, I've emailed you the driver I was using in an ethernut-clone project. A little messy, but it works. /Jesper ----- Original Message ----- From: "Chuck Hackett" To: Sent: Monday, April 11, 2005 9:24 PM Subject: [AVR-Chat] ASIX AX88796 Etherne
Thread view
Attachments: 0
2005-04-11 by Chuck Hackett
Has anyone dealt with the ASIX AX88796 Ethernet Controller? I'm having trouble getting my arms around it. I have the data sheet but could use some higher level documentation, example code, etc. to understand how the details in the datasheet are actually used in practice. I'm also
Thread view
Attachments: 0
2005-04-11 by Daniel Adolfsson
arhodes19044 skrev: >I re-re-loaded WinAVR and it does the same thing. I used PN to try >the make and it got the same results. > >I loaded WinAVR on my kids old computer and everything worked just >as advertised. > >Maybe I will have to use their computer to do the work. They wil
Thread view
Attachments: 0
2005-04-11 by Chuck Hackett
I'm using AVRStudio 4.10.356 and avr-gcc (GCC) 3.4.3. I seem to be able to step through code ok but arguments passed into functions do not (in my mind) display the correct values. It's as though AVRStudio is looking in a location that is different from what the disassembled code
Thread view
Attachments: 0
2005-04-11 by arhodes19044
Thanks for the suggestions. I have checked some of them already. I putposely kept the path to WinAVR short. It resides on my F: drive right off the root. F:\WinAVR. No spaces the path afaik, but I will double check. I tried compatibility mode on Make and it did not work. I loaded
Thread view
Attachments: 0
2005-04-11 by Jim Wagner
There was a recent question about this general topic but I lost the info about the person who asked. I have some info that may be useful. If that person could send me a message off-list, I will be happy to send info. Jim Wagner jim_d_wagner@applelinks.net ------------------------
Thread view
Attachments: 0
2005-04-11 by Jose Fuentes
I am trying to write a program to create state machines visually and save them in XML format. Then I will convert XML files in another language like ANSI C by using XSL templates. Conversion part is straightforward, but I don't have enough time to create the GUI. Regards Jose ---
Thread view
Attachments: 0
2005-04-11 by Robert Adsett
At 12:21 PM 4/11/05 +0200, Paul Colin Gloster wrote: >On Tue, Feb 22, 2005 at 02:21:51PM -0500, Robert Adsett wrote: > >"At 08:06 PM 2/22/05 +0100, Paul Colin Gloster wrote: >[..] > > >The original ANSI C has an > >inefficient library routine which was knowingly standardized as s
Thread view
Attachments: 0
2005-04-11 by Paul Colin Gloster
On Tue, Feb 22, 2005 at 02:21:51PM -0500, Robert Adsett wrote: "At 08:06 PM 2/22/05 +0100, Paul Colin Gloster wrote: [..] >The original ANSI C has an >inefficient library routine which was knowingly standardized as such >because many of the implementations of the function in draf
Thread view
Attachments: 0
2005-04-11 by Paul Colin Gloster
On Tue, Feb 22, 2005 at 01:40:14PM -0500, Robert Adsett wrote: "At 07:30 PM 2/22/05 +0100, Paul Colin Gloster wrote: >Incidentally, at least in C89 would Mike's example not run the risk of x >and inty having different datatypes? No" Okay.
Thread view
Attachments: 0
2005-04-11 by Geo
Hi, Apologies if this has already been mentioned but a search of the yahoo list did not find avr309. Looks to me like a work of art - 1 small common avr, 1 crystal (ok overclocked) and a 1.5k resistor - virtually all that is required for a USB interface. Do not bother with the or
Thread view
Attachments: 0
2005-04-11 by Kathy Quinlan
David Kelly wrote: > While the topic of displays is active, any interesting low-budget > solutions of large outdoor readable displays? Digits have to be at > least 2" high. Would really like to have one of those florescent dot > displays which many businesses use on their street
Thread view
Attachments: 0
2005-04-11 by wbounce
Never mind dumb typo on my part. I had a ; after the ) of the if on the ones that did the assignment. I should have looked at the disassembler earlier -----Original Message----- From: wbounce [mailto:wbounce@safeplace.net] Sent: Sunday, April 10, 2005 10:51 PM To: 'AVR-Chat@yahoo
Thread view
Attachments: 0
2005-04-11 by David D. Rea
On Sun, 2005-04-10 at 22:12 -0500, David Kelly wrote: > Have thought of building my own using Christmas tree pixie lights and > triac drivers. OTOH this application is run off a battery. Usually a > car battery to ensure a laptop also stays powered. If the scoring > system fails
Thread view
Attachments: 0
2005-04-11 by David Kelly
On Apr 10, 2005, at 9:32 PM, Roy E. Burrage wrote: > With a drill press, a 19 inch relay rack panel, and some incandescent > displays you can do it for not a whole lot of money. It may be a bit > time consuming but it's also visible in daylight. If you multiplex > segments you mi
Thread view
Attachments: 0
2005-04-11 by wbounce
If have serveral strcmp statements Originally I had them all like this. if (strcmp("GPGGA",gcBuffer) == 0) { gpFieldPtr=(PGM_P) GGA; } It would execute the pointer assignment on each of the 8 statements I changed them to lnResult = strcmp("GPGLL",gcBuffer); if (lnResult == 0) { g
Thread view
Attachments: 0
2005-04-11 by Roy E. Burrage
With a drill press, a 19 inch relay rack panel, and some incandescent displays you can do it for not a whole lot of money. It may be a bit time consuming but it's also visible in daylight. If you multiplex segments you might also want to use isolation diodes for each segment. REB
Thread view
Attachments: 0
2005-04-11 by David Kelly
On Apr 10, 2005, at 8:22 PM, Peter Gargano wrote: > If you're serious, a good mechanical 7 segment display is what you > need. Like this maybe: > > http://www.bodet.com/urlref/01a8cata/urlext/asp/produit/prod/216/rub/ > 7/produit.htm Exactly. So how can I get something like that
Thread view
Attachments: 0
2005-04-11 by Peter Gargano
If you're serious, a good mechanical 7 segment display is what you need. Like this maybe: http://www.bodet.com/urlref/01a8cata/urlext/asp/produit/prod/216/rub/7/produit.htm Peter Russell Shaw wrote: > Sign jobs are more of a problem in mechanics. Build a sloping roof/shroud > to
Thread view
Attachments: 0
2005-04-11 by Russell Shaw
Jesper Hansen wrote: > I bought some, I think it was 114 mm high, red 7 seg displays from Farnell > to make a custom display for showing result times at a race track. I knew > it would be hard to see, so I drove them pretty hard, and when I first > turned them on in the circuit a
Thread view
Attachments: 0
2005-04-10 by David D. Rea
A few ideas... - Use a large reflective-substrate LCD? - Get an off-the-shelf outdoor LED display? http://www.spectra-displays.co.uk/32.php - Watch for a surplus display from a city bus, the electromechanical type where the segments or pixels are actually florescent dots that are
Thread view
Attachments: 0
2005-04-10 by Ralph Hilton
On Sun, 10 Apr 2005 15:40:38 -0000 you wrote: > >I will check out the sources you mentioned. Size is a little factor >bacause the display will be at arm's length away. > >Good contrast and visibility in bright surroundings is really >important. > >I will check out the PLED's If I
Thread view
Attachments: 0
2005-04-10 by Jesper Hansen
I bought some, I think it was 114 mm high, red 7 seg displays from Farnell to make a custom display for showing result times at a race track. I knew it would be hard to see, so I drove them pretty hard, and when I first turned them on in the circuit at home, I was blinded. They w
Thread view
Attachments: 0
2005-04-10 by arhodes19044
Wow, those CFD's look bright. I guess "F" is "Fluorescent"? If so, then they probably work well with polarized sunglasses too... -Tony --- In AVR-Chat@yahoogroups.com, "Richard Reeves" wrote: > Tony: > > I will check out the sources you mentioned. Size is a little factor > > baca
Thread view
Attachments: 0
2005-04-10 by arhodes19044
Your point is well taken. In my test-platform on a Basic-x BX-24 I have minimized the amount of processing done in the Interrupt handler itself. There are three interrupt-type of processes. As I said, one increments a counter. Another is fairly low frequency (on a timer tick inte
Thread view
Attachments: 0
2005-04-10 by Richard Reeves
Tony: > I will check out the sources you mentioned. Size is a little factor > bacause the display will be at arm's length away. > > Good contrast and visibility in bright surroundings is really > important. > > I will check out the PLED's Also you might want to have a look at the
Thread view
Attachments: 0
2005-04-10 by David Kelly
While the topic of displays is active, any interesting low-budget solutions of large outdoor readable displays? Digits have to be at least 2" high. Would really like to have one of those florescent dot displays which many businesses use on their street signs, but can't afford one
Thread view
Attachments: 0
2005-04-10 by David Kelly
On Apr 9, 2005, at 1:29 PM, arhodes19044 wrote: > Really, my application is fairly linear. About every second a > display needs updating with a few calculations. Data entry happens > on another display/keypad. Whenever certain external hardware > triggers (about 1Hz to 130hz), a
Thread view
Attachments: 0
2005-04-10 by D. Daniel McGlothin
> Has anyone done something like this for embedded C? It is not quite embedded C, but are you aware of Miro Samek's Practical Statecharts in C/C++ (http://www.quantum-leaps.com/writings/book.htm)? Daniel -- PRIVACY WARNING: For auditing purposes, a copy of this message has been s
Thread view
Attachments: 0
2005-04-10 by Ralph Hilton
On Sun, 10 Apr 2005 09:13:24 -0500 (CDT) you wrote: > >Kat, I hope you don't mind my posting an off-topic e-mail, but I thought >someone on this group might know the answer. > >I seem to be on everyone's spam list and I get the usual barrage of ads >for drugs, loans, Nigerian sca
Thread view
Attachments: 0
2005-04-10 by Ralph Hilton
On Sun, 10 Apr 2005 14:38:03 +0100 you wrote: > >Tony: >> I am looking for a source for a large character LCD display. At least >> 16 x 2 characters. 20 x 4 might be OK too (vertical space might be an >> issue). >> >> I'd like the characters to be 9mm high or slightly more. Needs
Thread view
Attachments: 0
2005-04-10 by Robert Adsett
At 11:50 PM 4/9/05 -0500, Chuck Hackett wrote: > > From: Larry Barello [mailto:yahoo@barello.net] > > > > .... > > Most (but not all) of my current projects use a foreground loop with Finite > > State Machine (FSM) tasks and a high speed timer interrupt that increments > > counte
Thread view
Attachments: 0
2005-04-10 by wbounce
Using the MFILE utility style makefile If I run make all in a dos window I get D:\Robot\Projects\MinGrand>make all -------- begin -------- avr-gcc (GCC) 3.4.1 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is
Thread view
Attachments: 0
2005-04-10 by wbounce
Be sure of the case of your files. While windows does not care, some of the unix style tools in winavr do. -----Original Message----- From: arhodes19044 [mailto:spamiam@comcast.net] Sent: Sunday, April 10, 2005 9:12 AM To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] Re: Problem
Thread view
Attachments: 0
2005-04-10 by Zack Widup
Kat, I hope you don't mind my posting an off-topic e-mail, but I thought someone on this group might know the answer. I seem to be on everyone's spam list and I get the usual barrage of ads for drugs, loans, Nigerian scams, etc. every day. But lately I've gotten a couple new type
Thread view
Attachments: 0
2005-04-10 by Leon Heller
----- Original Message ----- From: arhodes19044 To: AVR-Chat@yahoogroups.com Sent: Sunday, April 10, 2005 2:12 PM Subject: [AVR-Chat] Re: Problem using MAKE Running MAKE from DOS? Oh, Oh. In XP (home), all that I can do, as far as I know, is open a DOS box. I do not think that I
Thread view
Attachments: 0
2005-04-10 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "arhodes19044" wrote: > I am looking for a source for a large character LCD display. At > least 16 x 2 characters. 20 x 4 might be OK too (vertical space > might be an issue). > > I'd like the characters to be 9mm high or slightly more. Needs a >
Thread view
Attachments: 0