----- Original Message -----
From: "Bostjan Glazar"
To:
Sent: Wednesday, April 30, 2008 10:38 AM
Subject: [lpc2000] Re: lpc2xxx serial number > You can use some sort of autoconfiguration to
configure different
> addresses on system initialisation. The algorithm can use random numbers.
> Of course you should take into account time in order to produce different
> numbers in each microcontroller. The address can then be saved in a
> nonvolatile memory.
One of my colleagues once asked me how to put serial numbers into Atmel AVR
chips that we were using in a new product. I wrote a simple macro using m4
that generated sequential numbers that were programmed into the EEPROM when
the flash memory was programmed. IT won't work the the LPC,
unfortunately.
You can use some sort of autoconfiguration to configure different addresses on
system initialisation. The algorithm can use random numbers. Of course you
should take into account time in order to produce different numbers in each
microcontroller. The address can then be saved in a nonvolatile memory.
Reply by nourson54●April 29, 20082008-04-29
--- In l..., "simonb65" wrote: >
> --- In l..., francesco bartoli
> wrote:
> >
> > Dear all,
> > I would like to know if the lpc2xxx owns a serial number that
> uniquely identifies the device itself from any other device worldwide
> (I don't mean the part number, that identifies the device class, such
> as LPC2138 or LPC2366...).
> > I need to use this serial number as a sort of "device address".
> > If the serial number exists, where can I find it?
> > Is it allocated somewhere in the on-chip memory? Is it readable?
> >
> > Otherwise, are you able to suggest me an alternative way to build
> a "device address"?
> >
> > Thanks in advance.
> > Regards.
> >
> >
> >
> > ---------------------------------
> > Inviato da Yahoo! Mail.
> > La casella di posta intelligente.
> >
> >
> > No it doesn't !! If you want a unique device number then you need to
> use an external device such as the Dallas DS2431 chip (Dallas-1-Wire-
> Bus).
>
> Simon.
> Or if you need some flash , you can use Atmel serial dataflash. All
the family embedd a 64 bits factory burned serial number + 64 bit user
programmable .
Reply by simonb65●April 29, 20082008-04-29
--- In l..., francesco bartoli
wrote: >
> Dear all,
> I would like to know if the lpc2xxx owns a serial number that uniquely identifies the device itself from any other device worldwide
(I don't mean the part number, that identifies the device class, such
as LPC2138 or LPC2366...). > I need to use this serial number as a sort of
"device address".
> If the serial number exists, where can I find it?
> Is it allocated somewhere in the on-chip memory? Is it readable?
>
> Otherwise, are you able to suggest me an alternative way to build a "device address"? >
> Thanks in advance.
> Regards.
>
>
>
> ---------------------------------
> Inviato da Yahoo! Mail.
> La casella di posta intelligente.
>
>
>
No it doesn't !! If you want a unique device number then you need to
use an external device such as the Dallas DS2431 chip (Dallas-1-Wire-
Bus).
Simon.
Reply by Paul Curtis●April 29, 20082008-04-29
Hi,
> I would like to know if the lpc2xxx owns a serial
number that
> uniquely identifies the device itself from any other device worldwide
> (I don't mean the part number, that identifies the device class, such
> as LPC2138 or LPC2366...).
> I need to use this serial number as a sort of "device address".
> If the serial number exists, where can I find it?
> Is it allocated somewhere in the on-chip memory? Is it readable?
Nope.
> Otherwise, are you able to suggest me an
alternative way to build a
> "device address"?
Either allocate them yourself when you program the chip or buy something
with one in. Dallas sell silicon serial numbers.
--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
Reply by francesco bartoli●April 29, 20082008-04-29
Dear all,
I would like to know if the lpc2xxx owns a serial number that uniquely
identifies the device itself from any other device worldwide (I don't mean
the part number, that identifies the device class, such as LPC2138 or
LPC2366...).
I need to use this serial number as a sort of "device address".
If the serial number exists, where can I find it?
Is it allocated somewhere in the on-chip memory? Is it readable?
Otherwise, are you able to suggest me an alternative way to build a "device
address"?
Thanks in advance.
Regards.
---------------------------------
Inviato da Yahoo! Mail.
La casella di posta intelligente.