Hi there,
I work for an archiving and data recovery company in Australia and constantly work with SD cards with the same problems as yours. There are, as Bjornl said earlier, many programs that recover lost, formatted or hidden data. However, there are only a few programs that will 'repair'...