/Designs/Tools/i2c_AVR_USB/SW/firmware/firmware.bin
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/Designs/Tools/i2c_AVR_USB/SW/firmware/firmware.hex
41,7 → 41,7
:100280002F5F3F4F240F351F309392002093910032
:10029000C62FCC5F56C084E890E0F3D3682F893036
:1002A00008F4A8C08FEF80936100CEE1C093600096
:1002B00094E180B3847169F49150D9F7109294005D
:1002B00094E183B3837069F49150D9F7109294005C
:1002C00010928E0040E060E070E08FEFDF91CF9100
:1002D00022C2DF91CF910895683009F0A3CF83EC5B
:1002E000809383008AE58093600010927A00888171
71,24 → 71,24
:100460008BBF0895A82FB92F80E090E041E050EABB
:10047000609530E009C02D9182279795879510F0FF
:1004800084279527305EC8F36F5FA8F30895EADFED
:100490008D939D930895CF93CFB7CF93C395849BAE
:1004A000E9F7849B09C0849B07C0849B05C0849B9B
:1004B00003C0849B01C0A1C0DF93C0919000DD27E1
:1004C000C956DF4F849B02C0DF91EBCF2F930F9370
:1004D0001F9300B32FEF04FB20F94F933F9310B30A
:1004E0004FEF012704FB21F93BE031C04E7F012F84
:1004F00010B3216028C0102F4D7F2260000000B390
:1005000029C04B7F2460012F000010B32BC010B313
:10051000477F28602AC04F7E00B320612CC04F7DEA
:1005200010B320622FC04F7B00B3206432C042273B
:1005300000B349934FEF0000102714FB20F910B3CC
:100540001471C9F1297F91F2012704FB21F900B34D
:10055000237F89F2315058F1102714FB22F910B390
:10056000277E79F2012704FB23F92F7C81F200B367
:10057000102714FB24F92F7971F200C010B3012762
:1005800004FB25F92F7359F200C000B3102714FBA8
:1005900026F9223040F200C010B3012704FB27F9EE
:1005A000243028F64F77206810B30000F9CF10E40C
:100490008D939D930895CF93CFB7CF93C395989B9A
:1004A000E9F7989B09C0989B07C0989B05C0989B4B
:1004B00003C0989B01C0A1C0DF93C0919000DD27CD
:1004C000C956DF4F989B02C0DF91EBCF2F930F935C
:1004D0001F9303B32FEF00FB20F94F933F9313B308
:1004E0004FEF012700FB21F93BE031C04E7F012F88
:1004F00013B3216028C0102F4D7F2260000003B38A
:1005000029C04B7F2460012F000013B32BC013B30D
:10051000477F28602AC04F7E03B320612CC04F7DE7
:1005200013B320622FC04F7B03B3206432C0422735
:1005300003B349934FEF0000102710FB20F913B3CA
:100540001370C9F1297F91F2012700FB21F903B350
:10055000237F89F2315058F1102710FB22F913B391
:10056000277E79F2012700FB23F92F7C81F203B368
:10057000102710FB24F92F7971F200C013B3012763
:1005800000FB25F92F7359F200C003B3102710FBAD
:1005900026F9223040F200C013B3012700FB27F9EF
:1005A000243028F64F77206813B30000F9CF10E409
:1005B0001ABF002717C03B503195C31BD04010E431
:1005C0001ABF0881033CE9F00B34D9F020918E006A
:1005D0001981110F1213EDCF093641F10D3211F0CF
100,15 → 100,15
:1006300001308CF40AE53091600034FD10C0009365
:100640006000C3E8D0E00FC02795A8F45150A9F48A
:10065000220F0000F9CF4AE503C042ED01C0432F4D
:10066000C4E1D0E032E011B31461949A11BB02B33B
:1006700020E414E15F93012756E002BB279520F4A4
:10066000C4E1D0E032E014B31360A89A14BB05B320
:1006700020E413E05F93012756E005BB279520F4A3
:10068000515021F4220FF9CF012756E000003B5AC8
:1006900002BBD0F2279528F4515029F4220F000014
:1006A000F9CF012756E0279502BB20F4515021F4E1
:1006B000220FF9CF012756E02991332302BB21F6FF
:1006C0000B7E10919400110FC651D04002BB11F067
:1006D00010938E0010E41ABF006111B31B7E402FEF
:1006E0004B7E5F9100C000C002BB11BB42BB7CCF00
:1006900005BBD0F2279528F4515029F4220F000011
:1006A000F9CF012756E0279505BB20F4515021F4DE
:1006B000220FF9CF012756E02991332305BB21F6FC
:1006C0000C7F10919400110FC651D04005BB11F062
:1006D00010938E0010E41ABF016014B31C7F402FEA
:1006E0004C7F5F9100C000C005BB14BB45BB7CCFF5
:1006F000982F92959F709A3008F0995D905D5D9B60
:10070000FECF9CB98F708A3008F0895D805D5D9B5B
:10071000FECF8CB908950F931F93CF93DF93EB0116
202,8 → 202,8
:100C9000A89581BD0FBE21BD539A86E289B986E62B
:100CA00090E09093B0008093AF0082E991E09F9331
:100CB0008F932DD0A498AC9AA598AD9A10928100EC
:100CC00010928000C9DD82B38B7E82BB81B38461C8
:100CD00081BB80E49CE90197F1F781B38B7E81BBF6
:100CC00010928000C9DD85B38C7F85BB84B38360BF
:100CD00084BB80E49CE90197F1F784B38C7F84BBEB
:100CE000BADB78940F900F90A89584DAFDCFFB01C2
:100CF000DC0102C005900D9241505040D8F7089594
:100D0000DC0101C06D9341505040E0F70895A2E02E
/Designs/Tools/i2c_AVR_USB/SW/firmware/usbconfig.h
20,16 → 20,16
/* ---------------------------- Hardware Config ---------------------------- */
 
#if! defined (__AVR_ATtiny45__)
#define USB_CFG_IOPORTNAME D
#define USB_CFG_IOPORTNAME C
/* This is the port where the USB bus is connected. When you configure it to
* "PORTB", the registers PORTB, PINB (=PORTB+2) and DDRB (=PORTB+1) will be
* used.
*/
#define USB_CFG_DMINUS_BIT 4
#define USB_CFG_DMINUS_BIT 0
/* This is the bit number in USB_CFG_IOPORT where the USB D- line is connected.
* This MUST be bit 0. All other values will result in a compile error!
*/
#define USB_CFG_DPLUS_BIT 2
#define USB_CFG_DPLUS_BIT 1
/* This is the bit number in USB_CFG_IOPORT where the USB D+ line is connected.
* This may be any bit in the port. Please note that D+ must also be connected
* to interrupt pin INT0!
/Designs/Tools/i2c_AVR_USB/SW/testapp/PC/i2c_usb
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/Designs/Tools/i2c_AVR_USB/SW/testapp/PC/i2c_usb.c
301,14 → 301,17
}
#endif
 
printf("writing to adapter");
i2c_tiny_usb_write(0,0,0);
 
/* do some testing */
printf("Getting adapter functionalities\n");
printf("Getting adapter functionalities");
i2c_tiny_usb_get_func();
 
/* try to set i2c clock to 100kHz (10us), will actually result in ~50kHz */
/* since the software generated i2c clock isn't too exact. in fact setting */
/* it to 10us doesn't do anything at all since this already is the default */
printf("Reseting I2C clock to 100 kHz\n");
printf("Reseting I2C clock to 100 kHz");
i2c_tiny_usb_set(CMD_SET_DELAY, 10);
 
/* -------- begin of ds1621 client processing --------- */