programming bs2p40