Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S SCP-firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Firmware
  • SCP-firmware
  • Merge requests
  • !103

Ensure system PLLs on Juno are locked within MCC timeout

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Darryl Green requested to merge github/fork/CJKay/master into master Aug 28, 2019
  • Overview 4
  • Commits 2
  • Pipelines 0
  • Changes 8

Created by: CJKay

The current approach to resetting the PLLs, which is to use a pre-main constructor function, is not infallible - if we statically allocate enough data, eventually the time it takes for the C runtime to initialize exceeds the amount of time that the motherboard microcontroller gives us to ensure the system PLLs are locked.

The workaround for this is to instead wrap the core's reset handler. This way we ensure that the PLLs have been reset before we do any time- consuming work.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/CJKay/master