Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
W
White Rabbit Switch - Software
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 82
    • Issues 82
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • 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 Switch - Software
  • Issues
  • #245

Closed
Open
Opened Aug 24, 2021 by Adam Wujek@awujek💬
  • Report abuse
  • New issue
Report abuse New issue

FPGA reports wrong values in ns counter register

During the synchronization the register that holds the ns counter/16 happens to be greater than 1000000000/16. As an effect during synchronization process when logs in ppsi are enabled, in some logs the fractional part of a second in logs is negative:

2021-08-21T05:43:44.183104+00:00 wrch1 ppsi: diag-fsm-1-wri1-1-wr-raw: 1629524656.-186: uncalibrated: reenter in 624 ms 

It is not known yet if this problem has any side effects on synchronization or software.

The mentioned register is at the address:

WRS_RTS_BASE_ADDR + WRS_RTS_PPSG_OFFSET + 1

0x10010000 + 0x500 + 1

Problem seen on a slave during automatic testing when the master was rebooted several times. Master has the same time set at every boot. The NTP was enabled so there were jumps back in time on slave.

The same problem was observed in WRPC

Edited Sep 15, 2021 by Adam Wujek
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
3
Labels
bug v6.0 v6.0.1
Assign labels
  • View project labels
Reference: project/wr-switch-sw#245