Code Monkey home page Code Monkey logo

16fusb's People

Contributors

emanuelpaz avatar

Watchers

 avatar

16fusb's Issues

Recognition problem with faster USB ports

I realized that some ports aren't recognizing the device in enumeration 
process. Using a oscilloscope i saw that timing between host's requests were 
much faster than other ports. However, this faster interval timing still 
correctly according to USB specification.

Original issue reported on code.google.com by efspaz on 15 Apr 2012 at 5:42

Data Out packages sent by host sometimes halted PIC

What steps will reproduce the problem?
1. Use standart firmware 16USB-dio-1.2.hex . "ProcessOut" procedure is empty. 
Even more, you can commented ;call VendorRequest in usb.asm;
2. On host side, create new function:
int writeByteArray(int byteToSend, char buffer[]) {
    return usb_control_msg(
                h16FUsb,
                0x40,
                0x01,
                0x0001,
                byteToSend,             
                buffer,
                8,
                1000
            );
}
3. Send random data with help writeByteArray(1,randombuffer) many times. My 
data is control messages to YM2149f chip, but its not important

What is the expected output? What do you see instead?
After several successful packages PIC halted (or looped, or stoped) and don't 
send anymore ACK to host, don't anymore accept control frames.

What version of the product are you using? On what operating system?
I am using PIC16F628A, default firmware 16USB-dio-1.2.hex without modification. 
PIC clocked from external clock generator 24 Mhz.

Please provide any additional information below.
So i am install USBPcap sniffer and create .pcap file that can be viewed using 
Wireshark. PIC is out control after 5480 frame. .pcap file in attachment

Original issue reported on code.google.com by [email protected] on 10 Jan 2015 at 7:19

Attachments:

usb.asm won't compile under linux ubuntu 12.04 LTS

What steps will reproduce the problem?
1. gpasm -c usb.asm # -c param to produce object file
2. Compiler outputs " Segment fault (core dump)" error
3.

What is the expected output? What do you see instead?
expected corect usb.o 

What version of the product are you using? On what operating system?
16Fusb.dio.hid.1.2 under ubuntu linux 12.04 LTS

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 Jul 2014 at 7:25

Attachments:

Project structure

Project structure must be changed to make core and functionalities code more 
decoupled.
The new structure must enable many functionalities to use the same core 
objects, in a separated folder. Each functionality should have its own MPLAB 
project and/or its own Makefile for GNU Make.


Original issue reported on code.google.com by efspaz on 15 Apr 2012 at 7:04

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.