Re: [avr-chat] Code Vision AVR

2010-03-26 Thread Vincent Trouilliez
On Thu, 25 Mar 2010 20:08:44 -0700 (PDT) rajat.lotw rajat.l...@gmail.com wrote: I am looking for the Code VIsion AVR software for programming of ATMega32 microcontroller.. Somebody Please shareor post a link.. Thanks in advance.. Here is their website and download page:

Re: [avr-chat] Storing BW bitmap images into Flash : file format suggestion ?

2010-01-14 Thread Vincent Trouilliez
Thanks Joerg and Jim ! If uncompressed BW is the format, grab ImageMagick and install. Then do: convert filename.jpg myfile.xbm The XBM image format (X bitmap format) is exactly a C source file: I tried xbm under Gimp but it produces an array of 16bit integers rather than bytes. I will try

Re: [avr-chat] Storing BW bitmap images into Flash : file format suggestion ?

2010-01-14 Thread Vincent Trouilliez
Galen Seitz gal...@seitzassoc.com wrote: Another option that I did not seen mentioned is the srecord tools. It can convert a binary file to a C array. These tools are quite useful for manipulating all sorts of hex and binary data files. http://srecord.sourceforge.net/ Thanks, it looks

Re: [avr-chat] Storing BW bitmap images into Flash : file format suggestion ?

2010-01-14 Thread Vincent Trouilliez
David Kelly dke...@hiwaay.net wrote: On Jan 14, 2010, at 6:27 PM, Vincent Trouilliez wrote: srecord... hmm that name sounds very familiar, not sure where I heard of it exactly in the past, but was many years ago I think... Motorola S19 hex file format. Oh yes, Motorola rings a bell, I

Re: [avr-chat] Storing BW bitmap images into Flash : file format suggestion ?

2010-01-12 Thread Vincent Trouilliez
On Mon, 11 Jan 2010 09:39:04 +1030 Daniel O'Connor dar...@dons.net.au wrote: I just had a look, the C exporter in GIMP only supports RGB, although it can generate an RLE decoder for you.. Yes I gve it a try and noticed this ! :-( I also trried exporting as PNM as suggested, but the

Re: [avr-chat] Storing BW bitmap images into Flash : file format suggestion ?

2010-01-12 Thread Vincent Trouilliez
On Wed, 13 Jan 2010 10:56:03 +1030 Daniel O'Connor dar...@dons.net.au wrote: Starting to sound like too much work IMO :) Yeah, I think I will just write my own little C programme to convert the picture into a C array of bytes. I now fancy doing it regardless, just as a little exercise... and

Re: [avr-chat] Storing BW bitmap images into Flash : file format suggestion ?

2010-01-10 Thread Vincent Trouilliez
Juergen Harms wrote: In case your display is an eDIP 240, Nope, I am using a more standard / bare LCD module, with no built-in intelligence. I just access the LCD controller (T6963) directly through its parallel interface. I also bought the touch panel optiion which again comes (as far as I can

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-07-04 Thread Vincent Trouilliez
On Sat, 4 Jul 2009 09:43:55 +0200 (MET DST) j...@uriah.heep.sax.de (Joerg Wunsch) wrote: You're perhaps confusing that with debugWIRE. As debugWIRE is a one-wire protocol, it has to live with delays, caused by RC time constants of the circuitry. Hmmm nope. We were very much discussing JTAG

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-07-04 Thread Vincent Trouilliez
On Sat, 4 Jul 2009 07:37:59 -0400 Bob Paddock bob.padd...@gmail.com wrote: I have a question related to debugWIRE vs SPI internal to a Tiny88. Bob, bad boy, don't hijack threads ! Start a new one instead, with an appropriate subject line ;-) -- Vince

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-29 Thread Vincent Trouilliez
On Mon, 29 Jun 2009 07:26:17 -0500 David Kelly dke...@hiwaay.net wrote: On Jun 29, 2009, at 6:04 AM, Vincent Trouilliez wrote: Geez, I bought a USB programmer and Dragon, thinking it would be way faster than my antic // cable... only to find out it's exactly the opposite ! How ironic

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-29 Thread Vincent Trouilliez
On Mon, 29 Jun 2009 22:38:45 +0930 Daniel O'Connor dar...@dons.net.au wrote: I don't understand why you don't use -U? Because it's hardly as convenient as the terminal mode ! I am not a masochist... if -U was better in my use case, than the terminal, I would use it of course ! ;-) This

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-29 Thread Vincent Trouilliez
On Mon, 29 Jun 2009 23:40:31 +0930 Daniel O'Connor dar...@dons.net.au wrote: Terminal mode can be useful for some things but I usually only use it to change fuses or check my code has modified EEPROM as I expect. Same here, but I also like to have a look at the first KB's of Flash as well. I

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-29 Thread Vincent Trouilliez
On Mon, 29 Jun 2009 20:08:31 +0200 (MET DST) j...@uriah.heep.sax.de (Joerg Wunsch) wrote: If you instead look at the hex dump of the .bin file, you'll be much faster. ;-) Mmpf... my make file doesn't create that file it seems. Only hex I have is the object file that goes into the AVR... How do

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-28 Thread Vincent Trouilliez
On Sun, 28 Jun 2009 23:18:34 +0200 (MET DST) j...@uriah.heep.sax.de (Joerg Wunsch) wrote: IIRC, the Dragon ships with a terribly slow default ISP rate. Bump it, either using the sck command of the terminal mode in avrdude, or with the -B option. A good default value is 10 µs SCK period, this

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-28 Thread Vincent Trouilliez
On Mon, 29 Jun 2009 00:19:17 +0200 (MET DST) j...@uriah.heep.sax.de (Joerg Wunsch) wrote: Vincent Trouilliez vincent.trouill...@modulonet.fr wrote: Or might this be a problem in the terminal mode of avrdude, rather than the Dragon ? Sorry, I didn't read your message to the end at first

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-27 Thread Vincent Trouilliez
On Fri, 26 Jun 2009 11:40:37 -0500 David Kelly dke...@hiwaay.net wrote: At the moment none of my AVR gear is set up. :-( Someone else on this list must have one working I hope ! Can't believe nobody replied... am I the only one earth using ISP with a Dragon ? Maybe... Sure, I intend to use JTAG

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-27 Thread Vincent Trouilliez
On Sat, 27 Jun 2009 17:06:50 -0500 Bill Gatliff b...@billgatliff.com wrote: Did you try the guys over on avrfreaks? Nope, I have never used their forum (I do have an account though, just never used it) because until today this list was always helpful enough... I also gathered that many people

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-26 Thread Vincent Trouilliez
On Thu, 25 Jun 2009 23:28:14 -0500 David Kelly dke...@hiwaay.net wrote: I don't remember how to use Makefiles from within AVR Studio but if you install WinAVR in your virtual XP machine then if you have access to your source files it should be easy to add them to an AVR Studio project,

[avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-25 Thread Vincent Trouilliez
Hi list, I bought my Dragon fairly recently and it has not seen much use, and I did protect it with a nice little plastic box with rubber feet. So I don't think it's physically damaged. But, I notice that it is etremely slow at reading the contents of the target Flash memory. I do mean VERY

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-25 Thread Vincent Trouilliez
On Thu, 25 Jun 2009 14:53:48 -0500 Bill Gatliff b...@billgatliff.com wrote: Have you tried it with AVR Studio? That might help pin down where the problem is. Nope. I am on Linux and I think (?) AVR Studio is only available for Windows. FWIW, I haven't seen slow _anything_ with Dragon under

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-25 Thread Vincent Trouilliez
On Thu, 25 Jun 2009 15:48:06 -0500 Bill Gatliff b...@billgatliff.com wrote: I think AVR Studio might run ok under Wine. Didn't work on Wine, so tried it in a virtual machine... avr studio fails to connect to the Dragon. I did notice that Windows XP detected the Dragon at start up, and wanted to

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-25 Thread Vincent Trouilliez
On Fri, 26 Jun 2009 01:04:09 +0200 Vincent Trouilliez vincent.trouill...@modulonet.fr wrote: Avrdude can do it so presumably AVR Studio should be able to as well ! Oh no... I just gave avrdude a try just after leaving Windows and rebooting into Linux, and ohmy God, now even avrdue fails

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?

2009-06-25 Thread Vincent Trouilliez
Yes, but the driver is supposed to be installed along with AVR Studio so it shouldn't need to hunt very far for it. Part of the driver's function is to set information so that Windows and AVR Studio can recognize what the board is. AVR Studio then installs firmware into the Dragon itself.

Re: [avr-chat] newbie question

2009-04-29 Thread Vincent Trouilliez
On Wed, 29 Apr 2009 11:27:06 -0400 King, Mike mk...@klmicrowave.com wrote: What problems will be solved by a watchdog circuit? It recovers a system, by putting it a knonw state after it has gone out of control, whatever the cause of the loss of control... For example, will it only protect

Re: [avr-chat] AVR Studio under VirtualBox, anyone?

2009-03-13 Thread Vincent Trouilliez
On Fri, 13 Mar 2009 08:25:00 -0400 Bob Paddock graceindustr...@gmail.com wrote: Only thing I find annoying, and I doubt it is specific to VirtualBox, is that when doing nightly backups you end up backing up this huge file everyday that you used VirtualBox. VirtualBox needs some type of delta

Re: [avr-chat] AVR Studio under VirtualBox, anyone?

2009-03-13 Thread Vincent Trouilliez
On Fri, 13 Mar 2009 15:48:48 -0400 Graham Davies ecros...@ecrostech.com wrote: Hmm. So, maybe I should try Linux as the host operating system, not Windows. Yeah, the only way to go ! ;-) I have had Linux as the main OS and kept Win XP just in case. After 7 years, retrospectively, I found I

Re: [avr-chat] AVRs with JTAG and without centre pad?

2009-03-06 Thread Vincent Trouilliez
On Fri, 06 Mar 2009 23:33:27 +0200 Pertti Kellomäki pertti.kellom...@tut.fi wrote: ... I looked at datasheets at Atmel's site. It seems that all the devices that have JTAG come in surface mount packages JTAG is not bound to a particular package type. I use an Atmega32 in a DIP40 package and

Re: [avr-chat] thin LCD modules

2009-03-05 Thread Vincent Trouilliez
I need thin (less than 2 mm) LCD modules. Low thickness is my main priority; graphical functionality is less important. 8 symbols x 2 lines, or 16 symbols x 1 or 2 lines, or even graphical display will do. Other dimensions ought to be something around 30x20 mm. Digital

Re: [Fwd: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector?]

2009-03-05 Thread Vincent Trouilliez
On Thu, 05 Mar 2009 06:35:15 -0500 Robert L Cochran cochr...@speakeasy.net wrote: Thanks for the photos, they are very much appreciated. I'm so curious to see your project specifically and get a sense of how you European folks do electronics projects more generally. I'm surprised the LCD

Re: [avr-chat] cheap DIY programming cables: anything on USB ?

2009-03-05 Thread Vincent Trouilliez
On Thu, 5 Mar 2009 20:25:51 +0100 Vincent Trouilliez vincent.trouill...@modulonet.fr wrote: - Cost: Cheap US list price of 49 inc VAT - Shipping 9$ 58 total which translates to only 45 Euros. Oops forgot: delivery time was quick too, only 5 business days. -- Vince

Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector?

2009-03-04 Thread Vincent Trouilliez
On Wed, 04 Mar 2009 20:26:39 -0500 Robert L Cochran cochr...@speakeasy.net wrote: Is there an AVR that is especially good for reading data from an automobile's on-board diagnostic (OBD) connector? Is there already hardware that can do this: a cable for plugging into the OBD port, and a board

Re: [Fwd: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector?]

2009-03-04 Thread Vincent Trouilliez
On Wed, 04 Mar 2009 22:08:27 -0500 Robert L Cochran cochr...@speakeasy.net wrote: Thank you Vince! And Peter, and Dan. Vince, do you have a picture of your circuit? Pictures ? I just took a couple just for you ! ;-) http://freudhoefer.de/File_Share/Vince/ The left halh of the wooden cabinet

Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector?

