pdiusbd12 + linux

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hello,
i work some project for school, and got assigned to somehow work PDIUSBD12 chip to function for some avr programmer under linux, basically i need to develop some HID for start, and then develop a driver. but i have some beginner questions
- where does firmware go if i have only blank MCU that needs programming?
- is there any generic linux driver for PDIUSBD12, i have seen there is one for FTDI, now i understand these two are very different in way they handle data on MCU side, but my Linux (Slack, kernel 2.4.22) does not recognize it.
- can i send data to it from console the way you can send it to FTDI where you could cat > /dev/ttyUSB0 ??? which file to direct cat to if it can?
-i know it can somehow work under linux since i've seen on site and on net that people mention it as useful and workable in that environment, but i cant get it recognized (possibly because it has no firmware :)
- what should i read?
any help is appreciated
thanx!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've opened my USB -> RS232 Converter some day and saw that there was a PDIUSBD22 and some Phillips Microcontroller inside. The driver for linux was the one for the MCT_U232 kernel module. Maybe you can find there some basic interface functions.

Hava a look at my web page -> http://www.tobiscorner.at.tf

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hmmm, thanx, ill try that, but dont think it'll work

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i managed to work on this to some point, but few things keep me puzzled,
i cabled pins in next way:
PDIUSBD12D ATMEGA8515
--------------------------------------------------------
INT# -> PD2
WR# -> PD6
RD# -> PD7
GND -> GND
Vcc -> Vcc
------with these i have problems----
DMAREQ (i didnt connect it in DMA mode)
DMACK# (???)
EOT# (???)
CS# (???)
A0 (this is not PA0???)

i guess these are newbie questions, but i tried with documentation for my MCU, yet dod not find it, could anybody help me or post some of their schematic connecting these two??
could anybody tell me what are these pins for: