- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I'm very sad to say that I feel like Tom Hanks in Cast Away trying to make the usb component work. I have been trying for days and the only results that are comming out are red circles with white X inside them, errors.
The one I'm stuck with is " L127: UNRESOLVED EXTERNAL SYMBOL SYMBOL: USB_MIDI1_InqFlags " main.obj (MAIN) line 0, after building the project and this is what show in the .map file " USB_MIDI1_InqFlags . . . . . . . . . . . . --- ** UNRESOLVED ** MAIN " .
I don't have a clue from where this error is originating. I tried to follow / understand the USB-MIDI example project but most of the code is new to me and I couldn't find any info, unforutnaly. Not even Google couldn't explain it. All I'm trying to do is interface the 001 kit to a music program via midi. So its only the USB component with midi settings and a couple of switches. I can't understand why it's this complicated. Please I'm really in need of some help and experience from you guys. PLEASE HELP.
Thanks a lot.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Best to post a bundle of the project so forum can look at.
In Creator, "File", "Create Workspace Bundle", and post it.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You define the following to be external, but I see no definitions
made in rest of workspace.
extern volatile uint8 USB_MIDI1_InqFlags;
extern volatile uint8 USB_MIDI2_InqFlags;
So drop the extern part of the declaration, it compiles for me in 2.2 service pack 5
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks guys I don't know what to do without you. I have deleted the extern and it worked just fine. What I did is I added a USBFS component and configured the MIDI part instead of adding a ready made USB-MIDI (with UART), just to save resources. I will continue to work on it today and will keep you posted.
One last thing. Can some one please explain what the exten meant in this code?
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh ok I get it. Can some one please explain these instructions cause I'm still hovering in space:
USB_EP_MM
USB__EP_DMAAUTO
USB_MIDI1_InqFlags
USB_INQ_IDENTITY_REQ_FLAG
Please bear my ignorance but I couldn't find any meaning on the web.
Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
External variables, and difference between declaring and defining variables -
en.wikipedia.org/wiki/External_variable
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot every one. Your help is priceless. I'm still hoovering in space but little by little I'm getting closer to earth with your help.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content