Ecclestone battles for hard-fought 50