Troubleshooting: USB Embedded system with microchip PIC18F1


I am looking for someone who can help me with a sample application I am building.

I am using C# on the PC, and a PIC18F14K50 on a low pin count USB development board:

[url removed, login to view]

I've managed to get the USB Framework working in with my PIC18F14K50 as HID device. The firmware is identical to the "USB Device - HID - Simple Custom Demo” provided with the low-pin development kit.


I want the PC to change the state of the LED via USB as fast and often as possible. Theoretically this should be every 1 ms with the USB HID specs (The flashing LED is not the end product - I ultimately want to refresh 1 byte of data on the device every 1 ms) My problem is that I can only flash the LED every ~ 10-20 ms. I'm attaching an image from my oscilloscope.

Looking at the D+/D- lines, packets of some sort are being sent to the device every 1 ms.

My software is written in C#. I have implemented Andy Olivares’ thread carefully from 2009.

[url removed, login to view]

I am using the asynchronous i/o. I am using the correct flags to initialize createfile(). I am sending a new OVERLAPPED structure. I have also put this code in a high priority thread.

The high priority thread seemed to improve things a little bit (sometimes there is an occasional transition that happens within 7ms), but I’m getting nowhere near 1 ms speed between states.

I am looking for someone who can help me achieve the flashing LED at a rate close to 1 ms.

I will send you the source code for the host as well as the source code that runs on the device. Would be particularly helpful if you already have the Microchip Low Pin USB Development Kit. If not, we could probably get away working with a different chip from the PIC18 Family.

IMPORTANT: Please write I AM REAL in your response. Unfortunately most of the responses I get, the candidate does not bother to read the specs. Thank you for being the one who does.

Færdigheder: C# Programmering, Elektrisk Ingeniørarbejde, Elektronik, Microcontroller

Se mere: microchip usb, pic18f1, microchip hid usb, pic18f1 usb, thread programming, software development forums, sharp-electronics, programming forums, programming board, please help me write an application, near c programming, m.c.m. electronics, in system programming, get help with c programming, framework programming, embedded programming in c, embedded c++ programming, data structure sort, data structure programming in c, data structure problem, c++ usb programming, bit problem, asynchronous programming, microchip usb using, pic18f1 usb flash

Om arbejdsgiveren:
( 0 bedømmelser ) north melbourne, Australia

Projekt-ID: #971945

8 freelancers are bidding on average $179 for this job


I AM REAL Hello, I am interested to work on this project. Pls. check your PMB for details.Thanks. Regards, Polestar

$250 USD in 14 dage
(4 bedømmelser)

Hello, We would like to take a chance to introduce IonIdea, a European and American corporation, an innovative leader in the IT [url removed, login to view] have completed a lot of projects like this. Our client list includes such co Mere

$200 USD in 30 dage
(1 bedømmelse)

please check pm.

$200 USD in 3 dage
(0 bedømmelser)

Hi check your pm

$150 USD in 7 dage
(0 bedømmelser)

i can i will and i would

$200 USD in 20 dage
(0 bedømmelser)

I AM REAL. Only for your information about your proyect. Read the PPM. Regards...

$30 USD in 125 dage
(0 bedømmelser)

We are a team of free lancers having experiance in the domain for years

$250 USD in 30 dage
(0 bedømmelser)

Please check PM.

$150 USD in 7 dage
(0 bedømmelser)