ARMmbed / ARMmbed/dapjs

DAPLink Flash Demo not working properly with Daplink Firmware with Interface Version 0256

Open
#99 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
134
Forks
56
PR merge metrics
No merged PRs in 30d

Description

Hello,

**DAPLink Flash** demo is not working for my case and gives: `NetworkError: A transfer error has occurred`. I am using MAX32666FTHR2 with the daplink v0256. The other demos such as **Read Registers** is not giving any response as well.

You will find the daplink details below as well. I can upload my application firmware with drag-n-drop on Windows.

I would appreciate it if you can recommend me things to check.
Thanks.

**Details:**
This is the PR that my Daplink Firmware was build upon, dated back to 20 October 2021.
https://github.com/ARMmbed/DAPLink/pull/879

I am using the demo page given here:
https://armmbed.github.io/dapjs/examples/daplink-flash/web.html

"Select Device" finds the connected device properly:
![image](https://user-images.githubusercontent.com/48058709/164218957-2af303a5-8598-4054-8322-bad62ca41b9b.png)

Failed message:
![image](https://user-images.githubusercontent.com/48058709/164219787-2c7f3073-ad75-4955-bdd7-cbbce39586a1.png)

Content of DETAILS.TXT of Daplink Drive:
```
# DAPLink Firmware - see https://mbed.com/daplink
Unique ID: 04221702b2e3031a00000000000000000000000097969906
HIC ID: 97969906
Auto Reset: 1
Automation allowed: 1
Overflow detection: 1
Incompatible image detection: 0
Page erasing: 1
Daplink Mode: Interface
Interface Version: 0256
Git SHA: 34fe95d79afeba62ef097774ecc609ef8c2b74ea
Local Mods: 1
USB Interfaces: MSD, CDC, HID, WebUSB
Interface CRC: 0x3a50e864
Remount count: 0
URL: http://www.maximintegrated.com/max32666fthr
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the DAPLink Flash demo entry point at https://armmbed.github.io/dapjs/examples/daplink-flash/web.html and reproduce the transfer error using the reported MAX32666FTHR2 and Interface Version 0256 details. Compare its behavior with the Read Registers demo; the issue is done when the affected demos work with this DAPLink firmware or the incompatibility and required checks are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.