Find Jobs
Hire Freelancers

Troubleshooting: Embedded systems with microchip PIC18F14K50 and C#

$30-100 USD

Zamknięte
Opublikowano około 13 lat temu

$30-100 USD

Płatne przy odbiorze
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.
Identyfikator projektu: 3145530

Informację o projekcie

4 ofert
Zdalny projekt
Aktywny 13 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
4 freelancerzy składają oferty o średniej wysokości $57 USD dla tej pracy
Awatar Użytkownika
See private message.
$42,50 USD w 14 dni
4,4 (48 opinii)
4,7
4,7
Awatar Użytkownika
See private message.
$84,15 USD w 14 dni
5,0 (8 opinii)
4,3
4,3
Awatar Użytkownika
See private message.
$42,50 USD w 14 dni
5,0 (1 opinia)
4,3
4,3
Awatar Użytkownika
See private message.
$59,50 USD w 14 dni
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga AUSTRALIA
Australia
5,0
1
Członek od wrz 7, 2009

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.