Announcement

Collapse
No announcement yet.

PC does not recognize the USB serial port after some days

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    robertferanec
    Administrator

  • robertferanec
    replied
    At this moment I do not use the +V_USB to supply FTDI.
    - ah, that is not visible from the schematic. So how do you power it up - separate adapter? Is it a switching power adapter or with transformer? That is important.

    PS: there is no LC filter on USB data

    Leave a comment:


  • A_neves
    replied
    Originally posted by robertferanec View Post
    Play with filtering as
    Paul van Avesaath
    Senior Member
    Paul van Avesaath suggested (and as I suggested e.g. add LC filter after the USB connector).
    At this moment I do not use the +V_USB to supply FTDI. Do you have an example of LC filter on USB data?

    Originally posted by robertferanec View Post
    You may need to figure out if problem is caused by noise on power (filter the power) or noise on data (e.g. try very short cable) or by something else.
    Ok, I am gonna test a short cable with ferrite and see if I am getting the problem again.

    Thank you Robert!

    Leave a comment:

  • robertferanec
    Administrator

  • robertferanec
    replied
    If any of your same boards close to the fridge is crashing, then the design is too sensitive ... or the fridge is too noisy. Play with filtering as
    Paul van Avesaath
    Senior Member
    Paul van Avesaath suggested (and as I suggested e.g. add LC filter after the USB connector). You may need to figure out if problem is caused by noise on power (filter the power) or noise on data (e.g. try very short cable) or by something else.

    Leave a comment:


  • A_neves
    replied
    Originally posted by Paul van Avesaath View Post

    also is there any mayor difference in location of your board then with the other setups? is the board that is going wrong working correctly on other locations?
    The difference is a plastic hood that covers all the system. The only heat source is the PC power supply.
    Yes, if move the board to another locations works with no problem. But there are more space between board and other peripherals like PC and AC supply.

    Leave a comment:

  • Paul van Avesaath
    Senior Member

  • Paul van Avesaath
    replied
    i mean putting a choke coil on your power and or data cable.


    also is there any mayor difference in location of your board then with the other setups? is the board that is going wrong working correctly on other locations?

    Leave a comment:


  • A_neves
    replied
    Originally posted by Paul van Avesaath View Post
    ''
    did you swap your FTDI board? it looks to me that that pcb might just have some issues.. i don know if it is easy to replace, but if 3 other system do not show this issue.. i would suspect the board itself..
    Yes Paul, I did. I am getting the same problem with another "copy" of my board.

    Originally posted by Paul van Avesaath View Post
    ''
    also you can add a line filter in your power connection for the fridge.. that can reduce the noise on your ac. those transients can be pretty anoying on components.. some times adding a ferride coil on you power connections can be enough to stabalize this power.. but i dont know how bad it is..
    I am using a ferrite on FTDI VCC. Or are you talking about ferrite coil on Power cable?

    Thank you Paul!

    Leave a comment:

  • Paul van Avesaath
    Senior Member

  • Paul van Avesaath
    replied
    '' I have 3 more systems like this, but only on at one that problem appears. I replaced my board, PC, USB cable, Power adapter and I am having the same problem. ''

    did you swap your FTDI board? it looks to me that that pcb might just have some issues.. i don know if it is easy to replace, but if 3 other system do not show this issue.. i would suspect the board itself..

    also you can add a line filter in your power connection for the fridge.. that can reduce the noise on your ac. those transients can be pretty anoying on components.. some times adding a ferride coil on you power connections can be enough to stabalize this power.. but i dont know how bad it is..

    Leave a comment:


  • A_neves
    replied
    Originally posted by robertferanec View Post
    - reset pin. Have a look how we are doing it on 28pins: https://www.28pins.com/wp-content/up...matic-Page.pdf
    Ok, I will have a look.


    Originally posted by robertferanec View Post
    - this can be anything. As I described above "Crashing / Freezing / Rebooting is caused by different problems in design and these may be for example layout issue, EMC problem, crosstalk problem, power problem (noise, decoupling, filtering, ....), long / bad cable .... that is very hard to say."
    I am using a USB cable with 1.5 m. This cable is next to 230VAC power supply and 5 USB Cameras. The only thing that stops working is my PCB.
    I made some changes to produce a new test PCB. I add a few 0 ohm resistors to test.
    I will try to power the FTDI from USB connector, test the reset conection from FTDI design guide. Also I am trying to have the FTDI more close to USB connector

    Originally posted by robertferanec View Post
    - interesting. After proper reset I would expect the device come up properly. I would probably try their original development board if that works properly.
    I have a breakout board with another FTDI model. I will make some tests to see if I am losing the connection too.

    Could you have a look on my new design?

    Thank you Robert!

    Leave a comment:

  • robertferanec
    Administrator

  • robertferanec
    replied
    discharge diode on reset pin, or on +5V Vcc output?
    - reset pin. Have a look how we are doing it on 28pins: https://www.28pins.com/wp-content/up...matic-Page.pdf

    "your board is occasionally disconnecting from your PC and does not connect back (stays like unrecognized device)" - Yes Robert, this is what is happening.
    - this can be anything. As I described above "Crashing / Freezing / Rebooting is caused by different problems in design and these may be for example layout issue, EMC problem, crosstalk problem, power problem (noise, decoupling, filtering, ....), long / bad cable .... that is very hard to say."

    I tried using a wire jumper to force FTDI reset and the PC gets a USB disconnection. But after I release this jumper, the PC see something in USB line but still can not recognize the FTDI Serial converter.
    - interesting. After proper reset I would expect the device come up properly. I would probably try their original development board if that works properly.

    Leave a comment:


  • A_neves
    replied
    Originally posted by robertferanec View Post

    - this looks like the reset problem what can be fixed by the additional resistor (or possibly also + a discharge diode).
    Robert, are you talking about using discharge diode on reset pin, or on +5V Vcc output?

    Thank you!

    Leave a comment:


  • A_neves
    replied
    Originally posted by robertferanec View Post
    - so your board is occasionally disconnecting from your PC and does not connect back (stays like unrecognized device)?
    Yes Robert, this is what is happening.

    ​
    Originally posted by robertferanec View Post
    this looks like the reset problem what can be fixed by the additional resistor (or possibly also + a discharge diode). Simply probe your reset signal and check what happens when you switch off the board. I suspect, the reset signal will not go into 0 so if you re-connect the power quickly, it will not reset the chip.
    I tried using a wire jumper to force FTDI reset and the PC gets a USB disconnection. But after I release this jumper, the PC see something in USB line but still can not recognize the FTDI Serial converter.

    Leave a comment:

  • robertferanec
    Administrator

  • robertferanec
    replied
    Crashes, because the PC can not mount the Serial COM, but can see that there is anything at USB line, but can not mount.
    - so your board is occasionally disconnecting from your PC and does not connect back (stays like unrecognized device)?

    If I switch off my board, with all big capacitors and capacitors of power adapter, my board remains, near 2 seconds, working. But If I power on my board again with a delay near this 2 seconds after switch off, my PC can not recognize the USB Serial Converter.
    - this looks like the reset problem what can be fixed by the additional resistor (or possibly also + a discharge diode). Simply probe your reset signal and check what happens when you switch off the board. I suspect, the reset signal will not go into 0 so if you re-connect the power quickly, it will not reset the chip.

    Leave a comment:


  • A_neves
    replied
    Originally posted by robertferanec View Post
    - so, you are using the board everything is running fine and then suddenly after days of weeks it crashes or freezes or reboot (what exactly is happening)?
    Crashes, because the PC can not mount the Serial COM, but can see that there is anything at USB line, but can not mount.

    I have 3 more systems like this, but only on at one that problem appears. I replaced my board, PC, USB cable, Power adapter and I am having the same problem.

    The fridge is a really big problem. I measured the AC line and every time the motor Switch on/off changes the VPP to a lower value.
    I am using a ferrite on USB cable, but I am getting the same problem.

    I made a test. If I switch off my board, with all big capacitors and capacitors of power adapter, my board remains, near 2 seconds, working. But If I power on my board again with a delay near this 2 seconds after switch off, my PC can not recognize the USB Serial Converter.
    I am using Net-ties to connect grounds, because I have another circuit to control 12V solenoids. But I soldered a jumper o have a better connection between grounds and the problem remains.

    ​Thank you Robert!

    Leave a comment:

  • robertferanec
    Administrator

  • robertferanec
    replied
    But the stranger thing is why the FTDI stays working some days, and for some reason fails?
    - so, you are using the board everything is running fine and then suddenly after days of weeks it crashes or freezes or reboot (what exactly is happening)?

    This is why I said "or one of the problems". The resistor may only solve the waiting problem (when you need to wait 5 seconds and then switch it on again). Crashing / Freezing / Rebooting is caused by different problems in design and these may be for example layout issue, EMC problem, crosstalk problem, power problem (noise, decoupling, filtering, ....), .... that is very hard to say.

    PS: Fridge is the worse - it can generate pulses on Main and these pulses can cause interruption of devices (same is happening on my monitor - black out every time our freezer switch on/off). Still if your board would be well designed, it should survive the pulses - easy to test, move your board to different room (if possible) and you will see. But I suspect, the problem may be somewhere else - e.g. I would maybe try to filter the input power (maybe use and inductor or / and capacitor filter, possibly ferrite on usb cable, etc)

    PS: Also I have seen many problems when grounds were connected through different mains (e.g. if you PC and your other device are connected in different main plugs, but these problems are usually much more visible, not just once a while).

    Leave a comment:


  • A_neves
    replied
    Hi Robert,

    Thanks for your answer.
    Yes, after this problems I notice that my schematic it is different.
    But the stranger thing is why the FTDI stays working some days, and for some reason fails? Could it be some floating on VCC at 10k pull up resistor?
    I made that layout because I do not use reset pin on FTDI.
    This system it is mounted on top of one fridge. I notice that the PC display blinks every time that the fridge motor starts, to cool-down the temperature.
    I do not know if the power supply at my PCB adapter have some problem because of ​fridge motor current needs.

    Thank you!

    Leave a comment:

Working...
X