Posted on May 17, 2011 at 14:25Not sure if it ''ll work but you can try it out. /* I2C1 configuration*/ I2C_InitStructure.I2C_Mode = I2C_Mode_I2C; I2C_InitStructure.I2C_DutyCycle = I2C_DutyCycle_2; I2C_InitStructure.I2C_OwnAddress1 = 0x28; I...
Posted on May 17, 2011 at 14:25Just make sure that you have another CAN device with the right baud rate on the network that can receive your packet. Also you can check the CAN error(CAN_ESR) status register to find out the type of error.
Posted on May 17, 2011 at 14:12Hello damh Just to extend my knowledge..can you give some more explanation .. Whats wrong with IAR specific pragma commands?
Posted on May 17, 2011 at 14:12Absoulte placement is possible for variable but not for structure. CONSTSEG should be defined in linker files based on the size of your structure. Try this one: #pragma location=CONSTSEG const struct { int x; ...