This may only works if the phone's driver is properly installed and or by using Nokia PC suite or OVI suite. And also ensure that the USB cable wire you use is working fine.
Just refer to the solution below and locate the highlighted components on Nokia C5-00 PCB Board and do a visual check up of those components for possible damaged and oxidation build ups. Clean the board first if necessary.
Nokia C5-00 USB Device Not detected Problem Solution
Repair hints for Nokia C5 USB connection not detected problem:
1. Check/resolder the USB pin connector, Clean if oxidized, replace if necessary.
2.Check/replace the USB fuse.
3. Check /replace the filter coil and the ESD filter.
4. Rework/replace the USB tranceiver IC.