The initial setup includes:
To program and debug the EZ-BLE module on the Solar BLE Sensor, set the slide switch (SW3) on the Debug Board to the EZ-BLE side. Then connect the Solar BLE Sensor to CN1 of the Debug Board.
To program and debug the ProC BLE on the Debug Board, set the slide switch (SW3) on the Debug Board to the ProC BLE side. Do not connect the Solar BLE Sensor to CN1.
Then, in PSoC Programmer,
Select “KitProg/BLE*******” in Port Selection, and then click the File Load button at the top left corner of the window. Browse for the desired hex file after doing the initial setup.
If the hex file does not match the device selected, then PsoC Programmer will throw an error of device mismatch and terminate programming. So, it is necessary to select the device and then load the corresponding hex file.
Thank you, now I managed to flash the sensor.