2010-05-25 03:05 AM
PWM using TIM1 [problem with PortB.0 - TIM1_CH1N]
2011-05-17 06:08 AM
This lines was wanting:
FLASH_Unlock(FLASH_MEMTYPE_DATA); // unlock data memory by passing the RASS key in the proper order FLASH_ProgramOptionByte(0x4803,0x20); // byte OPT2 resides at address x4803, write a 1 to bit 5. This will also write to the NOPT2 complement byte FLASH_Lock(FLASH_MEMTYPE_DATA); // re-lock data memory