Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RFQ, maybe

2006-05-19 by David Collier

I have a little job which I'm trying to cost.

If anyone wants to actually quote me for some of the work involved, that 
would be helpful. I do have an in-house guy who says he can do it, but 
he's meant to be working on other stuff.

I'd be interested in peoples' informed guesses for the man-hours for 
each of the three stages, and if anyone can see that I've failed to 

Thanks for any contributions.

David

====================================================

                Hardware
                
I don't have a LIN-bus implementation yet, so I could live with delivery 
of the code on a 1-to-1 serial link on a dev board if I can't 
build/buy/borrow some suitable hardware before the code is ready. I'm 
guessing I could debug any problems that show up later.

                Task description
                
Linux end:

Put together a simple implementation of a LIN-bus master. This doesn't 
look too complex. 

The LIN-bus spec can be obtained from
http://www.LIN-subbus.org/

Sadly ( for me ) I haven't found a GPL implementation of the LIN-bus 
master end.

( Apart from re-using the Atmel slave code below, ) example code for the 
master end can be found via

for PIC
http://ww1.microchip.com/downloads/en/AppNotes/00235a.pdf

for Atmel chips
http://www.Atmel.com/dyn/resources/prod_documents/doc4189.pdf
http://www.Atmel.com/dyn/products/app_notes.asp?family_id=606

=======================================================================

Remote end:

Implement a simple LIN-bus slave, using the example code at

http://www.Atmel.com/products/AVR/auto/

This is to be done on an atmega48, though it would be better on an 
ATtiny45 using the USI as a UART. The code example says it supports that 
but I can't find any reference to it. If you find out how the ATtiny can 
be used, we'd love to do it that way.

The function of the remote end is simply to set up the AtoD, and report 
AtoD readings back across the LIN bus when asked.

=======================================================================

Development environment:

Part of what I need is to be able to take over development, and do 
tweaks. So I want a technology transfer to me, of whatever development 
tools were used, to the point where I can recompile, build, load, and 
start the debugger.
Obviously I'd prefer this to be done on an affordable tool, so if the 
compiler you used costs $1000s, it would be worth looking at whether a 
cheaper one can be broken in.
I'm happy to buy in a JTAGICE mk2

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.