PDA

View Full Version : default NV params


scootr
08-18-2010, 03:12 PM
I'm using CEL ZIC2410 with firmware SNAPV2.2.16.
I mistakenly set the address for the device to 00 00 01 (same as portal).
Now I can't seem to change it. I tried using the "Factory Default NVParams" selection under Options in Portal to no avail.

Any suggestions? How can I change that address now?

kbanks
08-18-2010, 04:23 PM
Portal did not have the ability to Factory Default ZIC2410 nodes until the recent 2.4 release.

So you would have to upgrade your Portal in order to do it that way.

Take a look at the 2.4 release notes (downloadable from here on the forum) for more about this.

scootr
08-18-2010, 04:58 PM
do you know if 2.4 is available for linux?

scootr
08-18-2010, 05:42 PM
Got 2.4.14 Portal installed on a laptop and I see the ZIC2410 option under Factory Default NVparams.

It reports to have updated the NVparams to factory defaults yet the ZIC is still coming up with the 00 00 01 address.

I followed your suggestion to look it up in the documentation for Portal.. here's the complete text with reference to Factory Default NVparams:
Factory Default NV Params...
This menu option displays the Factory Default NV Params dialog, which allows you to reset all NV
parameters to the defaults as shipped from the factory.
Not much help there.
Is there a trick or something I'm missing?
Thanks in advance for any suggestions.

Jheath
08-18-2010, 06:15 PM
The MAC address is not affected by the factory default options.This value is typically set at manufacturing and is a unique value in the world. The MAC address should be assigned by CEL or come pre-programmed (obviously, if this is a quick evaluation you might have to set the MAC address via NV Parameter 2 - ex. "\x11\x22\33")


As a note: Portal is acts as a node in the network. By default, this is set to 00.00.01. You will run into issues if you have any nodes on the network (regular SNAP or Portal) with the same address.

scootr
08-18-2010, 06:30 PM
All of the ZIC2410's we get come to us with the same address (00 00 FF by default). We have to set them to a unique value when we get them.

we set it to a new value using saveNVparam (id=2) so I'm aware how that works. the problem is, if I inadvertently set it to 00 00 01, how do I go back and change it? or can I? Is there a way to force Portal to another address temporarily so they don't conflict? just long enough to do the saveNVparam RPC to the ZIC to get that address changed?

Jheath
08-19-2010, 12:02 AM
Yes, you can set the Portal SNAP address via "Change Portal Address" command under the 'Network' menu if using Portal 2.4.

If using an earlier version of Portal, the address can be changed from within the built-in Python command line by calling the "root.setPortalNetAddr" function.

Ex. root.setPortalNetAddr("\x00\x00\x03")

Any nodes purchased for use with SNAP should come with an associated (and unique) MAC address. This serves as your SNAP license for that particular node. I would contact your CEL rep in order to obtain unique MAC addresses.

scootr
08-19-2010, 08:59 AM
that did it. we're all set! thanks for your replies....

Jheath
08-19-2010, 09:03 AM
that did it. we're all set! thanks for your replies....

Good to hear.

Don't forget to follow up with your CEL rep about getting a list of valid MAC addresses once you get ready to start shipping product.

Jheath
08-19-2010, 09:04 AM
do you know if 2.4 is available for linux?

BTW, the Linux version is available from the downloads page (should be right under the windows version).