Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial number handling #6

Merged
merged 7 commits into from
Mar 12, 2024

Conversation

martinling
Copy link
Member

@martinling martinling commented Mar 11, 2024

This PR updates EUT serial number handling during the test.

  • The Black Magic Probe is used to read out the MCU serial number over SWD, as part of the same GDB script that is used to flash Saturn-V.
    • This gives us the earliest possible opportunity to associate a unique EUT with a given test result, which will work even in the event of a fault preventing USB enumeration.
  • The serial number as read by the BMP is translated to the Base32 format used by Saturn-V.
  • Apollo is updated to use the same Base32 format, by merging in firmware: Use Base32 for the serial number in SAMD11/SAMD21 boards apollo#37.
  • The find_device helper is extended to check that USB descriptors for the MCU match the expected Base32 string.
  • Adds readout of configuration flash UID, using Add a method to read the 64-bit UID of the configuration flash chip apollo#40.

@martinling martinling requested a review from grvvy March 12, 2024 18:24
@martinling martinling merged commit e670d08 into greatscottgadgets:main Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants