Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Netduino Unique ID


  • Please log in to reply
8 replies to this topic

#1 asciiman

asciiman

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts
  • LocationTurkey

Posted 22 July 2014 - 03:10 AM

Hi

 

is the SKU unique  and cant change programmatically or firmware update

 

 

DeviceInfo:
  HAL build info: 4.3.1.0, Netduino 2 (v4.3.1.0) by Secret Labs LLC
  OEM Product codes (vendor, model, SKU): 34, 177, 4101
  Serial Numbers (module, system):
    00000000000000000000000000000000
    0000000000000000
  Solution Build Info: 4.3.1.0, Netduino 2 (v4.3.1.0) by Secret Labs LLC
  AppDomains:
    default, id=1
  Assemblies:
    mscorlib,4.3.1.0
    Microsoft.SPOT.Native,4.3.1.0
    Microsoft.SPOT.Hardware,4.3.1.0
    Microsoft.SPOT.Net,4.3.1.0


#2 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 24 July 2014 - 01:49 PM

What scope of uniqueness are you referring to?
 
The SKU determines the Netduino model:

  • 0x1000 (4096) ... Netduino,
  • 0x1001 (4097) ... Netduino Plus,
  • 0x1002 (4098) ... Netduino Mini,
  • 0x1003 (4099) ... Netduino Go,
  • 0x1004 (4100) ... Netduino Shield Base,
  • 0x1005 (4101) ... Netduino 2,
  • 0x1006 (4102) ... Netduino Plus 2.

The number is stored in the flash memory and the current firmware does not expose flash memory routines to user application, so in this context it cannot be changed programmatically. Technically, it is possible to customize the firmware to enable access to flash memory routines from the user application (managed code) and there are other programs that can be used to modify flash memory contents, such as MFDeploy, JTAG/SWD programmer etc.

 

Firmware update does not change SKU, unless you deliberately flash firmware for different SKU - e.g. it is possible to have Netduino firmware running on Netduino Plus (of course Plus-specific features do not work).



#3 asciiman

asciiman

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts
  • LocationTurkey

Posted 25 July 2014 - 08:25 AM

hi sir 
thanks for your interest.
 
I wanna develop commercial program and I need uniqe value on N2 or N2+.
Firstly i think, I can use MAC addres on N2+. But it can changeable with MFDeploy isnt it?
 
?s there unique value on N2 or N2+    or   what can i do?


#4 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 25 July 2014 - 12:13 PM

Yes, MAC address can be changed.

 

The Netduino 2/Plus 2 microcontroller has unique ID feature, unfortunately it is not available in the current firmware, mostly due to privacy concerns (it has been already discussed several times on this forum). You can modify the firmware or you can use another device to store unique ID, such as EEPROM (small memory chip, interfaced from Netduino through SPI or I2C).



#5 asciiman

asciiman

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts
  • LocationTurkey

Posted 25 July 2014 - 01:08 PM

Hi sir,

 

When I use EEPROM  that somebody can read and write on other EEPROM isnt it?

Is EEPROM has uniqueID ?



#6 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 25 July 2014 - 02:04 PM

Yes, that's right - the EEPROM can be changed that way. There is no exact equivalent of the microcontroller Unique ID feature (which cannot be changed, because it is in ROM), so you'd have to use modified firmware.



#7 baxter

baxter

    Advanced Member

  • Members
  • PipPipPip
  • 415 posts

Posted 25 July 2014 - 05:48 PM

Assuming that the Netduino is part of some circuit, maybe you could use a 1-wire unique serial number,

http://www.maximinte...cts/DS2411.html



#8 phantomtypist

phantomtypist

    Advanced Member

  • Members
  • PipPipPip
  • 142 posts
  • LocationNew York, NY

Posted 21 August 2014 - 03:30 AM

Assuming that the Netduino is part of some circuit, maybe you could use a 1-wire unique serial number,

http://www.maximinte...cts/DS2411.html

 

You can use that if you are comfortable soldering surface mount chips.

 

If you'd rather solder through hole components, Maxim makes a bunch of other 1-wire chips with unique serial numbers on them like the DS18B20 https://www.sparkfun.com/products/245



#9 asciiman

asciiman

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts
  • LocationTurkey

Posted 21 August 2014 - 06:28 AM

thnx






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.