The code I have works in debug mode, not if you embed it to flash ram. Did you try embedding it?
jep. I didn't try it in debug mode. It works if the i2c class is initialized in the ButtonPressed event. My boot module sends no beacon nothing, but as you said firmware upgrade is possible.