Changing the TTL won't help as different devices generate different TTL's when they generate an ping response.
For example, some old Windows OS's used to generate a TTL of 32, now they generate a TTL of 128. Cisco devices generate a TTL of 255.
The actual problem you have could be a physical cabling, interface and/or speed/duplex issue between the switch and router. Check the interface of both the router and switch port it's connected to using the 'show interface' command. Also ensure that both devices are either set to auto duplex/speed or they are both locked down (i.e. 100mb full duplex). Locking down one device and not the other can cause comms problems.
If that doesn't help, maybe try a different physical cable and switch port.