The default drive mode of the pins is ihigh impedance analog mode. In this drive mode the output buffer is disabled and hence boundary scan test cannot be done in this mode since the external hardware cannot control the output state of
the IO. The IO_PRT_PRT(X)_PRT register have to be written with 0x0C to set the port X in strong drive mode. This can be done by
programming the device with an empty project and setting all the pins to this setting as part of maincode.
CY_SET_REG8(CYDEV_IO_PRT_PRT0_PRT,0x0C); //Port 0
The above API has to be repeated for all the ports.