Hi,

I think you need to switch the port b off before going to set the segments, when you enable your port b the segments are briefly set to the previous number.

Regards
Bob...