Find Jobs
Hire Freelancers

Troubleshooting: Embedded systems with microchip PIC18F14K50 and C#

$30-100 USD

Closed
Posted about 13 years ago

$30-100 USD

Paid on delivery
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

About the project

4 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $57 USD for this job
User Avatar
See private message.
$42.50 USD in 14 days
4.4 (48 reviews)
4.7
4.7
User Avatar
See private message.
$84.15 USD in 14 days
5.0 (8 reviews)
4.3
4.3
User Avatar
See private message.
$42.50 USD in 14 days
5.0 (1 review)
4.3
4.3
User Avatar
See private message.
$59.50 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Australia
5.0
1
Member since Sep 7, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.