This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

28035CLA

When I use the 28035 CLA,I found memcpy(&Cla1funcsRunStart, &Cla1funcsLoadStart, (Uint32)&Cla1funcsLoadSize) uses much time thanmemcpy(&RamfuncsRunStart,&RamfuncsLoadStart, (Uint32)&RamfuncsLoadSize),and about cla flash examples which do not use memcpy(&RamfuncsRunStart,&RamfuncsLoadStart, (Uint32)&RamfuncsLoadSize),I count understand

  • Hi,

    I hope you understand the difference between both the statements:

    user3789393 said:
    memcpy(&Cla1funcsRunStart, &Cla1funcsLoadStart, (Uint32)&Cla1funcsLoadSize)

    This is meant to copy the CLA program code from its load address to the CLA program memory

    and

    user3789393 said:
    memcpy(&RamfuncsRunStart,&RamfuncsLoadStart, (Uint32)&RamfuncsLoadSize)

    This is meant to copy time critical code and Flash setup code to RAM

    The later copying time would be much lesser due to couple of initializations while CLA program depends on its length.

    Let me know if you've any further doubts. Also, I'm a bit unclear about your question.

    Regards,

    Gautam