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.

TMS320F28062F: IEC60730 LIB question

Part Number: TMS320F28062F

Dear all,

We are porting the IEC60730 Library v4_00_01_00 to a TMS320F28062F target, here are some questions need your help:

1. We see in the demo that L0_RAM_START define as 0x83FE, not the begin of RAML0, we knew this is because of some ramfuncs will run form L0. But  the L0_RAM_END define as 0x87FB, not the real end of RAML0 0x87FF. Can I know what's the concern? Can we change to 0x87FF to cover full range of RAM L0?

2. The CRC calculated by PSA according to the user guide, but we cannot find any documents about the PSA CRC, as the 3rd party will need this for evaluation, so is there any documents available for PSA?

Thanks a lot.

BR,

Sam

  • Dear Sam, 

    In regards to your first question, please let us know the versions of the software you are using and the exact names of the files that you are referring to.  Please provide as much detail as possible and you can even add the files.  This will help us support you better. 

    In regards to item 2,  please confirm that you are referring to the attached user's guide.  If so, Appendix A.1 talks about the PSA CRC that you are referring to.  Correct?

    The PSA polynomial that is used for computation is specified there.  In our experience, that is all that is required from a PSA perspective from a 3rd party assessor.  If you are specifically looking for something in regards to the PSAs please let us know.  Cheers, Krishna

    IEC60730_F2806x_STL_User_Manual.pdf

  • Krishna,

    For the first question, we use IEC60730_STL_Library_v4_00_01_00 library, in the example project 'simple_demo_f28069', in STL_test_report.h, we found below code, so question is that what is the concern of begin and end address of L0 RAM? the full memory range should be 0x8000 to 0x87FF  

    #define L0_RAM_START 0x83FE

    #define L0_RAM_END 0x87FB

     

    For item 2, the attached user's guide is what I refer to, we will check with customer and 3rd party to see if any other document is needed. 

     

    Thanks.

    BR,

    Sam

     

  • Hello Sam, 

    You are correct, that the full memory range is:  0x8000 to 0x87FF.  However, please look at the linker command file:  "STL_F28069.cmd" and also "main.c".   The linker command file allocates a portion of the RAM where code is copied from the Flash into RAM for execution.  You can also see that the file STL_test_report.c implements certain RAM tests.  Some of the RAM tests, like the March tests are destructive.  So a portion of RAM0 is allocated to loading and running programs.  The rest of the RAM is allocated to do RAM test, which could be destructive to the RAM contents.  I hope you find this useful, please let me know if you have additional questions.

    Cheers!

    Krishna 

  • Hi Sam,

    I assume that you have been able to resolve this issue.  I will go ahead and close this thread.  You can re-open it or post another thread. 

    Cheers!

    Krishna