Jump to content

Recommended Posts

I'm trying to use the picpack usb library to implement usb on my 18f2550 board.

 

I want to use a generic HID interface and need to be able to send 40 byte long messages to the board. At this point I don't need to receive anything.

There isn't much documentation for this library though past the point of configuring it so I'm wondering if anyone else has got such a thing working?

 

The hardest part seems to be setting up the usb configuration, I'm wondering if anyone else has a configuration for a similar project they would be willing to share?

Link to post
Share on other sites
I'm trying to use the picpack usb library to implement usb on my 18f2550 board.

 

I want to use a generic HID interface and need to be able to send 40 byte long messages to the board. At this point I don't need to receive anything.

There isn't much documentation for this library though past the point of configuring it so I'm wondering if anyone else has got such a thing working?

 

The hardest part seems to be setting up the usb configuration, I'm wondering if anyone else has a configuration for a similar project they would be willing to share?

 

Well I got this mostly working. I can receive data from the PC to the PIC and it all works. But the data received is truncated to the size of the EP0 buffer. I'm using the usb_handle_class_ctrl_write_callback method.

It's working well enough for my application anyway.

 

Is there somewhere better I can ask questions about this USB library as it's not really a compiler question.

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...