If anyone is trying to compile one of Larry's older progams, such as, say, Dilbert2 - - - Don't forget to add a AvrXSetKernelStack(0) call at the start of the...
Hi, Before using the Atmega128 I had to experiment with a mega103, which doesn't have the I2C (TWI) interface, so I tried a few different software based I2C...
... Thanks. The stk500 board has an i2c ram on it, so I can use that for testing. After looking at ways of adding hardware to the 8535, it started to look like...
For the additional $3 the '163 is a no brainer... I sell boards with the 8535 just to save the $3 since most purchaser are newbies. But I only use 163's for...
Sounds perfect. Another thing you might want to consider: Look for those nice PCFxxxx ICs from National ( I think ). I just got 10 free samples of them. They...
... $3 more if you're starintg out. Otherwise with shipping it ends up being $20 for one chip -- so it's the game of waiting until there's enough you need to ...
Why was AVRx written in assembly. Can someone tell me what are the advantages and disadvantages of writing a RTOS in C v/s assembly. -Shobhit Kanaujia...
Shobhit Omprakash Kan...
sokanauj@...
Jul 15, 2002 5:17 pm
299
... It was driveing me nuts. It's actually right now running on slightly modified version of Larry's Dilbert2 code. I'd started the hardware a while ago...
You *need* quadrature - it simply won't work if you don't have it. With a single input the best you can do is velocity control using the driven direction of...
RTOS's muck around at the register level of the chip. With assembly all sorts of weird optimizations can be done to make tight cycle efficient code. The...
... I think Larry has already answered this, but I'll toss in my two cents worth too. I've written a few little RTOS kernels over the years. I think the...
... That's basicly what I am doing. In fact, it is working, just some values it oscilates on. I modified the monitor so I could directly enter a setpoint, ...
Stephane looked up that chip for me -- it's a TI PCF8574 . This has some interesting possibilites. It takes up two i2c addresses, one for reading (when used...
Well, the 100Khz should only be an issue for the I2C bus side of the register. Looking at the Tiv timing parameter, it requires a minimum of 4us for the INT...
Backgound: My robot has low-level control done with the AVR, with high-level planning and control done on a small linux/PC device (Boundless I-appliance) over...
The double buffering is at the hardware level. The Rx Buffer can hold the results while a new character is shifted in. If you are losing characters even at...
... Or #3 that just hit me: If you print a string larger than 2 characters (the double receive buffer), you will loose whatever comes in durring that time. ...
... . . . And I do. Simply commenting out the line that prints the prompt at the end of the monitor loop solved the problem -- short term. I think buffering...
I stand very much corrected -- Peter Fleury's inturrupt routines are much smaller. ========================================================== Chris Candreva...
I've got what should be a relatively simple task that for some reason needs to have a stack size set around 90 to run, then works or crashes randomly when...
I will be out of the office starting 2002-07-19 and will not return until 2002-08-19. I will respond to your message when I return....
alex.lu@...
Aug 11, 2002 11:01 pm
317
Hey, It's awfully quiet in here. I'm still using the older (pre-2.6d) version of AvrX because I was never able to either compile or work with the latest...
Last time I checked I was using 3.0.4 I believe (obtained w/ avr- gcc --version) As for AvrX I believe I'm still using the good ol' 2.6. Thanks, ... was ... ...
I was able to get AvrX and the samples to compile on 3.2 by doing the following: 1. Asm source that uses I/O needs to have #define __SFR_OFFSET 0 before the ...
Hello everybody, I downloaded Avrx a couple of days ago, and tried to install it on my pc. But after I installed it with the makefile, and tryed the first test...