Posted on September 11, 2011 at 15:04After I've installed the VCP driver and connected USB to the board I get an error in device manager: ''This device cannot start(code 10)'' but when using Windows XP no error occures .. Any idea on how to fix it i...
Posted on August 06, 2011 at 09:11&sharpifdef __cplusplusextern ''C'' {&sharpendifI've seen the above in all the library header files , but what does it mean? #mix-c-and-c++
Posted on August 02, 2011 at 15:52I use DMA to write a string to USART2. After power up I trigger transmittion by pressing down a switch and detect ( oscilloscope ) that the usart transmitted two bytes less than expected - after that every time I t...
Posted on July 25, 2011 at 17:35I need to config my stm8s105k6 to work with oscillator of 16Mhz my code : CLK_ClockSwitchCmd ( ENABLE ); CLK->SWR = 0xB4; CLK->SWR = 0xB4; while ( !(CLK->CMSR == 0xB4 ) ); I get stuck behind the while loop Am I m...
Posted on August 12, 2011 at 09:42You will see the problem if you change the loopfor(i=0; i<10; i++){DMA_USART_String(str); }to for(i=0; i<1; i++){DMA_USART_String(str);}