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.

TMS320F2812: TMS320F2812

Part Number: TMS320F2812


I was able to use the IEC60730_f28027 lib into my project except some parts of the flash rom. I was getting 0s from all of the returns from the function (the STL_CRC_TEST_testNvMemory)

I got the proper results  when I modified the Flash start and end address below 0xFFFF in the STL_system_config.h

What is the maximum range I can set for the addresses below?

#define FLASH_START_ADDRESS          0x3EBF00

#define FLASH_END_ADDRESS              0x3F7E7F

I saw the comment in the STL_crc_test.h,

"

- If the provided golden CRC value is identical to the calculated CRC value, the function will return

//! SIG_NV_MEM_CRC_TEST. Otherwise, it returns TEST_FAILED.

//! - If the non volatile memory range to be tested is greater than 65535, the function returns 0.

//! - If the provided start and end addresses are outside of a non volatile memory region , the function

//! returns 0.

"

 

  • Hi Zaw myint,

    Thank you for your question.  We are the process of finding the right domain expert to help you and we will get back to you.  Cheers! Krishna 

  • Hi Zaw myint, 

    It appears that you are trying to use the IEC60730_f28027 library on the TMS320F2812.  This is an invalid configuration.  Can you please clarify exactly what you are trying accomplish so that we can support you better.  

    In general the APIs are extremely well documented and you can learn more about the inner workings by running them on the native target that they have been developed for, in this case the f28027.  You would have to obtain a 28027 target board to accomplish that. 

    Once you have are able to see the examples in action, you will be able to easily migrate the solution over to your 2812 target environment, if that is what is needed. 

    Hope this helps!

    Cheers!

    Krishna 

  • Hi Krishna,

    Yes, I am implementing IEC60730_f28027 library into my project (TMS320F2812) as Lori Heustess suggested several months ago. My project requires CRC checking for the flash and RAM, and testing registers at least once a day.

    I have a 28068 target board to try out the API and no issue using 28068 target board.

    I have to modify some memory addresses in the STL_system_config.h to use the F28027 lib on F2812.

    My question is,

    What is the maximum range I can set for the Flash?

    Thank you.

    Zaw

     



  • Hi Zaw, 

    Thanks for the context.  I believe you are planning to use the STL_CRC_TEST_testNvMemory function in the STL_crc_test.asm file.  Can you please confirm. 

    As you can see in the datasheet the 2812 has Flash Sectors A through J.  The overall flash memory ranges from 0x3D8000 to 0x3F7FFF.  There are no restrictions imposed by the API itself.  So you can specify the entire range OR only the portion of the flash that you are using.

    Hope this helps.  Please let us know if there are any additional questions.

    Cheers! 

    Krishna 

  • Hi Krishna,

    I will use cpu_test, pc_test, crc_test, march_test and register_test files. 

    Thanks for the info.  

    Zaw