Six minute connections should not be a problem with the rail since you just need to switch platforms (but you do need to be ready to disembark as quick as possible). Check the Deutsche Bahn site for timetables and any advisories regarding traffic.
http://www.bahn.de/i/view/DEU/en/index.shtml
If you're considering rail travel, it might be cheaper to just rent a car.