0
\$\begingroup\$

I made my own pcb design for mechanical keyboard. When I wanted to test it, both mac and windows system recognize only FTDI ft232rl chip on pcb but not atmega32a behind it that controls whole keyboard. I installed all ftdi drivers but nothing changes. What should I do or try next?

-rgb diodes are working, I mean they flash white light, probably feeling 5v usb input, but in firmware default color is white also.

\$\endgroup\$
4
  • \$\begingroup\$ Did you set the correct VID/PID, etc. in the FT232RL? \$\endgroup\$
    – Dave Tweed
    Apr 20 at 10:17
  • \$\begingroup\$ Do you mean in code or by driver from ftdi website? If you mean in-code I do not have any line that specify anything about ft232rl. \$\endgroup\$ Apr 20 at 10:23
  • \$\begingroup\$ The FTDI driver package includes a tool for editing the EEPROM. \$\endgroup\$
    – Dave Tweed
    Apr 20 at 10:29
  • 2
    \$\begingroup\$ FTDI FT232RL is an USB serial interface chip. It does not understand how to be a keyboard, no matter if VID/PID are changed. \$\endgroup\$
    – Justme
    Apr 20 at 10:39
1
\$\begingroup\$

There is no way you can make a FTDI chip or anything behind it look like an USB keyboard.

It is a USB UART chip and thus with FTDI drivers it will look like an USB serial port, in all operating systems, be it Windows, Mac, Linux, FreeBSD or any other OS.

So since it is a serial port, you can talk to the ATMega via the serial port. There is no way the OS or FTDI drivers can know what you have connected to the FTDI and how to communicate with it.

\$\endgroup\$
20
  • \$\begingroup\$ So basically, this configuration should work, but firmware compiled without any problem and it was flashed on atmega32a via avrdude also from the first try. So what do you suggest me to do now? To take off atmega from pcb and flash another firmware or...? \$\endgroup\$ Apr 20 at 10:26
  • 1
    \$\begingroup\$ What is it that you intend to do with the ATMega32, what do you want to communicate it with, over the FTDI serial port? Due to the FTDI chip, it will never look like a keyboard to the PC, it will be a serial port. \$\endgroup\$
    – Justme
    Apr 20 at 10:33
  • \$\begingroup\$ I'd like to understand better why this was downvoted? I hope there is a real reason behind it. \$\endgroup\$
    – Justme
    Apr 20 at 10:41
  • 2
    \$\begingroup\$ I have said many times that the FTDI FT232RL will not show up as a keyboard to your computer, but as a serial port, so you cannot type keys like you can on a keyboard. If you open up the serial port with a terminal program, you should see serial data sent from the ATMega. \$\endgroup\$
    – Justme
    Apr 20 at 11:11
  • 1
    \$\begingroup\$ No hex file can make it look like a USB keyboard. The FTDI chip will still show up as a FTDI serial port to the PC, regardless of the ATMega32 being programmed, in reset, erased, or soldered off completely. \$\endgroup\$
    – Justme
    Apr 20 at 14:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.