• The 'sscanf' mistake
    sscanf(buffer, "%d", &var1_1byte); in the above case, var1_1byte is uint8_t (ie 1 byte char variable). the "%d" in sscanf resulted to writing of multiple bytes (notice that '%d' is for 'int') which...
  • mistake with Heap
    Hi! I use RTX. In my program except the others there are three processes Here they OS_MUT LOG_MUTEX; #define INIT_LOG_LOCK os_mut_init(LOG_MUTEX) #define LOCK_LOG os_mut_wait(LOG_MUTEX,0xFFFF...
  • C51 long multiple mistake
    Hi: I use c8051f410, Program Size: data=114.1 xdata=100 code=4633 I had to use the long multiple in program and find it can not be excecute properly. The code is as below, Is this stack...
  • Unable to find algorythm ( for flash download )
    Re: STR730. I have taken a largeish project - which compiles, links and runs ( JTAG DOWNLOAD ) and removed all unrequired modules etc to make a smaller version to focus on a particular problem. The new...
  • What happens in this var declaration mistake?
    Here's an excerpt of my main module (the beginning of it): #include <ezusb.h> #include <ezregs.h> #include <tng.h> #include <string.h> #include "system.h" #include "lcd.h" #define IMG_SIZE...