====== New Packet Radio 3.0 ====== This page covers supporting information for users of New Packet Radio (NPR) 3.0 - the latest revision of the original F4HDK-invented New Packet Radio modem first released in 2019. ===== NPR 3.0: Quick Start ===== By default, NPR 3.0 firmware is configured in Client mode, To establish a link, a Client and Master is required. Quick start setup for both is covered below. All configuration is via the Ethernet port using **telnet**. Default configuration is **192.168.0.0/24**, the NPR IP is **192.168.0.253** and DHCP range starts at **192.168.0.65** ==== Initial Setup ==== - Connect an antenna or dummy load - Power the device using 13.8V DC - Connect a DHCP enabled PC to the Ethernet port - Open a **terminal** and telnet to **192.168.0.253** ==== Client Setup ==== - At the **ready>** prompt, type **display config** - Note the **modulation** and **frequency** settings, these must match the Master ==== Master Setup ==== When in Master mode, DHCP on the NPR Ethernet port is disabled. Follow these steps reconfigure NPR and require a local static IP is setup. - At the **ready>** prompt, type **display config** - Note the **modem_IP**, **netmask** and **IP_begin** - Type commands: * **set is_master yes** * **save** * **reboot** - On the connected PC or network, set a manual IP within the subnet and avoiding DHCP range starting with **IP_begin**, e.g. **192.168.0.20** - Validate connectivity by re-opening the telnet connection to **192.168.0.253** ==== Establishing and Validating and RF Connection ==== - When in RF range, NPR should connect. The CONN light will be Green on the Client and TX and RX lights flashing - On the Server, see who is connected by running **who** - On the Client, see connected information by running **status** - Assuming the PC connected to the Master has an IP of 192.168.0.20 and PC connected to the Client has a DHCP assigned address of 192.168.0.65, both devices should be able to ping ==== Additional Points to Note ==== - Be really careful if changing the IP configuration - set the config, check it, check it again, log it, then save and reboot - Set your NIC MTU to 750 to achieve reliable and consistent performance - You always telnet to the modem_IP, which counter-intuitively does not have to be unique on the network. In the default configuration, you would use 192.168.0.253 on all modems when connecting via telnet ===== NPR 3.0: Upgrading Firmware ===== ==== Prereqs ==== Flashing the firmware in NPR 3.0 requires: - A Windows PC - Installation of the {{ :packet:stm32_vcp_driver.zip |}} drivers - A Micro-USB cable - The new firmware (with .nfw extension) - The pynpr.exe program ==== Upgrade Process ==== - Disconnect the power supply - Connect the Micro-USB Cable - Run the upgrade using either: * pynpr fwflash -s COM_PORT path/to/nfw.nfw * pynpr fwflash -s auto path/to/nfw.nfw ===== Original NPR - Background Material, Detailed Configuration Guides and Protocol Spec ===== [[https://hackaday.io/project/164092-npr-new-packet-radio|Original NPR Hackaday Page]] [[https://hackaday.io/project/164092/files|Original NPR Source Files and Docs - Master]] Unable to link to the Master docs using a URL - copied locally for ease of access {{ :packet:npr70_introduction_en_v3.6.pdf |}} {{ :packet:npr_advanced_guide_v2.16.pdf |}} {{ :packet:npr_specification_v2.0.pdf |}} ===== NPR 3.0: Rear Pinouts ===== Connector 1 ^ Pinout ^ Description ^ ^ RX | RS232 RX, 921600 Baud | ^ TX | RS232 TX, 921600 Baud | ^ 12V0 | 12V Out| ^ 5V0 | 5V Out | ^ 3V3 | 3.3V Out | ^ - | Not Used | ^ GND | Ground | ^ PE1 | STM32 GPIO | ^ GND | Ground | ^ PE0 | STM32 GPIO | ^ PB7 | STM32 GPIO | ^ PD7 | STM32 GPIO | Connector 2 ^ Pinout ^ Description ^ ^ 3V3 | 3.3V Out | ^ CLK | STM32 GPIO | ^ DIO | STM32 GPIO | ^ GND | Ground | ^ RST | STM32 GPIO |