Can someone please explain how the LUFA library handles USB descriptors? I can't seem to trace the descriptors in any of the examples given back to the source of the library. How do they work? Are they programmed into flash memory at a given location?
Thanks,
George
Descriptors are struct's defined in the LUFA library. You find them in
/drivers/USB/Core/StdDescriptors.h
which is included via the "master include file" /Drivers/USB/USB.h
The user application makes use of these struct's
Please consult the LUFA library documentation and look up "Descriptor" in the search box or expand the File List subtree. This will guide you to info what is defined and where. Also look up the main USB function void USB_USBTask(void).
Another good resource about the basics is this.
Related
I been struggling with NVIC, why it is used? and how it is used?
In my project I'm using
NVIC_IntDisable(NVIC_SSP0);
NVIC_ClrPend(NVIC_PIO_0);
NVIC_IntPri(NVIC_PIO_0, 17);
NVIC_IntEnable(NVIC_PIO_0);
These are all defined in the system.c can anyone explain me why these are used what the use perticular commands. Please mention any good matrial that I can reffer.
Thank you.
NVIC is a Nested Vectored Interrupt Controller (similar to PIC on x86 PC).
You can get more info on ARM website
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0179b/ar01s01s01.html and also in specific chip datasheets and ARM manuals for the sub-architecture.
I have developed a simple software using VB.net, now i want to receive some data from an external device, i want to know if any way to learn "**How to read a hardware transmitted data using VB.net, where hardware is attached to a USB port?**" Any specific book or any way to get this thing learn.
Looking forward to hear from you all.
Thanks & Regards.
I think you should not duplicate the question:-
Still i was searching and found the answer from the following link, so again posting it here so that people should not search more for this. Thabnks
How to get the data from a USB port in VB.NET
Here is what I found. You use the HID.dll to interface the usb ports. And you know the best part? I found some examples.
Here's a link that contains basic examples and tutorial for usb interfacing. The HID Page
Sample Project File
I'm using an implementation of the Windows Core Audio API, specifically the IMMDevice interface, the code for which can be found here. My goal in using this code is to pull the friendly name of a particular sound device.
The code appears to implement such functionality, however the property for the friendly name really appears to be returning what the MSDN documentation refers to as the "Device Description". Drilling down into the code takes me to a PKEY class that defines a GUID. The GUID, based on simply looking at the code and MSDN documentation, appears to be a predefined value that the OS recognizes to represent a property in the property store for that device. So, my assumption at this point is that the original programmer intended to define the friendly name property, but provided the GUID for device description by mistake. I'd like to extend/correct this API to provide both the device description and the friendly name.
Here is where I run into trouble. I cannot find any sort of reference for these GUID's. I've pored over all the documentation I could find and simply cannot locate any such reference. I'm looking for someone to tell me my assumption about these GUID's is wrong and set me on the right track, or if it is correct to point me to a reference to them. I'm sure I've missed useful and critical details, so if more info is needed just let me know and I'll provide what I can. Thanks in advance!
I was wondering if there were a way to extract information from an objective-c app, static or dynamic library and/or framework?
Information such as an array of class names without instantiating or running the target.
I've checked google and the apple developer documentation and haven't found anything.
Frank
F-script appears to be able to do what you want, but I'm no expert. Check out www.fscript.org.
If you want to extract classes from an application/dynamic library, there is a handy tool called ClassDump.
It can even generate the header files in order to get an overview of the classes, protocols, etc.
If you want to do it at runtime, then take a look at the source code to learn how to load and parse the different mach-o segments.
This is an excellent starting point for reverse-engineering Cocoa apps:
http://culater.net/wiki/moin.cgi/CocoaReverseEngineering
It mentions F-Script, class-dump, and a few others.
I need to do some simple memory transfer using this DSP, but I am unable to find any documentation about the DMA functions. I am using C with code composer 3.3
OK in a flash of inspiration I Googled for the one DMA specific function I found in the code, and found this and TMS320C645x DSP Enhanced DMA (EDMA3) Controller user Guide
It seems to me that Texas Instruments gives quite some documentation on these processors. For instance, the TMS320C6418 data sheet. A list of all TMS320C64xx controllers is listed here (click on the part number to go to the reference material).
I'm not well acquainted with the subject matter, just tried to locate the information for you. If this isn't providing the information you're after, please let me know.
EDIT: added links below for ease of reference for later visitors (they have been mentioned in the comments):
List of published documents for these and other related Texas Instruments IC's: Digital Signal Processors & ARM Microprocessors
General reference guide for TMS320C64xx processors: TMS320C64x+ DSP Megamodule Reference Guide
Somewhat related, as an example of programming: video processing with the TMS320C64xx processors.
See also the answer provided by the OP himself, which shows two additional helpful documents.