• 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...
  • heap
    Simple question probably.. I have define my heap in the startup.s Heap_Size EQU 0x00001032 In a function I use: void SST25_EditEXTStr(...) { unsigned char *buffer; buffer = malloc(0x1000...
  • 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...
  • keil mistake in middlewares ver6.x
    I think there is a mistake in keil middlewares ver 6.x, keil should defines API functions for bottom layer of its middleware for micro/hardware interface and we as users can write our drivers according...
  • starting of heap
    Hi, Iam working on LPC1768. I want to allocate memory dynamically. Can anyone pls tell me what is the max size of heap allowed in the controller and what is the starting address of heap . And also explain...