Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
Questions Regarding CMSIS-DAP
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
4 replies
Subscribers
126 subscribers
Views
2791 views
Users
0 members are here
Related
Questions Regarding CMSIS-DAP
Offline
Jesse Ziegler
over 7 years ago
Note: This was originally posted on 25th July 2013 at http://forums.arm.com
Working on a project to support CMSIS on a third party board with an M4F processor.
Following the CMSIS documentation, it says an HID connection must be established, and then Keil should recognize a CMSIS-DAP connection. My problem is that Windows 7 is showing the HID connection, and the correct string representing the device is showing up in the "Devices and Printers" folder. According to the documentation the HID device just has to be recognized with "CMSIS-DAP" included in the product string, and then Keil should be able to establish a connection. Unfortunately when trying to view a CMSIS-DAP device in Keil, the boxes are grayed out, which I am assuming it means no CMSIS-DAP connection is available and it does not recognize my device. When switching Keil to ICDI connection, it recognizes our device right away (this is the old connection we use, were trying to also implement CMSIS-DAP as an additional USB connection).
Well here are a couple questions:
Since CMSIS uses an HID USB connection, what is the correct way to implement the Report Descriptor? Online examples just handle a mouse or keyboard but I am unsure how to handle an M4F processor that just needs to send packets of data. This is our current Report Descriptor, which returns no errors but may not be implemented correctly:
const
unsigned
char
g_sHIDReportDescriptor[]={
0x06,0xA0,0xFF, //UsagePage (Arbitrary Vendor Defined)
0x09,0x01, //UsageID (Arbitrary Vendor Defined)
0xA1,0x01, //Collection(Application)
//InputReport
0x09,0x03, //UsageID (Arbitrary Vendor Defined)
ReportSize(8),
ReportCount(64),
Input(USB_HID_INPUT_VARIABLE | USB_HID_INPUT_DATA | USB_HID_INPUT_ABS),
//OutputReport
0x09, 0x04,
ReportSize(8),
ReportCount(64),
Output(USB_HID_OUTPUT_VARIABLE | USB_HID_OUTPUT_DATA | USB_HID_OUTPUT_ABS),
0xC0 //endcollection
};
Does the CMSIS firmware absolutely have to be built in Keil MDK to work or can it be built by third party software? Currently it is being built in third party software and shows up as an HID device on Windows 7, but Keil does not recognize that any CMSIS-DAP device is connected.
If you need any more details in order to answer my questions please let me know.
Thank you.
-Jesse
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Not Answered
freeRTOS demo DS-5 ERROR(CMD360) when trying to debug
+1
12385
views
12
replies
Latest
4 months ago
by
tolc
Answered
ubuntu - How to uninstall Arm Development studio and all its requirements
0
Arm Development Studio
8342
views
1
reply
Latest
4 months ago
by
Jonathan Simmonds
Answered
DSTREAM Probe damage - Spare parts?
0
DSTREAM
10587
views
2
replies
Latest
4 months ago
by
SamGKN
Suggested Answer
Optimized ARM version of memcmp
0
9146
views
3
replies
Latest
4 months ago
by
Ronan Synnott
Not Answered
Develop Kotlin apps with OpenCl to run in a Samsung mobile that use Mali G71
0
8200
views
2
replies
Latest
4 months ago
by
ARMStrongssen
<
>
View all questions in Arm Development Studio forum