Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #24527

Re: dsPIC serial number

From Syd Rumpo <usenet@nononono.co.uk>
Newsgroups comp.arch.embedded
Subject Re: dsPIC serial number
Date 2016-07-03 12:46 +0100
Organization A noiseless patient Spider
Message-ID <nlattp$973$1@dont-email.me> (permalink)
References <nlaqnb$v9d$1@dont-email.me> <nlas2c$3ks$1@dont-email.me>

Show all headers | View raw


On 03/07/2016 12:14, Don Y wrote:
> On 7/3/2016 3:51 AM, Syd Rumpo wrote:
>> I want to put a serial number into a dsPIC - there's four bytes of
>> user space
>> in the flash which would be ideal.
>>
>> Is there any reasonably easy way of stopping this from being changed
>> when new
>> software is programmed using a PicKit programmer?  I know I could read
>> it and
>> re-write it, but I want something which moderately tech-savvy
>> customers can do.
>
> I'm unclear of your goal.
>
> Do you want to serialize each device in such a way that a "smart"
> user can't alter the serial number, intentionally?  (e.g., to gain
> access to features)
>
> Or, do you want "smart" users to be able to update the software and
> you just want to HELP protect them from *accidentally* overwriting
> the serial number?  (i.e., with the bogus S/N that may be present in those
> 4 bytes in the "updated image")
>
The second really.  I want to program a number when the boards are made 
and not have it accidentally changed by the user updating the software. 
There's no real reason they'd want to alter it deliberately.

Cheers
-- 
Syd

Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

dsPIC serial number Syd Rumpo <usenet@nononono.co.uk> - 2016-07-03 11:51 +0100
  Re: dsPIC serial number Syd Rumpo <usenet@nononono.co.uk> - 2016-07-03 12:01 +0100
  Re: dsPIC serial number Don Y <blockedofcourse@foo.invalid> - 2016-07-03 04:14 -0700
    Re: dsPIC serial number Syd Rumpo <usenet@nononono.co.uk> - 2016-07-03 12:46 +0100
      Re: dsPIC serial number Don Y <blockedofcourse@foo.invalid> - 2016-07-03 05:24 -0700
        Re: dsPIC serial number Don Y <blockedofcourse@foo.invalid> - 2016-07-03 05:28 -0700
          Re: dsPIC serial number Syd Rumpo <usenet@nononono.co.uk> - 2016-07-03 16:13 +0100
            Re: dsPIC serial number Don Y <blockedofcourse@foo.invalid> - 2016-07-05 17:35 -0700
              Re: dsPIC serial number Syd Rumpo <usenet@nononono.co.uk> - 2016-07-06 11:06 +0100
                Re: dsPIC serial number Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-07-06 13:44 +0300
                Re: dsPIC serial number Syd Rumpo <usenet@nononono.co.uk> - 2016-07-06 13:16 +0100
                Re: dsPIC serial number Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-07-06 16:36 +0300
                Re: dsPIC serial number Richard Damon <Richard@Damon-Family.org> - 2016-07-16 21:50 -0400
  Re: dsPIC serial number Paul Rubin <no.email@nospam.invalid> - 2016-07-03 09:46 -0700
  Re: dsPIC serial number Les Cargill <lcargill99@comcast.com> - 2016-07-03 12:46 -0500
    Re: dsPIC serial number Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-07-03 21:04 +0300

csiph-web