Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GlasgowEmbedded/glasgow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7c4cb2153a35
Choose a base ref
...
head repository: GlasgowEmbedded/glasgow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9e4050477556
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 25, 2020

  1. Copy the full SHA
    9e40504 View commit details
Showing with 4 additions and 4 deletions.
  1. +4 −4 software/glasgow/applet/interface/sbw_probe/__init__.py
8 changes: 4 additions & 4 deletions software/glasgow/applet/interface/sbw_probe/__init__.py
Original file line number Diff line number Diff line change
@@ -226,12 +226,12 @@ async def run(self, device, args):

async def interact(self, device, args, sbw_iface):
await sbw_iface.test_reset()
version_bits = await sbw_iface.read_ir(8)
version = int(version_bits.reversed())
if version == 0xff:
jtag_id_bits = await sbw_iface.read_ir(8)
jtag_id = int(jtag_id_bits.reversed())
if jtag_id == 0xff:
self.logger.error("no target detected; connection problem?")
else:
self.logger.info("found MSP430 core with JTAG ID %#04x", version)
self.logger.info("found MSP430 core with JTAG ID %#04x", jtag_id)

# -------------------------------------------------------------------------------------------------