2011-01-24 by Tim Mitchell
----Original Message---- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Steve Hodge Sent: 24 January 2011 14:41 To: AVR-Chat@yahoogroups.com Subject: RE: [AVR-Chat] ISP for Tiny84 > Thanks. Just out of curiosity, do you know why Atmel > didn't just
Thread view
Attachments: 0
2011-01-24 by Tim Mitchell
----Original Message---- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Steve Hodge Sent: 23 January 2011 22:05 To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] ISP for Tiny84 > The data sheet for the Tiny84 does not explicitly mention > "ISP" but I
Thread view
Attachments: 0
2011-01-23 by Steve Hodge
The data sheet for the Tiny84 does not explicitly mention "ISP" but I assume it can be done because the manual for my ISPMkII programmer says it supports the Tiny84 with ISP. Am I correct that the "Memory Programming" section of the data sheet is the relevant section and that I:
Thread view
Attachments: 0
2011-01-21 by H. Carl Ott
For JTAG (and DW and PDI) on the more current chips a Dragon for about $50 USD is probably the way to go. I managed to blow up my first gen. dragon (there were problems), but supposedly the new ones are far more robust. I've been using a real Atmel JTAGICE MKII for a couple of ye
Thread view
Attachments: 0
2011-01-21 by Tim Mitchell
I recently upgraded a project from Mega16 to Mega164PA which is very similar to what you are doing. You shouldn't have any problems except a lot of the register names need changing, and the timer setup is slightly different. If you are programming in assembler (which I seem to re
Thread view
Attachments: 0
2011-01-21 by Cat
I don't know the tool you already use, I thought anything that can do the 32A can do the 644P, but I know the Dragon. Yes, get the Dragon IF you need another tool. It works, it's cheap. Good luck, Cat -----Original Message----- From: Chuck Hackett Sent: Thursday, January 20, 2011
Thread view
Attachments: 0
2011-01-21 by Mike Payson
The clone JTAG debuggers only support very old chips. For more modern chips you need either an AVR Dragon, an AVR JTAG ICE MK II or an AVR One. On Thu, Jan 20, 2011 at 9:20 PM, Chuck Hackett wrote: > Well it's an old story and I should have known better but I am running out > of
Thread view
Attachments: 0
2011-01-21 by Chuck Hackett
> From: Don Kinzer > > --- In AVR-Chat@yahoogroups.com, "Chuck Hackett" wrote: > > To those of you that use a C Function Prototype Generator to > > automatically generate function prototypes from C source files: > In 30+ years of C/C++ programming, I've never used one. In my esti
Thread view
Attachments: 0
2011-01-21 by Chuck Hackett
Well it's an old story and I should have known better but I am running out of memory on my controller and I need to upsize and I only have a couple of weeks to get this done. I'm looking at switching from an ATMega32a in a TQFP-44 to a ATMega644 in a TQFP-44. Due to the fact that
Thread view
Attachments: 0
2011-01-20 by Chuck Hackett
To those of you that use a C Function Prototype Generator to automatically generate function prototypes from C source files: What utility do you use? I searched AVR Freaks and Source Forge and came up with one called cproto but it needs to be compiled and I don't have a C compi
Thread view
Attachments: 0
2011-01-20 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" wrote: > To those of you that use a C Function Prototype Generator to > automatically generate function prototypes from C source files: In 30+ years of C/C++ programming, I've never used one. In my estimation they are a solution se
Thread view
Attachments: 0
2011-01-15 by Chuck Hackett
> From: Don Kinzer > .... > --- In AVR-Chat@yahoogroups.com, "Chuck Hackett" wrote: > > I used the __func__ compiler symbol which worked fine, except, > > as far as I can tell WinAVR insists on placing the function > > name in SRAM space as opposed to program space [...] > > Yes,
Thread view
Attachments: 0
2011-01-15 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" wrote: > I used the __func__ compiler symbol which worked fine, except, > as far as I can tell WinAVR insists on placing the function > name in SRAM space as opposed to program space [...] Yes, all constant strings are RAM-based un
Thread view
Attachments: 0
2011-01-15 by Chuck Hackett
While I was tracking down my 'clobbered stack' problem I implemented a couple of function Enter/Exit macros that I placed in functions in an effort to isolate exactly where the problem was occurring. On entry I reported the function name as well as the stack pointer, on exit I ju
Thread view
Attachments: 0
2011-01-15 by Chuck Hackett
> From: Gary Skinner > > Are you sure the breakpoint at main is not because of a watchdog timeout? Good thought, but, Yes I'm sure for a couple of reasons: 1) I disable the WDT when debugging (more below), and 2) I had a breakpoint in the 'init3' section where I decipher the reas
Thread view
Attachments: 0
2011-01-13 by David VanHorn
On Wed, Jan 12, 2011 at 12:19 PM, Gary Skinner wrote: > Are you sure the breakpoint at main is not because of a watchdog timeout? Very likely. Suggestion: Put a breakpoint at the reset vector, if you get there, you will know.
Thread view
Attachments: 0
2011-01-12 by Gary Skinner
Are you sure the breakpoint at main is not because of a watchdog timeout? Gary Skinner, ESI [Non-text portions of this message have been removed]
Thread view
Attachments: 0
2011-01-12 by Kasper Pedersen
On 01/11/2011 05:24 PM, David VanHorn wrote: > > I'm interested to know, from anyone who actually has this device in > production, how you are doing frequency setting. > I have a board with an AT32UC3A0512 and an AT86RF231. And another with an ARM9 and an AT86RF231. When the boar
Thread view
Attachments: 0
2011-01-11 by Chuck Hackett
I'm fairly sure that I'm into a stack overflow/buffer overrun bug in my (FreeRTOS based) application on an ATMega32A. It gets through initialization and initial task creation but very shortly after that it re-executes the "main" function (as shown by a breakpoint). My guess is th
Thread view
Attachments: 0
2011-01-11 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" wrote: >[...] but very shortly after that it re-executes the "main" >function (as shown by a breakpoint). That sounds like it could be data corruption due to the stack colliding with statically allocated data. It could, however, be
Thread view
Attachments: 0
2011-01-11 by wagnerj@proaxis.com
Hello, David - No direct experience on these chips, but with some RF hardware, generally. If you measure the output frequency, you will need to insure that none of the frequency hopping is going on. That MAY require different code for testing or a special "test mode" with all tha
Thread view
Attachments: 0
2011-01-11 by David VanHorn
I'm interested to know, from anyone who actually has this device in production, how you are doing frequency setting. I'm thinking in terms of a counter driven by IEEE488, and some sort of automated process to tweak the on-chip cap values to dial in the oscillator. It's not clear
Thread view
Attachments: 0
2011-01-11 by Dave McLaughlin
No worries Steven. It might come in handy for another project some day. I use them all the time to make front panels for my data recorders and for one of custom designs. Makes a very nice and professional looking design and sure beats cutting out by hand and at a very reasonable
Thread view
Attachments: 0
2011-01-10 by Steven Holder
On 10/01/2011 13:04, Dave McLaughlin wrote: > > Hi Steven > > If you want a really nice and professional finish try this idea. > > Use one of the Hammond 1455 series. (they have 3D step models of their > enclosures if you have suitable software to edit them. I use Alibre > Design
Thread view
Attachments: 0
2011-01-10 by wagnerj@proaxis.com
Steve - I would hardly call it paranoia. That is exactly how I would interpret it. One thing to watch out for with lower leakage devices. The spread between the hold-off voltage (working voltage) and the breakdown voltage MAY be greater which could translate into a larger series
Thread view
Attachments: 0
2011-01-10 by Steve Hodge
Jim, a quick question. It's probably a dumb one, but I'm getting a bit paranoid that I could be missing something. I assume the leakage current only occurs when the line is high, or more correctly, above ground (ignoring transient events). If so any active-low line that is pulled
Thread view
Attachments: 0
2011-01-10 by Ken Holt
Or, if a battery is used for VCC: every time you'd like a new 8 bit seed for the code PN, read your battery voltage 8 times with the 10 bit ADC, use the LSB of each read to construct the seed. No extra external parts! David VanHorn wrote: > > When I hear the word "Random", I get
Thread view
Attachments: 0
2011-01-10 by David VanHorn
Does someone have a copy of this that they could send me? It's referenced on the AVR site: http://www.atmel.com/dyn/products/product_card.asp?part_id=4338 but if you try to download it, the file does not exist. I need some examples of an AT86RF231 under 15.247. Thanks
Thread view
Attachments: 0
2011-01-10 by Dave McLaughlin
Nice link there Jeff. Pity they don’t offer 3D models of the enclosures but I might email and ask them. Sometimes companies will offer based on signing an NDA first. Dave... --- Very funny Scotty, now beam down my clothes!!! --- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yah
Thread view
Attachments: 0
2011-01-10 by David VanHorn
When I hear the word "Random", I get nervous. One version of "Random" actually means "Unpredictable". Thermal noise, radioactive decay.. Useful for cryptographic one time pads. The other actually means "Gaussian". PN sequence, etc. For a dice app, I'd use a long PN generator cloc
Thread view
Attachments: 0
2011-01-10 by STEVEN HOLDER
Jeff, Brilliant, thank you looks like just the job. Regards --- On Mon, 10/1/11, Jeffrey Engel wrote: From: Jeffrey Engel Subject: Re: [AVR-Chat] Cases To: AVR-Chat@yahoogroups.com Date: Monday, 10 January, 2011, 12:00 Maybe something like this? http://www.pactecenclosures.com/pr
Thread view
Attachments: 0
2011-01-10 by Dave McLaughlin
Hi Steven If you want a really nice and professional finish try this idea. Use one of the Hammond 1455 series. (they have 3D step models of their enclosures if you have suitable software to edit them. I use Alibre Design) http://www.hammondmfg.com/1455.htm Next, use Front Panel E
Thread view
Attachments: 0
2011-01-10 by Jeffrey Engel
Maybe something like this? http://www.pactecenclosures.com/product-search.php#bm25 Jeff Happiness is - positive intake manifold pressure. --- On Mon, 1/10/11, STEVEN HOLDER wrote: From: STEVEN HOLDER Subject: [AVR-Chat] Cases To: AVR-Chat@yahoogroups.com Date: Monday, January 10,
Thread view
Attachments: 0
2011-01-10 by STEVEN HOLDER
Chaps, Am doing a project for an serial to ethernet interface and am looking for a ready made case that has a db9 serial opening at one end and a rj45 opening at the other, does anyone know of who would make one or any possibilities that may fit the bill, i know i culd get an enc
Thread view
Attachments: 0
2011-01-10 by Eugene
In my humble opinion the best way is using the noise of p-n transition, well let it be 2 OPs more in one soic8 (for example) and some additional smd components - it's much better than floating inputs. If you are going to use them you should eliminate possible regular external inf
Thread view
Attachments: 0
2011-01-09 by Clark Martin
On Jan 9, 2011, at 6:26 AM, Eugene wrote: > > > > No debugger? Boy, I wish I could write software without bugs! :-) > > > > I've told about IDE+debugger, sure, I use serial port to get out some kind of debug info and ascii terminal or homemade tool to visualize signals, but often
Thread view
Attachments: 0
2011-01-09 by Eugene
> Simulation? Check out: > > http://www.youtube.com/watch?v=YRadVDw5dBA :-) Coool :))) I was exactly not correct :)) Is there real hand-made steam engine? > > No debugger? Boy, I wish I could write software without bugs! :-) > I've told about IDE+debugger, sure, I use serial port
Thread view
Attachments: 0
2011-01-09 by Dave McLaughlin
Resent as Yahoo messed up the formatting (AGAIN!!!!)........... --------------------------------------------------------------- Yea, I kind of took a "Leap of faith" :-) [>] Good for you. I often use my hobby time to learn new devices [>] or programming and it pays dividends at t
Thread view
Attachments: 0
2011-01-09 by Dave McLaughlin
Resent as Yahoo messed up the formatting............... ---------------------------------------------------------------------------- ---- Yea, I kind of took a "Leap of faith" :-) [>] Good for you. I often use my hobby time to learn new devices or programming [>] and it pays divi
Thread view
Attachments: 0
2011-01-09 by Dave McLaughlin
Yea, I kind of took a "Leap of faith" :-) [>] Good for you. I often use my hobby time to learn new devices or programming and it pays dividends at the office later. ** at the moment I'm using a fairly slow SPI transfer rate but, after I get the firmware checked out I'll step up t
Thread view
Attachments: 0
2011-01-08 by Clark Martin
\ On Jan 8, 2011, at 1:39 PM, Chuck Hackett wrote: > This is mostly a "mind experiment" because I don't have a current need but, is there > a way to obtain a truly random (8-bit is good enough) number on an AVR? I'm not > talking "random" in the statistically pure sense, just non
Thread view
Attachments: 0
2011-01-08 by enkitec@gmail.com
Use the Watchdog to capture the Timer. Change the Watchdog prescaler after each capture. Mark On 08-Jan-11 20:12, airmaledfw wrote: > --- In AVR-Chat@yahoogroups.com, "Chuck Hackett" wrote: >> All I can think of is something like setting up one of the analog inputs as 'free >> fl
Thread view
Attachments: 0
2011-01-08 by Chuck Hackett
> From: Jim Wagner > > One of the common pseudo-random, non-deterministic schemes is to have > a free-running timer. You just grab a value when you need a new > "number". It will be non-deterministic but might not be truly random > in the statistical sense. It will average to the
Thread view
Attachments: 0
2011-01-08 by Jim Wagner
One of the common pseudo-random, non-deterministic schemes is to have a free-running timer. You just grab a value when you need a new "number". It will be non-deterministic but might not be truly random in the statistical sense. It will average to the median. Jim Wagner Oregon Re
Thread view
Attachments: 0
2011-01-08 by Chuck Hackett
This is mostly a "mind experiment" because I don't have a current need but, is there a way to obtain a truly random (8-bit is good enough) number on an AVR? I'm not talking "random" in the statistically pure sense, just non-deterministic. I'm only thinking of using it on startup.
Thread view
Attachments: 0
2011-01-08 by Chuck Hackett
> From: wagnerj@proaxis.com > .... > I think this is an inherent limit due to JTAG debugging. You don't get > history information out of JTAG. .... Hi Jim, As I think someone pointed out, I'm not interested in an 'execution history' (i.e.: what I would call 'tracing') but rather
Thread view
Attachments: 0
2011-01-08 by airmaledfw
--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" wrote: > > All I can think of is something like setting up one of the analog inputs as 'free > floating', turning the gain all the way up, and violating all the "how to avoid ADC > noise" rules and taking a sample. > This is an ide
Thread view
Attachments: 0
2011-01-08 by Chuck Hackett
> From: Dave McLaughlin > > Hi Chuck, > > Well done on the progress. Good to hear you went straight to CAN. Yea, I kind of took a "Leap of faith" :-) > I have one comment on using interrupts that you might need to be aware of. > This won't apply if all your code for the MCP2515 i
Thread view
Attachments: 0
2011-01-08 by Chuck Hackett
> From: Moses McKnight > > I used it for one AVR project. I work mostly in Linux and it runs there > as well, but I also used it in windows with WinAVR. I did not use GDB > so I can't comment on that. Code::Blocks is a nice IDE - in general I > like it better than Eclipse, but th
Thread view
Attachments: 0
2011-01-08 by Chuck Hackett
> From: Steve Hodge > > Hmmm. It's beginning to sound like a crap-shoot. The device I'm > specifically looking at protecting is an AVR uC, its I/O lines specifically. > How would you do it, if I may ask? The environment is a boat one, > basically an automobile one (engines, pumps
Thread view
Attachments: 0