Re: Microcontrollers, USB and Linux
- From: Frank-Christian Kruegel <dontmailme@xxxxxxxxxxxx>
- Date: Fri, 28 Dec 2007 19:55:54 +0100
On Fri, 28 Dec 2007 12:56:56 +0100, Joost Leeuwesteijn
<joost@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
What's a good architecture for simple embedded/microcontroller software
development (in C) _under Linux_, with respect to the toolchain (C
cross-compiler, assembler, linker, etc.); nativly without using things
like Wine) ?
AVR is. gcc is available, isp downloading is available, JTAG is.
Background info:
I would like to develop a _simple_ and low-cost microcontroller hard-
and software platform for study/training purposes, for my colleagues
Ok, you want AVR. It's simple and easy to learn and to work with, everything
is documented, and there is a large community. And all tools are free.
I would like to use/program USB directly so no FTDI converter IC's to
simulate RS232 ports (What's the point of USB anyway when the first
thing you do is simulate RS-232? Just the option of using a USB hub?).
There are several AVR controllers with native USB built-in, but none in DIP
(32 or 64 pin QFN/QFP).
There is is also a protocol stack available for free that implements
mass-storage, HID, CDC, ...
However, you can always get conversion boards for breadbording, like this
for example:
http://www.reichelt.de//bilder/blaetterkatalog_hk01-2008/index.html?startpage=280
If you need larger numbers (maybe for students etc), you'd better go to a
layout service for a custom board, at best with USB, ISP, and JTAG
connectors and the 16 MHz crystal. The design would take half a day, and
manufacturing these boards in quantities would be cheaper than using these
universal adapter boards.
The Microchip PIC 18F4550 looks great, and only costs a few dollars, but
I don't believe it's possible to develop under Linux (in C), or is it?
The SDDC site says "under construction" for PIC support. The PIC seems
to be the only one that supports USB on a DIP package though...
I'm not aware of a real good compiler under Linux, and I'd avoid PIC. It's a
brain-dead architecture with limited capabilities (RAM bankswitching, 4k
architectural RAM limitation,...)
Mit freundlichen Grüßen
Frank-Christian Krügel
.
- References:
- Microcontrollers, USB and Linux
- From: Joost Leeuwesteijn
- Microcontrollers, USB and Linux
- Prev by Date: Allahdad Al Makhoul will condemn Rosalind
- Next by Date: Rasul Abdul Yusefzai will devise Ralf
- Previous by thread: Re: Microcontrollers, USB and Linux
- Next by thread: Re: Microcontrollers, USB and Linux
- Index(es):
Relevant Pages
|