Content originally posted in LPCWare by jantje1973 on Thu Dec 05 00:38:58 MST 2013
Hello,
This serial number is displayed correctly, as you can see in the screenshot “threeRPSequence1.png”. The crt_emu_cm3_nxp tool is used for this (which also flashes the target). When one Red Probe+ is used, the dialog where you select your Red Probe+ device no longer shows up. However when you have multiple Red Probes+ connected it lets you choose one every time.
The problem is not 100% reproducable. First it worked, the selected probe flashed the target (with 2 Red Probes directly connected to my laptop and 1 in my monitor's hub that also has a mouse and a keyboard connected). Then I reconnected the probes and added another hub with other devices connected (see “threRPDeviceManager.png”). The first two probes flashed correctly, but the third one got redirected wrong.
Then I unplugged the devices, one by one, including the USB-hub, but it still got redirected. Also the connection sequence is tested, but still the same behavior (sometimes redirected to probe 1, sometimes to probe 2).
What has been detected is that when the wrong Red Probe+ is used to flash, the first probe in the list is used.
Also the probe that gets redirected has a different serial number comparing to the other 2. Could it be that somehow it different (newer) firmware?
Something else I tried is using the crt_emu_cm3_nxp command line tool directly by using the command: crt_emu_cm3_nxp -flash-load-exec "<axf-file>" -g -2 -e2 -vendor=NXP -pLPC1765 -s250 -flash-driver=LPC175x_6x_256.cfx -x <project>
The emulator is selected with the number after 'e', here the 3rd probe. This command also redirects to a different probe.
Yes we use FTDI based USB-serial adapters too. These are mandatory for our solution.