Find Jobs
Hire Freelancers

Troubleshooting: Embedded systems with microchip PIC18F14K50 and C#

$30-100 USD

Avslutat
Publicerad ungefär 13 år sedan

$30-100 USD

Betalning vid leverans
Hello, I am looking for someone who can help me with a sample application I am building who is experienced with Microchip microcontrollers and USB. I want the PC USB to instruct an LED to flash every 1 ms (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. Please read detailed instructions below. Ken ## Deliverables Hello, I am looking for someone who can help me with a sample application I am building who is experienced with Microchip microcontrollers. I am using C# on the PC, and a PIC18F14K50 on a low pin count USB development board: <[login to view URL]> 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. PROBLEM: I want the PC USB to instruct an LED to flash every 1 ms (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. [login to view URL] 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 have attached the code for the host as well the code for 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.
Project ID: 3145530

Om projektet

4 anbud
Distansprojekt
Senaste aktivitet 13 år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
4 frilansar lägger i genomsnitt anbud på $57 USD för detta uppdrag
Använd avatar
See private message.
$42,50 USD Om 14 dagar
4,4 (48 omdömen)
4,7
4,7
Använd avatar
See private message.
$84,15 USD Om 14 dagar
5,0 (8 omdömen)
4,3
4,3
Använd avatar
See private message.
$42,50 USD Om 14 dagar
5,0 (1 omdöme)
4,3
4,3
Använd avatar
See private message.
$59,50 USD Om 14 dagar
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för AUSTRALIA
Australia
5,0
1
Medlem sedan sep. 7, 2009

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.