• sscanf() does not work correctly
    When I use following statement in the code which runs on ARM9, it does not correctly parse the IP address. I am using standard function for sscanf(). main() { unsigned char ip[16]; sscanf("255...
  • __global_reg() don't work correctly
    I declare a global variable: __global_reg(5) pCPUCB_t Cur_CPUCB; Then I assign a value to this variable: Cur_CPUCB = &CPUCB[0]; But a compiler doesn't generate code for this assigments...
  • Incorrect work of the sprintf function
    char str [4]; sprintf (str, "%.2x", 0x01);//Conversion of byte to the 2nd bit hexadecimal value I expect in str[0] 0 character, in str[1] 1 character, that is '0' and '1'. As a result function...
  • Sprintf works, but not putchar or printf
    I am using Infineon XC866 and Keil uvision. I selected the LX51 Linker in the project setup. The UART is init through /// Initialization of module 'UART (Serial Interface)' UART_vInit(); which...
  • ADC channels continuous scan conversion doesn't work correctly
    Hello, In my project I need to measure some analog inputs. I have an stm32f072 micro controller which have only one ADC, but multiple channels. I didn't work ADC with multiple channels before this...