• USBD_Initialize() & USBD_Connect()
    Dear All I use keil µVision V5.10.0.2 and try the blinkey examples of mdk5-getting-started.pdf manual with success on my own HW, but in the USB HID Device example nothing works. I trace so many...
  • exeption return
    Can anyone halp me? I writting by assembler for stm32f051.So I can't return from exception handling (in my case this is timer update event). I have read exception entry and return from fucking programing...
  • return error
    coded so far int pushintomemory(unsigned char *buffer,int offset) { int i = 0; for(;;) { if(buffer[offset + i] == 0x90) { i++; } else { break; } else { j = i+2; } if(i == 5) { i = rand()%3 + 3; break;...
  • const *char returns versus *char returns
    We have been moving our design from 8051 to ARM Cortex. I am seeing an error complaining that the return type does not match. error: #120: return value type does not match the function type static...
  • Union return
    I have this code: typedef union { uint i; uchar b[2]; } UINT; UINT ByteToHex(unsigned char b); I write a little code in assembler that convert a hex byte y two ascii byte. when I call...