You are here

Diolan not work on startup

8 posts / 0 new
Last post
Support Questions
Support Questions's picture
Offline
Last seen: 1 year 11 months ago
Joined: 06/10/2014 - 05:31
Diolan not work on startup

Hello,

I have a problem with Diolan DLN-2 modules.

When running XP, when booting up computer from shut down state, the DLN-2 shows d1 and d2 LEDs on dimly. But not flashing like normal heartbeat. The USB device is not recognised by the operating system. Re-plugging in the DLN-2 to the USB once the computer is already on fixes, heartbeat LED resumes, and system recognizes.

In windows 7 same issue happens but LEDS appear normal on boot. DLN-2 is still not recognised until re-plug.

We use these in a production environment, and it is a hassle to have the line workers re-plugging parts of the test setups to get them to work.

Is there any firmware upgrades or assistance you can offer to fix this problem??

Thanks,

Rate: 
Average: 4.5 (2 votes)
Maxim
Maxim's picture
Offline
Last seen: 1 year 1 month ago
Joined: 07/14/2013 - 09:10
Diolan not work on startup


This is known DLN-1/DLN-2 issue and we were able to repeat it on some computers. Currently, we can not define the regular occurrence, but it was noticed that such issue occurs only when connecting board to the front USB PC connector on some PCs. Perhaps it can be the motherboard USB power peculiarity or DLN-2 microcontroller peculiarity. 

To avoid this issue at all, try to connect DLN-2 board to backside USB ports of the PC.

If locating additional USB ports is critical,  I can also offer you to return DLN-1 board and replace it for DLN-4M board, which has no this issue at all. DLN-4 supports the same API, so you will be able to continue your development without any changes.

Regards,

Maksym

alitt
alitt's picture
Offline
Last seen: 2 years 10 months ago
Joined: 11/07/2014 - 08:00
I just ran into this same

I just ran into this same issue.  We're building a system that includes the DLN-2 running the U2C firmware.  This system needs to start automatically when AC is applied, so replugging the DLN-2 is not an option.  And since we're relying on the U2C firmware we can't exchange for any other model.

I discovered that the DLN-2 only gets into this state when the PC PSU is first switched on and provides the 5V-standby supply.  The supply is weaker than the main 5V that's provided after PSON is enabled, and appears to have a significant ramp time.  Fortunately the DLN-2 schematics are available, and I was able to identify the 3.3V LDO and the RC delay for the CPU's reset.  There doesn't appear to be any low voltage brown-out detect to prevent the CPU from coming out of reset until the voltage is at a safe minimum, so I guessed that the 10k/0.1uF delay wasn't sufficient to keep reset asserted while the supply stablilizes.

As to why this was happening on front USB ports: the VBUS and ground paths from the motherboard USB ports to the supply are fairly solid, while front panel connectors have long runs of fairly small gauge wire, magifying any supply weaknesses on devices plugged in there.

Paralleling the 0.1uF at C9 with a 2.2uF cap fixes the problem on the DLN-2 I tested.  We have 10 other units to assemble, so I'll have the change done on those DLN-2s as well.  I'm sure this isn't doing anything good for our warranties though.

Maxim
Maxim's picture
Offline
Last seen: 1 year 1 month ago
Joined: 07/14/2013 - 09:10
We've found that this issue

We've found that this issue can be also caused by a LPC1343 processor bug

This is screenshot from LPC1343 errata. We will investigate what can be done with this problem.

Marco Hofmann
Marco Hofmann's picture
Offline
Last seen: 2 years 2 months ago
Joined: 09/18/2015 - 13:18
 Hello,

 Hello,

is there any new information on this topic?

I have the same problem with my DLN-1PC. As we want to use the interface for automated testbenches it is not possible to disconnect/reconnect after each start.

Does a workaround exist which can be triggered by SW?

Regards

Marco

Maxim
Maxim's picture
Offline
Last seen: 1 year 1 month ago
Joined: 07/14/2013 - 09:10
Currently the only solutions

Currently the only solutions are: 

  • Try different USB ports if possible. On some PCs and USB ports there is no such issue at all.
  • It is possible to workaround this issue by paralleling the 0.1uF at C9 (for DLN-2) and C4 (for DLN-1) with a 2.2uF cap or higher. This fixes the issue totally.

From our side, most likely we will fix this issue in the next board revision.

ravi
ravi's picture
Offline
Last seen: 7 months 2 days ago
Joined: 04/24/2017 - 08:52
Hey,

Hey,

Can anybody suggest how to work on i2c dln-2 kit, i need to get continous output 

 

heming zhang
heming zhang's picture
Offline
Last seen: 2 months 1 week ago
Joined: 08/24/2017 - 20:36
dlndisconnctall can not disconnect tcp connection on Linux

I'm using Linux ubuntu, dln_srv running and API works fine.

program ending with DlnDisconnectAll function, return DLN_SUCCEEDED.

But use netstat to check the TCP connection is still there. Which should be disconnected, but not.

Running 100 times can generate 100 TCP conncections, it's bad for our application since we communicat ofen.

 

Is it a bug? How to solve this issue?

Languages

User login

User login