2009-03-04 Thread Vincent Trouilliez
On Thu, 5 Mar 2009 13:34:14 +1030 Daniel O'Connor dar...@dons.net.au wrote: There are a few connectors listed under obd in places like mouser, dunno if they are what you need though.. Nope, not at first sight... -- Vince ___ AVR-chat mailing list

Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector?

2009-03-04 Thread Vincent Trouilliez
On Wed, 04 Mar 2009 21:50:17 -0500 Graham Davies ecros...@ecrostech.com wrote: Is the OBD connector the same as OBD II? I have ODB II connectors. I could have sent one with your AVR Dragon! Nope they are different. The OBD seems to be trapezoidal in shape, with 16 terminals. The old OBD was

Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector?

2009-03-04 Thread Vincent Trouilliez
On Wed, 04 Mar 2009 21:50:17 -0500 Graham Davies ecros...@ecrostech.com wrote: Is the OBD connector the same as OBD II? I have ODB II connectors. I could have sent one with your AVR Dragon! Ah, I have eventually found a drawing of the thing, hard work it was !

Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector?

2009-03-04 Thread Vincent Trouilliez
On Thu, 5 Mar 2009 06:52:16 +0100 Vincent Trouilliez vincent.trouill...@modulonet.fr wrote: Ah, I have eventually found a drawing of the thing, hard work it was ! http://www.techedge.com.au/vehicle/aldl8192/8192hw.htm if you scroll down a bit, you have the OBD-II connector, and jsut under

Re: [avr-chat] I2C controller: INT flag a bit leaves me confused !

2009-03-03 Thread Vincent Trouilliez
On Tue, 3 Mar 2009 08:00:15 +0100 (MET) j...@uriah.heep.sax.de (Joerg Wunsch) wrote: Just get rid of the idea that SFRs (aka. IO registers) behave the same as a standard SRAM cell would... [snip] Thanks, I think I got it now... ;-) -- Vince ___

Re: [avr-chat] Avrdude and JTAG / Dragon...

2009-03-02 Thread Vincent Trouilliez
On Sun, 1 Mar 2009 21:31:58 -0600 David Kelly dke...@hiwaay.net wrote: Don't expect disappointment. I never figured out what it was with that particular combination of PCB and Dragon but later used the same Dragon on other designs without any sort of hiccup [..] Ahhh, cool :-) -- Vince

Re: [avr-chat] Avrdude and JTAG / Dragon...

