Encerrado - Elaboração de plataforma para projeto de programação

De MediaWiki do Campus São José
Revisão de 10h41min de 3 de maio de 2013 por Andre.fw (discussão | contribs)
Ir para navegação Ir para pesquisar

Quarta-feira - 17/04/2013

-Tentativas de enviar sinal pra a porta através do código C da biblioteca "hidapi.h"

-Git - http://fabio-fernandes.com/blog/instalando-e-usando-o-git-no-ubuntu/

-Instalei o programa VB (cedido pela Cerne) no linux(Ubuntu 12.04), através do Wine, porém ele nao funcionou como ja tinha funcionado no Windows. (Estive pensando se o problema seria no linux ou no Wine, pois talvez o wine nao ofereça a comunicaçao necessária ao programa, ou até nao sei se a instalaçao no Wine é 100% equivalente a instalaçao diretamente no Windows)

-Leitura de documentos sobre o Pic 18F2550 (18f2550.h) OBS: Fiquei com dúvida se isso pode servir nesse projeto, pois muitos falam em gravação do microcontrolador. E nao sei se a gravaçao nos interessa.

http://www.vivaolinux.com.br/artigo/Gravacao-de-microcontroladores-PIC-via-USB-pelo-terminal-do-Linux

"Para que os programas em C possam ser gravados no microcontrolador via USB, é necessário compilá-los, ou seja, transformá-los em linguagem de máquina hexadecimal. 

Existem diversos compiladores que podem ser utilizados por esta ferramenta, entre eles o SDCC, o C18, o Hi-Tech e o CCS"

http://www.cerne-tec.com.br/artigousbparte2.pdf

http://burningsmell.org/pic18f2550/

http://www.eletrica.ufpr.br/ufpr2/tccs/150.pdf


Sexta-feira 19/04/2013

Leituras sobre USB Links interessantes: http://www.infowester.com/usb.php

http://www.infowester.com/usb30.php

http://computer.howstuffworks.com/usb1.htm



Segunda-feira 22/04/2013 e terça-feira

Leituras USB:

Capitulo 13 do livro "linux device drivers"

http://bbs.dianyuan.com/bbs/u/34/1129334558.pdf

http://www.beyondlogic.org/usbnutshell/usb1.shtml

http://www.freebsd.org/doc/en/books/arch-handbook/usb-dev.html

citações interessantes:

"Endpoints are the unidirectional access points for communicating with a device. They provide buffers to temporarily store incoming or outgoing data from the device."

Endpoint do tipo interrupt :"Interrupt endpoints transfer small amounts of data at a fixed rate every time the USB host asks the device for data. These endpoints are the primary transport method for USB keyboards and mice. They are also commonly used to send data to USB devices to control the device, but are not generally used to transfer large amounts of data. These transfers are guaranteed by the USB protocol to always have enough reserved bandwidth to make it through."

http://www.beyondlogic.org/usbnutshell/usb4.shtml#Interrupt

"A device interface is a collection of endpoints. For example USB speakers can have an interface for the audio data (Audio Class) and an interface for the knobs, dials and buttons (HID Class). All interfaces in a configuration are active at the same time and can be attached to by different drivers."

"USB interfaces are themselves bundled up into configurations [...]So to summarize, USB devices are quite complex and are made up of lots of different logical units. The relationships among these units can be simply described as follows: • Devices usually have one or more configurations. • Configurations often have one or more interfaces. • Interfaces usually have one or more settings. • Interfaces have zero or more endpoints."


prints do software, para windows, que analiza a comunicaçao USB

https://lh6.googleusercontent.com/epD232KXyedfyV2r_7LLZRQ70bn9gEWPXBxrKLuuMv2gZoexTtcoc_bstDvj-Jg-VA=w1600

https://lh4.googleusercontent.com/f1GPV21XYjF0ZOaL4gIda5OK2CZGP9H1ifx9bDMBSMv-Yrnbybi7YZmMalHCmVRW6Q=w1600

https://lh4.googleusercontent.com/eC1tw7vsLzk0OYylqKx1iYxqdE6O86c-IleXmCCqpbiwDn34FylNniG_Pw9K67wG7g=w1600

documentos com algumas informaçoes que estão auxiliando no estudo da comunicaçao entre host e o device USB:



https://docs.google.com/document/d/1-y3Ze_V60gTRnhb7FxVc1gmjkX2RaLGmtfopfyV2-d0/edit (ultima atualizaçao no dia 03/04/2013)

leitura complementar sobre URBs http://www.makelinux.net/ldd3/chp-13-sect-3

Downgrade no ubuntu 12.04 para o 11.10