EmbeddedRelated.com
Forums

where to read RCM serial number

Started by H. Abed April 22, 2005

for non-Ethernet RCM modules, do they have any unique ID (i.e. serial number) that never change, if so how to read it?

 

For Ethernet modules, I’m using MAC address to distinct between them

 

Thanks,

hisham



When I try this

            printf("  serialNumber =  '%s'\n", SysIDBlock.serialNumber);

 

it give me empty string, is there a way to write some serial number to that location, then I can use it as unique board ID

and when I do that I’m assuming it will not be lost for any reason!!

 

 

From: George Georgiev [mailto:g...@sbcglobal.net]
Sent: Friday, April 22, 2005 10:26 PM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] where to read RCM serial number

 

No.

-----Original Message-----
From: r...@yahoogroups.com [mailto:r...@yahoogroups.com]On Behalf Of H. Abed
Sent: Friday, April 22, 2005 9:13 AM
To: r...@yahoogroups.com
Subject: [rabbit-semi] where to read RCM serial number

for non-Ethernet RCM modules, do they have any unique ID (i.e. serial number) that never change, if so how to read it?

 

For Ethernet modules, I’m using MAC address to distinct between them

 

Thanks,

hisham



H. Abed a rit :

> for non-Ethernet RCM modules, do they have any unique ID (i.e. serial
> number) that never change, if so how to read it?
>
> For Ethernet modules, Im using MAC address to distinct between them
>
> Thanks,
>
> hisham >
> *>.
for do this , I write my serial number at the same place on RCM with or
without ethernet
look at two file in C
write_idblock.c
and
BOARDINFO.C

at the start of my code , I use this code
SysIDBlockType *Block; // Pointer to the System ID Block

{ // identification du module Rabbit
Block = &SysIDBlock;
sprintf(tmp, "N serie: %s\n",SysIDBlock.serialNumber);
printf("%s\n",tmp);
sprintf(tmp, "Produit: %s\n",SysIDBlock.productName);
printf("%s\n",tmp);

}
Bye --


No.
-----Original Message-----
From: r...@yahoogroups.com [mailto:r...@yahoogroups.com]On Behalf Of H. Abed
Sent: Friday, April 22, 2005 9:13 AM
To: r...@yahoogroups.com
Subject: [rabbit-semi] where to read RCM serial number

for non-Ethernet RCM modules, do they have any unique ID (i.e. serial number) that never change, if so how to read it?

 

For Ethernet modules, I’m using MAC address to distinct between them

 

Thanks,

hisham



Look for WriteIdBlock utility from ZWorld. You should be able to find it on their website. There you can put some info in the ID block.
-----Original Message-----
From: r...@yahoogroups.com [mailto:r...@yahoogroups.com]On Behalf Of H. Abed
Sent: Friday, April 22, 2005 9:33 AM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] where to read RCM serial number

When I try this

            printf("  serialNumber =  '%s'\n", SysIDBlock.serialNumber);

 

it give me empty string, is there a way to write some serial number to that location, then I can use it as unique board ID

and when I do that I’m assuming it will not be lost for any reason!!

 

 

From: George Georgiev [mailto:g...@sbcglobal.net]
Sent: Friday, April 22, 2005 10:26 PM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] where to read RCM serial number

 

No.

-----Original Message-----
From: r...@yahoogroups.com [mailto:r...@yahoogroups.com]On Behalf Of H. Abed
Sent: Friday, April 22, 2005 9:13 AM
To: r...@yahoogroups.com
Subject: [rabbit-semi] where to read RCM serial number

for non-Ethernet RCM modules, do they have any unique ID (i.e. serial number) that never change, if so how to read it?

 

For Ethernet modules, I’m using MAC address to distinct between them

 

Thanks,

hisham