2009-03-02 Thread Vincent Trouilliez
On Mon, 02 Mar 2009 14:23:27 -0500 Graham Davies ecros...@ecrostech.com wrote: I think if this was a problem it would have surfaced (a pun?) by now. That's not good enough an argument ;-) Cars are crap and cause loads of problems... but people don't even bother complaing because there is no way

Re: [avr-chat] Avrdude and JTAG / Dragon...

2009-03-02 Thread Vincent Trouilliez
On Tue, 03 Mar 2009 09:17:19 +1100 Russell Shaw rjs...@netspace.net.au wrote: If you know the motherboard number, look it up on the manufacturers web site. I spent 3 weeks examining the specs of any and all boards available, so yes I do know the reference of the mother-board I bought ;-) Have

[avr-chat] I2C controller: INT flag a bit leaves me confused !

2009-03-02 Thread Vincent Trouilliez
Hi, Trying to use the I2C controller on my mega32. Finished reading the datasheet and had a look at the avr-libc example code. I am confused as to how the TWINT flag works ! I mean, you have to set it to logic one to start an action on the bus, and then the code examples wait for that flag to

Re: [avr-chat] I2C controller: INT flag a bit leaves me confused !

2009-03-02 Thread Vincent Trouilliez
On Mon, 2 Mar 2009 17:22:21 -0800 pla...@wazzucougars.org wrote: However, I also note that you probably shouldn't use the TWINT bit to determine if the TWI transfer is complete The datasheet actually explains in the code examples that this flag is indeed what they watch to determine that an

Re: [avr-chat] I2C controller: INT flag a bit leaves me confused !

2009-03-02 Thread Vincent Trouilliez
On Tue, 3 Mar 2009 03:49:54 +0100 Vincent Trouilliez vincent.trouill...@modulonet.fr wrote: As I am trying to debug it presently, my problem right is that simply requesting a start operation doesn't seem to succeed, FIXED ! Last week the mega32 on one of two targets was doing funny things

Re: [avr-chat] I2C controller: INT flag a bit leaves me confused !

2009-03-02 Thread Vincent Trouilliez
On Tue, 3 Mar 2009 05:07:26 +0100 Vincent Trouilliez vincent.trouill...@modulonet.fr wrote: ...but not acknoledged, 'cause I blew the slave (PCF 8574, I/O expander, cheap way to test that the bus was working, by lighting LED's via this chip) when supplying it accidentally with unregulated

Re: [avr-chat] Avrdude and JTAG / Dragon...

2009-03-01 Thread Vincent Trouilliez
On Sat, 28 Feb 2009 23:15:02 -0600 David Kelly dke...@hiwaay.net wrote: I have had situations where the combination of Dragon and target board seemed to be ultra sensitive to the cable used between. Where I thought the 6 cable worked and the 9 was not reliable. David don't scare me ! 6

Re: [avr-chat] Re: cheap DIY programming cables: anything on USB

2009-02-25 Thread Vincent Trouilliez
On Wed, 25 Feb 2009 09:44:09 +0100 j...@lillahusetiskogen.se wrote: I guess Paypal is a USAnean company and those people usually insist on states/provinces/regions. Silly people. Yeah, that was my guess too. Being a large federal organization, I guess they find it useful to add the state/area

Re: [avr-chat] cheap DIY programming cables: anything on USB ?

2009-02-25 Thread Vincent Trouilliez
On Thu, 26 Feb 2009 00:25:59 +0530 Royce Pereira royc...@gmail.com wrote: Recently I constructed Tuxgraphics AvrUsb500v2 -- an open source Atmel AVR Programmer, stk500 V2 compatible, with USB interface. Thanks Royce, but as I said (maybe you didn't follow the thread), I am about to get my

Re: [avr-chat] Re: cheap DIY programming cables: anything on USB

2009-02-24 Thread Vincent Trouilliez
On Tue, 24 Feb 2009 12:03:34 -0500 Graham Davies ecros...@ecrostech.com wrote: I will have it tomorrow (I forgot some right-angle headers in my previous order to Mouser and so had to submit another) Oh great ! :-) We agreed on $58 US including shipping and handling, so at your leisure you

[avr-chat] cheap DIY programming cables: anything on USB ?

2009-02-22 Thread Vincent Trouilliez
Hi, I mean to buy an AVR dragon at some point, but as usual with anything that must be imported from the US, an affordable product quickly becomes quite expensive ! Especially so, since I noted that the price of the Dragon has increased significantly since I last checked it a year or so ago. IIRC

Re: [avr-chat] cheap DIY programming cables: anything on USB ?

2009-02-22 Thread Vincent Trouilliez
On Sun, 22 Feb 2009 08:02:09 -0500 Graham Davies ecros...@ecrostech.com wrote: If this helps you out, I would be willing to buy your AVR Dragon here in the US and ship it on to you. Both Digi-Key and Mouser have them in stock right now at $49. I would ask for $9 shipping and handing 58

Re: [avr-chat] cheap DIY programming cables: anything on USB ?

