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.

TMS320F28069 project cmd file

Other Parts Discussed in Thread: TMS320F28069M, TMS320F28069, CONTROLSUITE, MOTORWARE

Hi there,
I have some problems with the cmd file for a Buck_VMC_F28069M project,the code is in F28069_FLASH_DP_BoosterPack.CMD file,line 57-61


FPUTABLES   : origin = 0x3fd590, length = 0x0006A0 /* FPU Tables in Boot ROM */
IQTABLES    : origin = 0x3fdc30, length = 0x000B50      /* IQ Math Tables in Boot ROM */
IQTABLES2   : origin = 0x3fe780, length = 0x00008C      /* IQ Math Tables in Boot ROM */
IQTABLES3   : origin = 0x3fe80c, length = 0x0000AA /* IQ Math Tables in Boot ROM */
IQMATH      : origin = 0x3fe8b6, length = 0x000afa /* IQ Math functions in Boot ROM */


but as the Memory Map of On-Chip ROM Figure given in technical reference guide,why is it not configured as below:


FPUTABLES   : origin = 0x3fd860, length = 0x0006A0
IQTABLES    : origin = 0x3fdf00, length = 0x000B50
IQTABLES2   : origin = 0x3fea50, length = 0x00008C
IQTABLES3   : origin = 0x3feadc, length = 0x0000AA
IQMATH      : origin = 0x3feb86, length = 0x000afa


what's more,the start and end address of IQ Math Functions are 0x3FEB86 and 0x3FF3B0,0x3FF3B0-0x3FEB86=0x82A,I don't know why the allocated table size for IQMATH is 0x000afa instead of 0x00082A


Regards

  • Hi,

    Sorry for the delay in replying. The BoosterPack project works with the F28069M launchPad. The device on this launchpad is the TMS320F28069M device and not the generic TMS320F28069. Please refer to the InstaSPIN-FOC™ and InstaSPIN-MOTION™ user's guide (Literature Number: SPRUHJ1F) where these differences have been documented (as shown below).

    Hrishi

  • TI docs for the F2806xM list the IQTables3 at address 3fe8b6 (spruhj1F July 2014 and fig 2.2 spruh18F 3-2016) while the TI command files for the M suffix part list it as 0x3FE80C. The last 2 digits differ: 3fe8(b6 vs 0c).


    cmd files: TI\controlSUITE\device_support\f2806x\v151\F2806x_common\cmd\F28069M.cmd, f28069M_ram_lnk.cmd from 2-2-2016

    IQTABLES3 : origin = 0x3FE80C, length = 0x0000AA /* IQ Math Tables in Boot ROM */


    I would have to assume the newer cmd files were correct as those seem to work but would like confirmation as to correct address.
    -- Trying to integrate RTOS with motorware for motor drive.

    Thanks,
    Chad
  • Chad,
    that would be right. The IQTables are at different location in 2806x and 28006xM parts.

    Best Regards
    Santosh Athuru
  • I Understand they differ between M and NO M parts BUTthis question is specifically about discrepancies between addresses for the ROM table IQtable3.

    The .cmd files (F28069M.cmd)have it at one address (0x3FE80C) while the TI docs list it as 0x3F E8B6 ('doc file names listed in my first post. The No M IQTable3 is at 0x3feadc in both .cmd and docs. Compare the 3fe80c to table above ... not in either of them.

    The other differences between M and no M (FP Math Tables, IQTables, and IQTables2) are consistent between the respective .cmd files and TI documentation for the respective part suffix.

    Additionally, TI Doc's also list the NO M IQTables at 0x3fdf000 (an extra 0) in spruh18F fig 2.1 p 192. This is listed as 0x3fdf00 in the no M suffix.

    Thanks,
    Chad
  • This should have said in first sentence that this is for the IQTables3 in the M suffixed .cmd files / documentation for the M suffixed chip.
    The non M has matching .cmd files to the documentation.