|
Indeed. I've done a couple too. But as with desktops, sometimes a c/c++ just doesn't seem to cut the mustard. (using avr-gcc here)
One cant be sure that a register value wont be chucked away or that a register wont be loaded twice. Specifically, I'm playing with (a) a musical instrument synthesizer with waveform display and am looking to add the ability to add tracking info - i.e Make an (amiga) .mod player. (b) a cheap and nasty DSO/bus sniffer (c) a 6, 7 or 8 channel RX compatible with the protocols used by both the Turnigy 9x and Husban transmitters. Every byte left is well appreciated, sine they each use a channel-hopping protocol and have rather short frame-times. I need a couple of largish static buffers and few wasted cyles. To maintain a lock and avoid dropping packets, one needs to be rather efficient with the 328. I'm able to successfully change channel between each packet, but still cant capture more than about 5 or 6 packets in a row before I drop one. Interference isn't the problem, it's just a matter of timing. So memory for the channel hopping tables and speed to avoid packet loss are my main interests. This also means that an a7105 2.4ghz module driven by the 328 doesn't satisfy the binding requirements of either a commercial Turnigy/Hobby-King RX.
|
|
|
|
|
|
A lot of hobbyists use the Arduino IDE which has a lot of C++ code and I don't use it so haven't delved to deep in it. But most people that use it seriously use Asm or C for production!
|
|
|
|
|
It certainly will be. I am learning AVR Assembler as a part of my Apprenticeship, using the STK 600 Board[^]. We are currently implementing a Real Time Clock, being triggered by the interrupt signal. Maybe I am going to put it up here when it is finished.
Veni, vidi, caecus | Everything summarizes to Assembly code
|
|
|
|
|
|
I'd be very interested and what's to loose if you publish it also here
|
|
|
|
|
As you say nothing ventured nothing gained. I'm working on converting it now and should be ready in a couple of hours.
|
|
|
|
|
|
I don't know AVR (I'm on the Microchip side) but would be interested.
Veni, vidi, vici.
|
|
|
|
|
|
Great! I am really looking forward to studying that over the weekend.
|
|
|
|
|
Cool let me know what you think!
Enjoy!
|
|
|
|
|
I'm working on AVR so wouldn't mind you posting on it. But whether anyone else would be interested on CP I don't know.
"Program testing can be used to show the presence of bugs, but never to show their absence."
<< please vote!! >>
|
|
|
|
|
Submitted it yesterday AVR Assembler 101[^]
Didn't realize so many people on CP were interrested or worked on AVR.
|
|
|
|
|
Well, anything Low Level get my vote
|
|
|
|
|
Thanks Glenn, I submitted it yesterday and it's getting a fairly good reception so I guess a lot of people think like us.
|
|
|
|
|
count me up as interested
|
|
|
|
|
|
|
As a 'hobbyist' (and one who is not at all insulted by the term) I love assembly language. It is fascinating to see how computers work on a more fundamental level. I would like to see more articles on assembly language - any instruction set.
|
|
|
|
|
I love assembly language also, it has a kind of elegance to it.
I don't use it as much as I use to but at least I know how. Over the years it has allowed me to get very close to the hardware I was on.
|
|
|
|
|
Not too depressed about losing the points, but is that right, maybe a bug?
Well fads they come and fads they go.
And God I love that rock and roll!
Well the point was fast but it was too blunt to miss.
Life handed us a paycheck, we said, "We worked harder than this!"
|
|
|
|
|
Clickety[^]
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|
Ah awesome, no bother, again not complaining or anything, just wanted to point it out incase I did something weird and made a bug happen!
Well fads they come and fads they go.
And God I love that rock and roll!
Well the point was fast but it was too blunt to miss.
Life handed us a paycheck, we said, "We worked harder than this!"
|
|
|
|
|