2009-02-22 Thread Vincent Trouilliez
On Sun, 22 Feb 2009 09:08:50 -0500 Graham Davies ecros...@ecrostech.com wrote: Je PayPals, tu PayPals, il PayPal Oops, now I think of it, maybe we would add a trailing 'e' at the end of these 3: Je PaypalE Tu PaypalEs Il PaypalE But that's purely hypothetical since this fictive verb just

Re: [avr-chat] cheap DIY programming cables: anything on USB ?

2009-02-22 Thread Vincent Trouilliez
The USBasp is a USB programmer supported in AVRDUDE since version 5.2. The firmware is open source (runs on an AVR) as is the schematic. Maybe people provide gerber files so that you can more easily make you own, and a few even sell their own designs based on the USBasp. You may easily

[avr-chat] Mega32 PORT A and B interaction ?! Driving me nuts !

2009-02-21 Thread Vincent Trouilliez
Sorry for the subject line... but it reallly summarizes things very well ! ;-/ :-( Problem: I was trying to debug my LCD module that stopped functionning somehow. It's attached to PORTA (data bus) and PORTB (control lines). After checking the wiring 200 times and finding nothing wrong whatsoever

Re: [avr-chat] Mega32 PORT A and B interaction ?! Driving me nuts !

2009-02-21 Thread Vincent Trouilliez
On Sat, 21 Feb 2009 20:58:40 +0100 Vincent Trouilliez vincent.trouill...@modulonet.fr wrote: The generated assembly in all cases, looks correct. I just can't make sense of all that, other than the AVR losing it.. which doesn't make sense either does it. Anyone had any experience that could

Re: [avr-chat] OT: will trade JtagIce2's for Dragon's

2009-02-13 Thread Vincent Trouilliez
On Wed, 11 Feb 2009 17:25:32 -0700 Steve Franks bahamasfra...@gmail.com wrote: I hope this isn't inappropriate for this list. Well, it 's mean to chata bout AVR's, so must be appropriate ! ;-) I've 3 jtagice2's with broken cables. I'll trade any of them for dragons. I never debug anyway.

Re: [avr-chat] UART half-duplex link, ignoring echo : how best to implement it ?

2009-02-10 Thread Vincent Trouilliez
Thank you both for your replies Dave and Dave ! ;-) -- Vince ___ AVR-chat mailing list AVR-chat@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-chat

Re: [avr-chat] ATmega644 : dual USART... or not dual usart.. that, is the question !

2009-02-09 Thread Vincent Trouilliez
Joerg, thanks for all the info, I can now make an informed decision ! :-) Pertti Kellomäki pertti.kellom...@tut.fi wrote: You could try the uALFAT chip: http://www.ghielectronics.com/ It is basically a pre-programmed ARM which takes care of the SD card and FAT file system. I built a prototype

Re: [avr-chat] ATmega644 : dual USART... or not dual usart.. that, is the question !

2009-02-08 Thread Vincent Trouilliez
On Sun, 8 Feb 2009 08:41:30 +0100 j...@lillahusetiskogen.se wrote: Why not use an SD-card? http://www.captain.at/electronic-atmega-sd-card.php I did/do consider it. It's just that I have never used SD cards before. From a distance, they appear a bit high-tech to me (though I understand they

Re: [avr-chat] ATmega644 : dual USART... or not dual usart.. that, is the question !

2009-02-08 Thread Vincent Trouilliez
On Sun, 8 Feb 2009 19:33:54 +1030 Daniel O'Connor dar...@dons.net.au wrote: The other option would be something like Vinculum http://www.vinculum.com/ - then you can connect USB flash drives to your micro :) He he, flash drives are not in my budget ! ;-) Also, they are a bit too large for the

Re: [avr-chat] ATmega644 : dual USART... or not dual usart.. that, is the question !

2009-02-06 Thread Vincent Trouilliez
On Fri, 6 Feb 2009 06:13:00 +0100 (MET) j...@uriah.heep.sax.de (Joerg Wunsch) wrote: Careful: that's /not/ called ATmega1284 but ATmega1284P. You should have learned now that these letters might make a difference... Oops sorry, yes I meant 'P ;-) Curious, why are you limited to DIP

Re: [avr-chat] ATmega644 : dual USART... or not dual usart.. that, is the question !

2009-02-06 Thread Vincent Trouilliez
On Fri, 6 Feb 2009 15:27:32 -0600 David Kelly dke...@hiwaay.net wrote: DigiKey are nice guys (and gals). If they have stock but only a listing for full tubes it doesn't hurt to ask. Atmel doesn't ship singles to DK, its DK who breaks the bigger packages into smaller. Good to know ! :-) Sadly

Re: [avr-chat] ATmega644 : dual USART... or not dual usart.. that, is the question !

2009-02-06 Thread Vincent Trouilliez
Robert L Cochran cochr...@speakeasy.net wrote: Well, why not just give surface mount parts a try? Thanks Robert, you make it sound doable somehow ! ;-) I will give them a try and get a tiny tip for my iron, see what I can manage after some training... I guess I don't have much choice anyway,

