Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

[ashell] "set transfer ihex/raw" is not working as expected #762

Closed
@qiaojingx

Description

@qiaojingx

Description

"set transfer ihex/raw" is not working as expected

Test Code

ashell.md

Steps to Reproduction

  1. Set 'CONFIG_USB_CDC_ACM=y' in fragments/prj.conf.arduino_101_dev to enable USB CDC ACM device class driver.
  2. Execute "make DEV=ashell" in the latest zephyrJS build
  3. Execute "make dfu" to flash ashell to Arduino101 and Reset device
  4. Use the following command to connect to the ashell from a terminal $ screen /dev/ttyACM0 115200
  5. Input acm> set transfer raw and Enter
  6. Input acm> set transfer ihex and Enter

Actual Result

After 4.
selection_002

After 5.
selection_001

Expected Result

After 4. Transfer to RAW.
acm> set transfer raw
RAW>

After 5. Transfer to IHEX.
acm> set transfer ihex
HEX>

Test Builds

Branch Commit Id Target Device Test Date Result
master 2e8c582 Arduino 101 Feb 13, 2017 Fail

Additional Information

Test ashell with zephyrIDE, this issue is also reproduced.But nothing was returned after executing set transfer ihex.
selection_003

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions