I’m wondering if anyone has ever figured out whether or not it’s possible to flash multiple WP76xx modules using one instance of fdt2.exe? The documentation for this tool is terribly sparse for a product meant to be mass-produced!
Currently we’re trying to produce more than a thousand units and we’re trying to see if we can flash at least 2 modules simultaneously in a Windows 11 environment using this tool. I’ve found a few posts on this forum with differing opinions on which arguments to use (-usbport, -usbhub, with a space between the usbport arg and the port number, using the modem COM port as the usbport, and using the hub/port for the port argument, etc..). None of these suggestions appear to work as I find I can only flash one device or the other when two are plugged in.
The app note for FDT2 has no mention of the usbport/usbhub arguments, and the help function for the tool says it can support up to 12 devices simultaneously, but I am beginning to think this is not supported in Windows, but only in Linux.
I’ve seen some other community members post Batch scripts where they’ve settled for running multiple fdt2.exe instances, but is this really the only supported method for using this tool in Windows?
I was really hoping I could just specify the arguments like this:
./fdt2.exe -f ..\image_wp76xx.spk -usbhub 1 -usbport 4 -usbport 9 -a
Sadly this does not work, and from what I’ve seen in other examples I would need to call fdt2.exe as many times as I would want there to be instances for each usbport like so:
Has anyone else ever found a better solution to this problem?
We are limited to only a Windows 11 PC in our production environment and so a Linux machine or even virtual machine is out of the question. There has to be a better way than this!
I read through this app note this morning which is why I created this post to reach out for additional help.
There isn’t any documentation in the app note for these usbport and usbhub arguments, and the app’s help function doesn’t give much detail on whether or not these arguments can be combined or how they should be combined.
Furthermore, as I stated in my initial post, all I can find is outdated information posted by moderators and community members in other posts here which doesn’t seem to work at all with the current version of this tool (for example using the modem’s COM port as the value supplied to -usbport).
Is there any current documentation that can be shared for this tool (besides this appnote) which explains these specific parameters (usbport & usbhub) in more detail, or at the very least can you confirm whether or not it is possible to simultaneously flash multiple devices with one instance of this tool in Windows?
Do I need to create a batch script like the above example and specify each usbport/usbhub and run multiple instances of the tool, is that the only way to do this?
from your description, if you confirm it cannot download multiple device by single command line, then download parallelly with couples of fdt2 command line in the batch script should be the workaround.
BTW, i believe when you do the production, each time when module connects to PC, the USB port should be the same COM port.
So what is the problem with couples of fdt2 command lines?
And there’s no problem with a couple of fdt2.exe instances called via a batch script; but I wanted to clarify this is the correct way to do this because the documentation for the tool is sparse and I’ve only seen a few examples on this forum from other community members without much clarity as to if they’re using the tool correctly (which as I had mentioned previously some of these other implementations are using outdated methods, so I also wanted to know if anything has changed since - as the app note doesn’t appear to outline all of the tool’s functionality).