Re: [avr-chat] ATmega644 : dual USART... or not dual usart.. that, is the question !

2009-02-06 Thread Vincent Trouilliez
On Fri, 06 Feb 2009 23:08:54 -0500 Robert L Cochran cochr...@speakeasy.net wrote: I love watching SparkFun.com and YouTube videos to see how things are done. Go to http://www.sparkfun.com/ first, they have expert solderers and they did a beautiful job of filming the tutorials on surface mount

Re: [avr-chat] ATmega644 : dual USART... or not dual usart.. that, is the question !

2009-02-05 Thread Vincent Trouilliez
On Thu, 5 Feb 2009 20:11:47 +0100 (MET) j...@uriah.heep.sax.de (Joerg Wunsch) wrote: The confusing story is that the ATmega644 has a single USART only, but the ATmega644P (i.e. the picopower version) offers two of them, as it's a sibling of the ATmega164P/324P (these are not available without

[avr-chat] ATmega644 : dual USART... or not dual usart.. that, is the question !

2009-02-03 Thread Vincent Trouilliez
Hi list, That is the question, indeed ! My AVR project currently is based on a mega32 (selected 3+ years ago), which has a single USART. I actually need two serial links, but since they are mutually exclusive (when I work on one, I don't need to work on the other), it could be possible to

Re: [avr-chat] ATmega644 : dual USART... or not dual usart.. that, is the question !

2009-02-03 Thread Vincent Trouilliez
Bill Rochat b...@rnrtech.com wrote: I have used the 644 in several apps. needing 2 UARTs. Believe me, it has 2 UARTs. Weddington, Eric ewedding...@cso.atmel.com wrote: Always: The Atmel web site (www.atmel.com) is the *OFFICIAL* place to get the latest datasheets. Thanks Eric and Bill, I

Re: re[avr-chat] ad data between DS1302 and ATMEGA8

2009-02-02 Thread Vincent Trouilliez
Dears all, there is some fault in following procedure. Function returns value, but with same number. data1; That might be your problem: data shifts data but does NOT put the result back into data. The compiler probably optimizes this statement out, as it has no effect in practice. What you

Re: [avr-chat] avrduderc file : template ?

2009-01-07 Thread Vincent Trouilliez
On Wed, 7 Jan 2009 06:20:57 +0100 (MET) j...@uriah.heep.sax.de (Joerg Wunsch) wrote: As for the -U option, remember that you can shorten -U flash:w:somefile:a to just -U somefile I didn't know that, that's quite nice indeed, thanks ! -- Vince

Re: [avr-chat] avrduderc file : template ?

2009-01-06 Thread Vincent Trouilliez
It's basically an avrdude.conf file. Mine has: default_programmer = jtag2; default_serial = usb; Ah, ok... mmm I am starting to fear then that it can only specify the programmer to be used ? I would have hoped avrduderc was designed to take any and all available command line arguments

Re: [avr-chat] avrduderc file : template ?

2009-01-06 Thread Vincent Trouilliez
On Tue, 6 Jan 2009 16:16:15 -0700 Weddington, Eric ewedding...@cso.atmel.com wrote: For that you need a batch file (for a DOS box) or a shell script (*nix), Well yes, I guess a script will do just fine. It's just that before resorting to that, I wanted to see if I could use avrduderc which

[avr-chat] avrduderc file : template ?

2009-01-03 Thread Vincent Trouilliez
Hi list, I would like to create an avrduderc config file in my home directory, where I would specify some avrdude options, to save me from typing them on the command line every time I invoke avrdude. The man page says the config file is named avrduderc, but it doesn't say how to use it in

[avr-chat] Avrdude refuses to free the AVR RESET line...

2008-12-31 Thread Vincent Trouilliez
Hi list, After over a year of being idle gathering dust, I am trying to resurect my AVR project. Obviously the whole AVR toolchain has evolved since the last time that I touched my project. I installed the whole toolchain from the repositories of my distro (Ubuntu 8.10), and it provided me with

Re: [avr-chat] Avrdude refuses to free the AVR RESET line...

2008-12-31 Thread Vincent Trouilliez
On Wed, 31 Dec 2008 17:24:20 -0700 Weddington, Eric ewedding...@cso.atmel.com wrote: All known problems are reflected in the bug list found at the avrdude project on Savannah. If it's not on that bug list, then it should be added as a new bug. Ooops, I tried with an older version of avrdude

[avr-chat] About JTAG...

2008-04-07 Thread Vincent Trouilliez
Hi list, I started an AVR project long ago, uses an ATmega32, programmed via ISP. I am about to modify the hardware and while at it, would like to switch from using ISP to using JTAG, so as to get experience in using JTAG in its own right (since I never used it), as well as enjoy (I anticipate it

Re: [avr-chat] AVR and accelarometers

2007-11-17 Thread Vincent Trouilliez
On Sat, 17 Nov 2007 12:38:42 -0600 David Kelly [EMAIL PROTECTED] wrote: IIRC the history of I2C was that it was created in retaliation for Apple not freely licensing Apple Desktop Bus. I2C never caught on as a keyboard/mouse interface but is widely used for other things such as

Re: [avr-chat] GUI wrapper for avrdude

2007-08-24 Thread Vincent Trouilliez
On Fri, 24 Aug 2007 17:55:27 +0200 Juergen Harms [EMAIL PROTECTED] wrote: I am passing some quiet vacation afternoons, dreaming. Has a GUI wrapper for avrdude already been considered? Have a look at www.sourceforge.net and use the search box at the top. Searching for avrdude returns 3

Re: [avr-chat] Programmer configuration

2007-07-10 Thread Vincent Trouilliez
Wojtek Dabrowski [EMAIL PROTECTED] wrote: I'm just wondering... I just soldered myself the programming board described under http://www.bsdhome.com/avrdude/ Now I'm trying to figure out how to tell avrdude that this is the one I'm using. It seems not to be mentioned in avrdude.conf, is that

Re: Re : [avr-chat] Proper programmer for Linux ?

2007-07-06 Thread Vincent Trouilliez
Yann GOUY [EMAIL PROTECTED] wrote: hello, Digikey sells to France, use http://fr.digikey.com/ Hi Yann, nice to see you are still around... it's rocket launching season for you I think ! ;-) Thanks for the link to the French site, don't know how I missed it, I don't remember seeing a French

[avr-chat] Proper programmer for Linux ?

2007-07-02 Thread Vincent Trouilliez
Hi list, I keep having random problems communicating with my AVR chips, using my simplistic bsd DIY parallel port cable. I used to blame the chip itself, but today, the chip is running its program just fine as I write this, yet avrdude can't connect to it anymore. Worked fine yesterday, will

Re: [avr-chat] Proper programmer for Linux ?

2007-07-02 Thread Vincent Trouilliez
Juergen Harms [EMAIL PROTECTED] wrote: I have invested into a JTAG (a) because of Yeah, I would love JTAG, for the two reasons yuo gave, and also, mostly because of the super marvelous in-circuit debugging features provided by the AVR ! But unfortunately I don't know of a source level GUI

Re: [avr-chat] Proper programmer for Linux ?

2007-07-02 Thread Vincent Trouilliez
Kreyl [EMAIL PROTECTED] wrote: My one is at least 180cm. I never had problems with it, with all my computers. Wow, sounds reassuring then, great :-) so the buffer can only help I presume. I never did something special to make work all of this. AvrDude works quite fine. I was

Re: [avr-chat] Chip running too hot ?! :-/

2007-06-26 Thread Vincent Trouilliez
[EMAIL PROTECTED] (Joerg Wunsch) wrote: Couldn't you simply measure the current it draws? I'm afraid it's too much, yes. Ah... a new chip is on order then... oops. -- Vince, AVR killer. ___ AVR-chat mailing list AVR-chat@nongnu.org

Re: [avr-chat] Chip running too hot ?! :-/

2007-06-26 Thread Vincent Trouilliez
Graham Davies [EMAIL PROTECTED] wrote: I have an ATmega32 DIP right here. I left it on overnight. It is not possible to feel any temperature rise above ambient. What software is it running? What hardware is it connected to? Could there be outputs shorted driving in the opposite direction?

Re: [avr-chat] TCP/IP : practical guide to implementing ? (LONG post...)

2007-06-12 Thread Vincent Trouilliez
Thanks chaps, for all your contributions ! That did help a lot, I have now I think, figured out the best way to proceed in view of this interview... and far beyond. The one interesting point that stood out I find, is that there really isn't one single, best/approved way to learn embedded TCP/IP.

Re: [avr-chat] device not found?!

2006-04-21 Thread Vincent Trouilliez
On Fri, 2006-04-21 at 10:39 +0200, Jan-Erik wrote: Hallo; There is the next! it don't open the lp port! avrdude -c sp12 -p m8 -P /dev/lp0 avrdude: can't claim device /dev/lp0: Invalid argument I had similar problems when I was beginning with Avrdude. Avrdude doesn't use /dev/lp0. Instead

Re: [avr-chat] device not found?!

2006-04-21 Thread Vincent Trouilliez
On Fri, 2006-04-21 at 14:14 +0200, Jan-Erik wrote: And now? Can I burn my prog on the AVR? because it seams like it don't see my AVR: JanniMainPc:/home/jan-erik/avrdude-5.1 # avrdude -c sp12 -p m8 -P /dev/parport avrdude: AVR device not responding avrdude: initialization failed, rc=-1

Re: [avr-chat] Crystals (was ATmega32 @ 16MHz : fuse bits ??)

2005-11-17 Thread Vincent Trouilliez
hfuse: c9 lfuse: ef lock: 3f Thanks. -- Vince ___ AVR-chat mailing list AVR-chat@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-chat

Re: [avr-chat] Crystals (was ATmega32 @ 16MHz : fuse bits ??)

2005-11-15 Thread Vincent Trouilliez
On Tue, 2005-11-15 at 14:25 +1000, Neil Davey wrote: It is possible for the strip tracks to have cracks in them, either from manufacture, fatigue or stress, so it might not hurt to run a line of solder over the unused tracks between the micro and the crystal... Also, I know it's a simple

Re: [avr-chat] JTAG ICE mkI / II

2005-11-15 Thread Vincent Trouilliez
On Tue, 2005-11-15 at 12:13 -0500, Graham Davies wrote: Vincent Trouilliez wrote: ... I am bit afraid/scared that an accidental contact with my big fat fingers might damage the [ICE-Cube] with a mega huge ESD shock ! ;-) Just to clear this up (I'm starting to worry about using too much

Re: [avr-chat] ATmega32 @ 16MHz : fuse bits ??

2005-11-11 Thread Vincent Trouilliez
There is some magic to making crystals oscillate. Not all crystals are alike. Motorola/Freescale is very good about spec'ing crystals, Atmel is sloppy. Wrote to Atmel once asking and was told the page number to consult in the manual for setting oscillator fuses. Wrong answer. I wanted

Re: [avr-chat] Crystals (was ATmega32 @ 16MHz : fuse bits ??)

2005-11-11 Thread Vincent Trouilliez
Hi Graham, On Fri, 2005-11-11 at 10:46 -0500, Graham Davies wrote: I hope this helps. I don't think most people will have to worry much about crystals. I doubt that Vincent's problem was crystal selection or the wrong load capacitors. That's annoying... because if my fuse bits are correct,

Re: [avr-chat] ATmega32 @ 16MHz : fuse bits ??

2005-11-10 Thread Vincent Trouilliez
On Fri, 2005-11-11 at 05:11 +0100, Peter Fuhrmann wrote: I use the same settings for CKOPT and CKSELwith a Meag32, and it work fine. There mgith be another chance: I guess Your Atmega just doesnt like your Chrystal, so you could try using anotherone, maybe from some old hardware that you've

RE: [avr-chat] LCD corruption

2005-09-29 Thread Vincent Trouilliez
On Thu, 2005-09-29 at 09:46 +0100, Spencer Hollingum wrote: I have seen some COG( Chip on Glass) LCDs which were very susceptible to radiated noise, no matter what HW solutions were tried. Hi Spencer, My project is going to work in a noisy (automotive) environment, and although it uses a

RE: [avr-chat] LCD corruption

2005-09-29 Thread Vincent Trouilliez
Hi Vince, I don't know of any problems with the modules you are talking about (that's not to say there aren't any). This was one manufacturers 2x20 COG text module, though a competitors product with presumably a different LCD module did exhibit the similar faults. The fault was

Re: [avr-chat] Using Rotary Encoders...

2005-09-21 Thread Vincent Trouilliez
Brian, Larry Rich, Sorry for the late reply, but my AVR started again refusing to connect to avrdude. Spent lots of time on it. In the end it seems the AVR might be dead for good this time, well at least some or all of the SPI port pin drivers which I might have killed when powering off the AVR

[avr-chat] Using Rotary Encoders...

2005-09-20 Thread Vincent Trouilliez
Hi gents, I would like your opinions/experiences about using rotary encoders. I have planned on using one for my project, so ordered one to experiment with (never used them before). It's a mechanical one, with the usual 2-bit gray code output. I was expecting loads of bounces, but got only a

Re: [avr-chat] Serial Numbers with avrdude (or other?)

2005-09-14 Thread Vincent Trouilliez
On Wed, 2005-09-14 at 07:40 -0500, David Kelly wrote: Also in the manpage I see memtype is often used, defined as The memtype field specifies the memory type to operate on. But its valid values are never enumerated. I wondered about this too, when I first started to use avrdude. I found

Re: [avr-chat] Avrdude : how to slow it down ?

2005-09-14 Thread Vincent Trouilliez
In 'par.c', set the SLOW_TOGGLE #define to '1' and recompile. This slows down the clocking and is mostly intended as a debugging option, not really intended to be user settable. But as you said, you have the source so the world is your oyster :-) -Brian H, I don't understand... with

Re: [avr-chat] Avrdude : how to slow it down ?

2005-09-14 Thread Vincent Trouilliez
H, I don't understand... with the default usleep(1000) delay you put to toggle_pin and set_pin, it took 1330seconds to write 4.5KB. I changed the delay down to 50, 20 times less, but it still takes 885s to write... :-/ When it has finished to read back/verify, I will try 5 instead of

Re: [avr-chat] HowTo split a program into several files ?

2005-09-13 Thread Vincent Trouilliez
Hi David, Eric, Joerg, David, I will look into this .depend thing but it seems a bit obcure to me at the moment and since it works just fine with it commented out, I will allow myself a few days before plunging into the Makefile again ! ;-) Eric, had a look at the page you pointed me to on

  1   2   >