Critics say the charges are trumped up and that the trial is an attempt to keep Suu Kyi out of the way for the elections, expected to entrench nearly half a century of army rule.
Ban had expressed concern his visit would be used by the junta for propaganda purposes but he decided to go anyway, hoping his knack for quiet diplomacy would persuade the generals to compromise, as they did last year when Ban convinced them to lift humanitarian aid restrictions after Cyclone Nargis.
Analysts say Ban may have been given some indication by the generals, or by U.N. envoy Ibrahim Gambari after his trip last week, that his visit might bring some kind of positive result.
Human Rights Watch said Ban "should not accept the return of opposition leader Aung San Suu Kyi to house arrest or vague statements about political reform as signs of a successful visit."
(Writing by Martin Petty; Editing by Alan Raybould and Alex Richardson)