Our carrier board has a usb hub which requires the enable pin to be set high. I want this to be set from boot and remain high. How can this be configured? Can this be set in the Config Block Editor?
This is running the WinCE 7 image.
Our carrier board has a usb hub which requires the enable pin to be set high. I want this to be set from boot and remain high. How can this be configured? Can this be set in the Config Block Editor?
This is running the WinCE 7 image.
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
To configure the USB host enable pin (pin 129) to be set high from boot on a Colibri iMX6 running Windows CE 7, you will need to adjust the GPIO settings, as the Config Block Editor is not used for this purpose in WinCE.
Here are some methods you can consider:
Registry Settings: You can define the initial state of GPIO pins in the Windows CE registry. This involves adding or modifying registry keys that specify the GPIO pin’s behavior at startup. You will need to refer to the specific registry settings for your module to determine the correct keys and values.
Bootloader Configuration: Some GPIO configurations can be set through the bootloader, allowing you to set the pin state before the operating system loads. This requires accessing the bootloader settings to ensure the pin is set high during the boot process.
Custom Initialization Code: If the above methods do not meet your needs, you might consider writing a small application or script that runs at startup to set the GPIO pin high. This can be achieved using the GPIO API provided by the WinCE platform.
I hope this helps you configure the pin as needed. If you have further questions, feel free to ask.
Best regards,
Toradex AI Assistant.
Please, also check if these links can help you solve your problem:
Changes in SS using Configblock editor stopped booting Windows CE.
The USB Host Power Enable (USBH_PEN, pin SODIMM_129) is controlled by the USB host driver, and SODIMM_129 is hardcoded as a power enable pin. You can disable that driver and control SODIMM_129 via Config Block settings, a user app, or another method, but this will break USB host functionality. I’d recommend using an external pull-up resistor on your USB hub enable pin or controlling it with another signal or GPIO.