Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
farabitarhan opened this issue Apr 20, 2022 · 3 comments

Comments

@farabitarhan
Copy link

farabitarhan commented Apr 20, 2022

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.
ARMmbed/DAPLink#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

Failed message:
image

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
@thegecko
Copy link
Member

thegecko commented Apr 23, 2022

Just tested this still works as expected with DAPLink v0254 (on a K64F) and all is well.

This repo has not changed functionally in a long time, so I suspect it's a problem with the newer DAPLink firmware.

@flit @mathias-arm can you investigate recent changes haven't affected WebUSB access?

@farabitarhan
Copy link
Author

Hello,

@flit @mathias-arm
I wonder if you had a chance to look into this?

Regards,
Farabi

@doguhanciftci
Copy link

Any updates on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants