we have an custom board having spi flash and usb. In custom board usb has 5v, gnd , usb_dm_con and usb_dp_con pins. This pins are given out for usb type B for loading the files into spi flash using uuu tool through usb. we have given the connections as mentioned below:

-> we changed the boot mode to usb serial downloader.
-> After power on we have connected the type B cable to board and other end to PC but usb is not detecting .
Questions:
1. Is this correct way to do for usb1 in custom board when compared to EVK-i.mx8mplus ?
2. Any alternate solution for booting the custom board for this kind of connections?
3. if this is not correct what is the correct way to boot the board?