I am having trouble with this synthesis. I take 15ml DCM with 200mg codeine base dissolved and make sure its really dry with sieves. Then add something like 500mg of boron tribromide. Immediately the codeine drops out of the DCM solution... no doubt my homemade BBr3 contains a small amount of HBr and Br2. This stuff is unbelievably reactive with air, i've never seen anything fume like it in my life. So i waited/stirred 30mins then added ice/ammonia. No precipitate, i assume the codeine hbr simply dissolved in the aqueous. So next i tried the same thing but added 200mg DIPEA to soak up the acid. Still no morphine precipitate. I worked up both layers both times and verified there was no morphine, i thought it might be dissolved in the high PH aqueous layer but that's only possible with NaOH i believe, morphine should always be insoluble in ammonia hydroxide. I don't know what the problem is. My boron tribromide is a bit red, i don't have enough to distill. I started from Br2 and Al to make aluminum bromide, anhydrous. Unfortunately i couldn't distill this either but i did leave it under vacuum to hopeful get the free bromine out. I melted it and poured it into another flask with potassium tetrafluoroborate and ended up with only a few ml of BBr3 distilling over. Next time i will use liquid tetrafluoroborate. All 3 of these things really fume like hell. I'm not looking forward to doing it again. I will try to use a vacuum next time, my joints weren't greased and it was pulling in more air then it was worth. I have to make sure i don't get the aluminum bromide on the ground joints as well, god damn what a mess. A propane torch wouldn't even get them apart i had to soak in WD40 then use a propane torch.