iotile / iotile/coretools

remote_bridge functions don't work with jlink

Open
#763 4 comments 0 reactions 0 assignees View on GitHub
type:py3
Dominant language
Python
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

remote bridge fails with function below:
```iotile hw --port jlink:mux=ftdi connect_direct 'device=nrf52;channel=0' controller remote_bridge create_script send_script wait_script back reset
Downloading script: [########################################] Estimating time left
HardwareError: Error executing remote script
Additional Information:
error_code: 2147811349
```
The error code is 0x80050015,
I believe it's Subsystem kTRUBSubsystem, kInputBufferTooShort triggered in [remote_bridge.c](https://github.com/iotile/lib_controller/blob/master/firmware/src/remote_bridge/remote_bridge.c#L315)

The functions when done over ble
```iotile hw connect 0x83d controller remote_bridge create_script send_script wait_script back reset
Downloading script: [########################################] 0.0 seconds total
Waiting for script to validate
Waiting for script to finish executing

Resetting, takes at least 2 seconds
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.