Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support 18F14K50 #2

Open
re222dv opened this issue Feb 5, 2014 · 8 comments
Open

Support 18F14K50 #2

re222dv opened this issue Feb 5, 2014 · 8 comments

Comments

@re222dv
Copy link

re222dv commented Feb 5, 2014

Would be nice with support for 18F14K50

@signal11
Copy link
Owner

+1

signal11 added a commit that referenced this issue Jul 7, 2016
Change where ep0_data_stage_callback() gets called.  There are three cases
for a control transfer:
1. OUT with no data,
2. OUT with data,
3. IN with data.

Previously, for all three cases, the callback was actually called at the
end of the Status stage.  This commit makes the stack call the callback at
the end of the Data stage in case #2.

The benefit is that now the application can optionally reject the data
stage (by returning -1 from the callback).  This will cause a Stall status
to be sent to the host, notifying the the host of the failure.
@moondeck
Copy link

moondeck commented Jan 1, 2017

Sorry for reviving an old issue, but does m-stack support 18F14K50 now?

@signal11
Copy link
Owner

signal11 commented Jan 3, 2017

I don't have one of those chips. Have you tried it on yours? There are some differences on that one. It only has 8 endpoints, and I don't know what else is different.

@moondeck
Copy link

moondeck commented Jan 3, 2017

I havent tried yet, i will be able to try tomorrow. I want to port an existing application, that is using the non-free Microchip stack, so that the full source can be open, is it compatible with it? I must say, i have no idea about USB, or how it works on PIC, i am kinda hoping it will be mostly painless to do.

@DavidEGrayson
Copy link

DavidEGrayson commented Jan 3, 2017

using the non-free Microchip stack

Microchip's USB stack is under the Apache 2.0 license the last time I checked; what do you mean?

@moondeck
Copy link

moondeck commented Jan 3, 2017

Turns out you were right @DavidEGrayson ! Its Apache 2.0! Wasnt aware of that, i am trying to port over Numato's FPGA on-board programmer software, so they can open-source the entire thing.
They told me that they cant because the stack from Microchip was not free, and this article also suggests so:
http://dangerousprototypes.com/blog/2011/08/30/editorial-our-friend-microchip-and-open-source/

@DavidEGrayson
Copy link

Yeah, I believe the license changed some time in the last few years. They also made it so the USB stack supports XC8 instead of just C18.

@bayesiandog
Copy link

bayesiandog commented Jan 27, 2022

Sorry for reviving an old issue as well, but does m-stack support 18F14K50 now?

Has anyone ported it already? What needs to be done to do so?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants