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.

TMS320F28388D: EtherCAT sample of iddk in motorcontrolsdk

Guru 10990 points
Part Number: TMS320F28388D

Hi,

In the attached sample code, there is the following description.
--------------------
.TI.ramfunc: {
--library = PM_tformat_lib_f2838x.lib (.text)
} LOAD = FLASH3,
--------------------
Please tell me the meaning and role of this description.

iddk_servo_2838x_flash_lnk_cpu1.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//#############################################################################
//
// FILE: iddk_servo_2838x_flash_lnk_cpu1.cmd
//
//#############################################################################
// $TI Release: MotorControl SDK v3.01.00.00 $
// $Release Date: Mon Jan 11 11:23:03 CST 2021 $
// $Copyright:
// Copyright (C) 2017-2021 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Thanks,

  • It's saying to add the code contained in the PM_tformat_lib_f2838x lib to the .TI.ramfunc section so that it will be loaded to FLASH but copied to and executed from RAM when the code runs.

    Whtiney