zephyr.js icon indicating copy to clipboard operation
zephyr.js copied to clipboard

[Sensor] garbled code in magnetometer output

Open qiaojingx opened this issue 7 years ago • 3 comments

Description

When running FXOS8700Magnetometer.js on FRDM-K64F, there is garbled code in magnetometer output.

Test Code

FXOS8700Magnetometer.js

Steps to Reproduction

  1. make JS=samples/FXOS8700Magnetometer.js BOARD=frdm_k64f
  2. cp outdir/frdm_k64f/zephyr.bin /media/<username>/MBED/

Actual Result

there is messy code outputted: selection_087

Expected Result

No garbled code.

Test Builds

Branch Commit Id Target Device Test Date Result
master c2ca034 FRDM-K64F Jun 30, 2017 Fail

Additional Information

qiaojingx avatar Jun 30 '17 02:06 qiaojingx

I don't think I can reproduce this with master, can you verify?

jimmy-huang avatar Aug 07 '17 20:08 jimmy-huang

Verified with commit 9a272ee on FRDM-K64F. This issue can be reproduced by minicom -D /dev/ttyACM0, but not reproduced by screen /dev/ttyACM0 115200. minicom -D /dev/ttyACM0 selection_144 screen /dev/ttyACM0 115200 selection_145

qiaojingx avatar Aug 08 '17 01:08 qiaojingx

It might be a bug of miniom that it doesn't support these special characters, I don't see how we could've introduced this bug in our side.

jimmy-huang avatar Aug 15 '17 03:08 jimmy-huang