Configurating Ublox GPS on bootup from arduino

I dont know what you mean by the 'hexfile'

And yes the program would work with Hardware serial.