The problem is as I said. Hsersetup hangs, I.e. the statement before executes and the statements after don't. If it helps, this is the code:
sertxd("Hser;")
HSerSetup B4800_32,%00
sertxd("Hser out;")
The first sertxd does it's thing, then everything stops. Weird I know.