Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
W
White Rabbit core collection
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 29
    • Issues 29
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Schedules
  • Wiki
    • Wiki
  • image/svg+xml
    Discourse
    • Discourse
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Projects
  • White Rabbit core collection
  • Wiki
  • Wrpc shell

Wrpc shell

Last edited by OHWR Gitlab support Mar 27, 2019
Page history

Wrpc shell

pll
init mode> manually run spll_init() function to initialize SoftPll
cl channel> check if SoftPLL is locked for the channel
sps channel> set phase shift for the channel
gps channel> get current and target phase shift for the channel
start channel> start SoftPLL for the channel
stop channel> stop SoftPLL for the channel
sdac index> set the dac
gdac index> get dac's value
gui
starts GUI WRPC monitor
stat
prints one line log message
cont prints log message for each second (Esc to exit back to shell)
ptp
start start WR PTP daemon
stop stops WR PTP daemon
mode
prints the current WR PTP mode
gm sets WRPC to operate as Grandmaster clock (requires external 10MHz and 1-PPS reference)(*)
master sets WRPC to operate as Free-running Master(*)
slave sets WRPC to operate as Slave node(*)
calibration
tries to read t2/4 phase transition from EEPROM, if not found runs calibration procedure
force starts calibration procedure that measures t2/4 phase transition, and stores the result to EEPROM
time
prints current time from WRPC
raw prints current time in a raw format (seconds, nanoseconds)
set sec> sets WRPC time
setsec sec> sets only seconds part of WRPC time (useful for setting time in GrandMaster mode, when nanoseconds counter is aligned to external 1-PPS and 10MHz)
setnsec nsec> sets only nanoseconds part of WRPC time
sfp
detect prints the ID of currently used SFP transceiver
erase cleans the SFP database stored in FMC EEPROM
add ID> stores calibration parameters for SFP to the database in FMC EEPROM
show prints all SFP transceivers stored in database
match tries to get calibration parameters from database for currently used SFP transceiver(****)
init
erase cleans initialization script in FMC EEPROM
add cmd> adds shell command at the end of initialization script
show prints all commands from the script stored in EEPROM
boot executes the script stored in FMC EEPROM (the same action is done automatically when WRPC starts after resetting LM32)
mac
get prints WRPC's MAC address
getp re-generates MAC address from 1-wire digital thermometer or EEPROM
set mac> sets the MAC address of WRPC
setp mac> sets MAC address to the 1-wire EEPROM (if available)
sdb
prints devices connected to the Wishbone bus inside WRPC
ip (*****)
get prints the IPv4 address of the WRPC
set ip> sets the IPv4 address of the WRPC
  * after executing _mode_ command, _ptp start_ is required to start WR PTP daemon in new mode
 ** requires running _sfp detect_ first
* available only with Etherbone support compiled in

12 April 2013

Clone repository
  • Board vfc hd
  • Board vfc hd ports
  • Current release
  • Development instructions
  • Documents
  • Documents
    • Project attachments
    • Version 'v3.0' attachments
    • Wr ptp core hdl specification v2.0
    • Wr ptp core building manual for release 2.0
    • Wr ptp core manual for release 2.1
    • Wr ptp core release tests
    • Wr ptp core release v3.0 documentation
    • Wr ptp core v4.0 files
    • Wr ptp core v4.1 files
    • Wr ptp core v4.2 files
More Pages

New Wiki Page

Tip: You can specify the full path for the new file. We will automatically create any missing directories.