EmbeddedRelated.com
Forums

Upload Options

Started by Tom Lucas February 16, 2006
cs_posting@hotmail.com wrote:

> I'd probably not recommend having the customer remove a flash card and > put it in a reader attached to their PC, unless that was something done
While I might not recommend it either, depending on the product and application, I'd want to retain the flexibility to send that urgent update by email NOW rather than fighting customs and paying a fortune to get cards sent by rapid overseas delivery methods. Deliberately designing a system that requires special equipment to generate the cards is not a wise plan. Serial-lock the updates if necessary.
Paul Carpenter wrote:

> Maybe someone could get an OUI and sell blocks of 128 or 1024 as I believe > somebody does but I cannot be sure on that.
This has caused bureaucratic trouble in the past. Not something I'd want to get into.
On 18 Feb, in article
     <1140292483.550314.275460@z14g2000cwz.googlegroups.com>
     zwsdotcom@gmail.com "larwe" wrote:

>Paul Carpenter wrote: > >> Maybe someone could get an OUI and sell blocks of 128 or 1024 as I believe >> somebody does but I cannot be sure on that. > >This has caused bureaucratic trouble in the past. Not something I'd >want to get into.
Makes you wish that there had been a collection of MAC address that were non-routeable or usable on serial links like PPP that could have been allocated to aid development for low budget start ups. Like non-routeable IP addresses. -- Paul Carpenter | paul@pcserviceselectronics.co.uk <http://www.pcserviceselectronics.co.uk/> PC Services <http://www.gnuh8.org.uk/> GNU H8 & mailing list info <http://www.badweb.org.uk/> For those web sites you hate
In article <1140248069.765644.89040@z14g2000cwz.googlegroups.com>, 
x86asm@gmail.com says...
> > Gene S. Berkowitz wrote: > > In article <45mmu7F7cmbbU3@news.dfncis.de>, broeker@physik.rwth- > > aachen.de says... > > > Tom Lucas <tNOSPAMlucas@autonospamflamedotcom.nodot> wrote: > > > > > > > I've just spotted that IrDA will work up to 4MBps. The existing > > > > system already has 19.2Kbs IrDA which has worked well. Does anyone > > > > have experience of using such data rates and how reliable it is? > > > > > > IrDA is an optical link. Meaning you can have problems if a mosquito > > > or the user's hand decides to fly right through your communication. > > > Or some other IrDA device in the room could suddenly want to > > > participate in that interesting discussion it's overhearing. I'd tend > > > to be wary of such a feeble connection for risky operations. > > > > This is simply not the case. > > > > 1. IrDA is not a pinpoint of light. It is a fairly tight cone, and > > unless that mosquito or your hand actually COVER COMPLETELY the > > transceiver window, it is highly resistant to blocking. > > > > 2. IrDA incorporates a link layer protocol that includes automatic > > retries. If a packet is lost or damaged, it's re-sent, simple as that. > > > > 3. IrDA protocols can and do recognize multiple devices, and will only > > carry out transactions with a specified device when multiple contacts > > are present. Also, IrDA is typically designed for short distance (~1M), > > line of sight use. This tends to prevent being "overheard", which isn't > > a problem anyway, and is certainly better than any comparable RF > > solution. > > > > > As circumstantial evidence, consider that makers of mobile phones and > > > similar gear offering IR links to PCs often strongly recommend using > > > wire instead of IR for firmware updates. > > > > Then I'd have to say their implementation sucks. > > > > I helped develop a portable instrument that relies exclusively on IrDA > > for critical file transfers (logged data) and firmware updates. Since > > its introduction, the primary support issue has been laptop > > manufacturers who ship their products with IrDA disabled in the BIOS by > > default, NOT failed file transfers. > > > > Our product supports up to 115Kbps links (auto-negotiated by the IrDA > > link management, by the way), but that limit was imposed by the > > available clock to the UART, not IrDA. > > > > I have used 4Mbps IrDA to transfer hundreds of files between a PC and a > > laptop that lacked an ethernet connection; it is extremely reliable. > > > > --Gene > > Hello Gene, > > I was planning on playing around with IrDA on the PIC MCU's. I was > wondering what is a good IrDA encoder chip (one that I can hook up > directly to the USART at 115KBps). > > Thanks
We used an Oxford 16550 clone UART, that has a built in IrDA driver. We ran the IrDA protocol stack on our microcontroller. --Gene
"Gene S. Berkowitz" <first.last@comcast.net> wrote in message 
news:MPG.1e6078c745242c1c989734@newsgroups.comcast.net...
> In article <45mmu7F7cmbbU3@news.dfncis.de>, broeker@physik.rwth- > aachen.de says... >> Tom Lucas <tNOSPAMlucas@autonospamflamedotcom.nodot> wrote: >> >> > I've just spotted that IrDA will work up to 4MBps. The existing >> > system already has 19.2Kbs IrDA which has worked well. Does anyone >> > have experience of using such data rates and how reliable it is? >> >> IrDA is an optical link. Meaning you can have problems if a mosquito >> or the user's hand decides to fly right through your communication. >> Or some other IrDA device in the room could suddenly want to >> participate in that interesting discussion it's overhearing. I'd tend >> to be wary of such a feeble connection for risky operations. > > This is simply not the case. > > 1. IrDA is not a pinpoint of light. It is a fairly tight cone, and > unless that mosquito or your hand actually COVER COMPLETELY the > transceiver window, it is highly resistant to blocking.
The user would be holding the dongle up to the system anyway and they have already used slow IrDA on this system already so I reckon that should be fine.
> 2. IrDA incorporates a link layer protocol that includes automatic > retries. If a packet is lost or damaged, it's re-sent, simple as that. > > 3. IrDA protocols can and do recognize multiple devices, and will only > carry out transactions with a specified device when multiple contacts > are present. Also, IrDA is typically designed for short distance (~1M), > line of sight use. This tends to prevent being "overheard", which isn't > a problem anyway, and is certainly better than any comparable RF > solution.
I once took my MS RF keyboard to vendor's site and managed to interfere with just about every other RF device there so I'm certainly wary of that.
>> As circumstantial evidence, consider that makers of mobile phones and >> similar gear offering IR links to PCs often strongly recommend using >> wire instead of IR for firmware updates. > > Then I'd have to say their implementation sucks. > > I helped develop a portable instrument that relies exclusively on IrDA > for critical file transfers (logged data) and firmware updates. Since > its introduction, the primary support issue has been laptop > manufacturers who ship their products with IrDA disabled in the BIOS by > default, NOT failed file transfers. > > Our product supports up to 115Kbps links (auto-negotiated by the IrDA > link management, by the way), but that limit was imposed by the > available clock to the UART, not IrDA. > > I have used 4Mbps IrDA to transfer hundreds of files between a PC and a > laptop that lacked an ethernet connection; it is extremely reliable. >
I think my worry was that, although 4Mbps is available, in practical use it would negotiate itself down to a lower speed.
Tom Lucas wrote:
> Any idea how much it costs to buy, say 1000, MAC addresses?
For your application, why bother? Use locally assigned addresses (see http://www.certsoft.com/mac.htm). The easiest way I've found is to pick a 16 or 24 bit most significant "prefix" that meets the locally assigned address criteria (I use 16 bits) and then fill in the lower bits from something like a DS2401 serial number chip. The laptop will have a universally administrated address so there can't be a conflict between the two.