pyocd-flashtool doesn't work at all with RPiv3
See original GitHub issuepyocd-flashtool
doesn’t list any devices I’ve connected. Instead mbedls
works fine. pyocd was clean clone from head of master and installed with command python setup.py develop
.
This might be similar issue than #241, and there was mention that #262 should fix the problem, but I’ve still problem.
What I used:
~/pyOCD/ $ git rev-parse HEAD
48610ba219264d5306fa68bef2cd4ca89ef82067
$ uname -a
Linux raspberrypi 4.4.26-v7+ #915 SMP Thu Oct 20 17:08:44 BST 2016 armv7l GNU/Linux`
What happens:
~/pyOCD/ $ pyocd-flashtool -l -d debug
DEBUG:root:Exception getting product string: The device has no langid
DEBUG:root:Exception getting product string: The device has no langid
DEBUG:root:Exception getting product string: The device has no langid
DEBUG:root:Exception getting product string: The device has no langid
DEBUG:root:Exception getting product string: The device has no langid
$ mbedls
mbedls -j
[
{
"daplink_auto_reset": "0",
"daplink_automation_allowed": "0",
"daplink_daplink_mode": "Interface",
"daplink_git_sha": "eab079b8a1326f0a3647e3df33cf5dda13994a1f",
"daplink_hic_id": "97969900",
"daplink_interface_crc": "0xdd5ee0ec",
"daplink_interface_version": "0242",
"daplink_local_mods": "0",
"daplink_unique_id": "0240000034544e45004b00018aa9001d2011000097969900",
"daplink_usb_interfaces": "MSD, CDC, HID",
"daplink_version": "0242",
"mount_point": "/mnt/platform-3f980000_usb-usb-0_1_3_3_1_0-scsi-0_0_0_0",
"platform_name": "K64F",
"platform_name_unique": "K64F[0]",
"serial_port": "/dev/ttyACM2",
"target_id": "0240000034544e45004b00018aa9001d2011000097969900",
"target_id_mbed_htm": "0240000034544e45004b00018aa9001d2011000097969900",
"target_id_usb_id": "0240000034544e45004b00018aa9001d2011000097969900"
},
...
....
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
pyocd-flashtool doesn't work at all with RPiv3 #270 - GitHub
pyocd -flashtool doesn't list any devices I've connected. Instead mbedls works fine. pyocd was clean clone from head of master and installed ...
Read more >pyocd - PyPI
pyOCD is an open source Python based tool and package for programming and debugging Arm Cortex-M microcontrollers with a wide range of debug...
Read more >[URGENT] Adding Flash plug-in to Chromium - Ubuntu 19.10 ...
Since the Pi uses an ARM processor, that obviously won't work! There is a plug-in called PepperFlash, but that project appears completely ...
Read more >pyOCD support missing? - Question - Mbed
Resolved the issue of pyocd not working, despite having a merge saying 'adds python ... redownloaded it for python 2 and it runs...
Read more >Unbrick MAX32660 that is programmed to drive SWD pin?
Also see if the vendor flash loader tool has any special modes, ... then try to do SWD; if that doesn't work, try...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
running with
sudo
in linux seems to work. So issue here is just lack of documentation. Please add some mention that this needssudo
access when running in linux and introduction how to run withoutsudo
.Closing this issue since it is a duplicate of #267. Please re-open if this is not the case.