NEO-6M flashing but not returning any data

Please look at this post from UKhelicopterBOB: Uno R4 Wifi not detecting GPS module (SoftwareSerial) - #14 by UKHeliBob His code works for you. Its a simple echo program, that let you read whatever is sent on the hardware serial back and forth.

The Uno R4 wifi have hardware serial, defined as serial1, pin 0 and 1. The USB/serial monitor, is defined as Serial. Try to swap tx/tx if you do not recive anything. Forget the software serial in this setup. The 6M module should send nmea data to the serial monitor, even without satelite fix. I guess you got yourself a china ublox (stolen clone). They usualy is set with 9600 baud as a start. You get what you paid for, unstable, missing ublox commands, impossible to flash, bad reception. However, you could get a good one and use it for simple prototypes.