Skip to content

Commit

Permalink
[opentitantool] Ship updated firmware for HyperDebug
Browse files Browse the repository at this point in the history
Support 48Mhz clock generation, and bugfixes

Add ability to change HyperDebug core clock frequency.  Choosing 96 MHz
will allow any PWM capable pin to produce a 48 MHz clock suitable for
driving a NuvoTitan chip.  (CN10.31 is the only pin that can output 96
MHz.)

Also included are a few bugfixes to HyperDebug polling the "GSC ready"
signal when passing through TPM operations.

Relevant CLs:
6e9f274d2c board/hyperdebug: Improve GSC ready pulse detection
843d7ee9a6 board/hyperdebug: Expect GSC ready pulse after transaction
1b9f351528 board/hyperdebug: Properly set system timer tick rate
3962928140 board/hyperdebug: Allow runtime changes to system clock
821e9349d2 chip/stm32: Consolidate clock enums
e7f8842e93 chip/stm32: Rename STM32_HSE_CLOCK to CONFIG_STM32_CLOCK_HSE_HZ
a8fc0258fe board/hyperdebug: Fast clock output on CN10.31
6265770002 board/hyperdebug: Add support for PWM via low power timers
195271c11d board/hyperdebug: Refactor PWM
fbf583383f board/hyperdebug: Fix off-by-one and rounding errors

Signed-off-by: Jes B. Klinke <[email protected]>
Change-Id: I212c1a249249470601d667a72b29244f26bcd6c5
  • Loading branch information
jesultra committed Jan 17, 2025
1 parent 734d9c1 commit 0a4091d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions third_party/hyperdebug/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hyperdebug = module_extension(
def _hyperdebug_repos():
http_archive(
name = "hyperdebug_firmware",
urls = ["https://github.com/lowRISC/hyperdebug-firmware/releases/download/20241211_02/hyperdebug-firmware.tar.gz"],
sha256 = "8b72dfe4ecb6a2258228e62c2246c5beffe8339d440a592c483534fa3f54d679",
urls = ["https://github.com/lowRISC/hyperdebug-firmware/releases/download/20250116_01/hyperdebug-firmware.tar.gz"],
sha256 = "091d8972bc887dec2eef24339e77ad91d80c90a1f5bc03b1b849c70de44bfac6",
build_file = "@lowrisc_opentitan//third_party/hyperdebug:BUILD",
)

0 comments on commit 0a4091d

Please sign in to comment.