Cart Contact NSDSP Home

nshex - device

The device command specifies the PIC device. Device can also be specified on the nshex command line with the -s switch. Once the device is selected (regardless of the method), it cannot be changed.

When nshex reads any HEX file, it tries to find a reference to the device name within a HEX file. If the name is found, nshex will automatically select the device. However, if the device has been already specified (with the device command or from command line) the device names inside HEX files are ignored.

The device is also needed to detect instruction sizes, row sizes, and page sizes. The device is also necessary to determine boundaries of the memory regions.

Device is optional, however many operations require device specific information and cannot be performed if the device is not specified.

Syntax

device(dev)

Argument Description
dev Full name of the target device, for example dsPIC30F1010.

Example

device(PIC32MZ2048EFG100)

This command selects PIC32MZ2048EFG100 for all future operations.

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2025 Northern Software Inc. All Rights Reserved.