To get the id of the connected device, use the -fid command:
S32FlashTool.exe -fid -i [uart | can | eth] -p [devicename]
where:
For example:
S32FlashTool.exe -fid -i uart -p COM35