cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

CtrlX and arduino startup issue

CtrlX and arduino startup issue

Davey
Established Member

So i have a somewhat automated locker, driven by a CtrlX. The CtrlX sends TCP messages to another PCB to open/close the locks and detect their status. 
Then I also have a CtrlX usb -> arduino mega -> PN532 rfid reader. The arduino reads the rfid badges of our employees, who can use their badge to log in, and borrow or return items. With the ctrlX we can see a list of users who borrowed and returned each item with time + date. 

I just discovered one issue: 
We have 2 identical installations. But on one installation the CtrlX won't start when the arduino is plugged in. I can plug the arduino in after startup, and everything will work. But if the arduino is plugged in from the start, then the status led stays off. The power led indicator stays blue. Even if you unplug the arduino in this state, the CtrlX won't start. At this point I can not log in either.

When i remove the arduino from the usb, I can start up. When i go to the logs I don't see anything to tell me what is preventing the startup.

I have another (spare) arduino uno i plugged in, which also prevents the ctrlX from starting. 
The arduino that allows the ctrlX to start, lets both CtrlX start.
The two arduino that don't allow the ctrlX to start, do so on both CtrlX.
Both arduino that prevent startup, also prevent startup without anything connected. Just usb supply.

I wonder if the power supply is very limited? Or can you think of any other reason this could happen?

Both mega boards are rev3. All 3 arduinos have a ATmega16U2 USB chip.

8 REPLIES 8

Sgilk
Contributor

@Davey ,

Are the arduino all the same model? Can you please generate a system report so I can troubleshoot further?

Davey
Established Member

Hi Sgilk, 

Hereby already the log file. I restarted the device twice. First unsuccesfully with arduino connected, then again without arduino. 
I logged back in at 15h20.

Davey
Established Member

I went to take pictures + get board info from the arduino IDE. 
I attached the pictures below, but in summary: 

Arduino uno + arduino mega that fail the CtrlX to start up both share VID 0x2341. This means they are both official arduino's. 
The arduino mega that allows the CtrlX to start  has VID 0x2A03. This is not an official board. 

Both mega boards seem to be rev3 from what I can tell. The pinout + components look the same. 

Davey
Established Member

Hi Sgilk, 

If you want, I could always send you an arduino + cable so you can test this yourself? 

CodeShepherd
Community Moderator
Community Moderator

For your all information, there is similiar topic already discussed "CORE X3 crashing when booting with scanner plugged in via USB".

@CodeShepherd 
When i click your link i get a "access denied": 

You do not have sufficient privileges for this resource or its parent to perform this action.
Click your browser's Back button to continue.

I can't seem to find the article you mentioned in the forums. 

CodeShepherd
Community Moderator
Community Moderator

I updated the link above. Now the article is reachable.

Davey
Established Member

I have cut open the USB cable and put a on-delayed relay timer on the 5V wire. 
I'll work with this as my solution

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist