Change the Product String

New to XMOS and XCore? Get started here.
Tobias B.
Newbie
Posts: 1
Joined: Sun Nov 24, 2024 12:22 am

Change the Product String

Post by Tobias B. »

Hello,
I´m new with the XMOS an I need only an USB->I2S converter.
I use the code from the AN00246 XUA Example to do this. This is my origin to test a simple custom board.
I have changed it to the smaller QF60B package and customized the pin outs.
But I can´t change the Product String. In the xua_conf.h I have changed it #define PRODUCT_STR "XMOS GEN3"
In Windows it shows (XUA Example).
Is there an other point where I have to change the String?

Thank you very much
Greetings Tobias
danielp
Member++
Posts: 16
Joined: Tue Jul 16, 2024 9:52 am
Location: Bristol, UK

Post by danielp »

If you ran it first as "XUA Example" and then changed the product string, it could be that Windows is caching the device name.

You can use the usbdeview tool to remove the cached data about USB devices on Windows: https://www.nirsoft.net/utils/usb_devices_view.html

Unplug the device, select all the relevant entries by VID and PID (there are usually multiple with the same PID), and then "Uninstall Selected Devices".

Now when you run your application, the correct name should appear.
XMOS, Senior Software Engineer