To get CodeBug connected to your Raspberry Pi it needs some preperations.
Follow the instructions carefully!!!
Follow this guide: Raspberry Pi Controlled Codebug With I2C to i2c tether CodeBug to your Raspberry Pi, allowing you to control your CodeBug from your Pi and/or with Raspi-R.
In case it does'nt work ;-(
Somtimes the newest codebug_i2c_tether.cbg won't load to CodeBug.
During codebug_i2c_tether.cbg upload 3 leds will lit (left blinking). This means an error...
You can try an older version. Download it here from github.com: