• pointer passing
    I don't know if this is me or the compiler. I have a declaration PSD_SIGNAL_DEF far psd_temp_def = {CS_TEMPERATURE_PSD_ADDRESS,CS_TEMPERATURE_PORT,CS_TEMPERATURE_PIN,0}; and a call psd_temp_def...
  • RTX51 passing pointer to struct as a message
    Hi. I'm trying to send a message using RTX51, where the message is a pointer to a struct. I'm having trouble with type conversions, and the pointer never comes out correctly on the other side. This...
  • problem with stack pointer for reentrant functions
    Hello, i've got a problem when linking my project, I use large reentrant functions , so in the startup file, i want to initialise the variable C_XBP. But when i want to link my project, there is an...
  • Problems with Passing Pointers as Parameters
    Okay, I'm trying to pass a pointer to a char buffer to a function. It works fine in the Keil simulator/debugger, but not on the target hardware. // Variable Declaration #define MAX_RX_SIZE 100 static...
  • Passing 2-D array
    I want to pass a 2-D array from one function to another function. I wrote the program but sometimes i get wrong values. float Arr[81][10]; void Monitor_Slot1(void) { if(Slot_1 == 0) { Dev_Curr...