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.

MSP430f2274 Startup

Other Parts Discussed in Thread: MSP430F2274

I use a msp430f2274 on my project. I must do Flash test and Ram test before the main call. I don't find any notes about this.

Regards

Erick

  • If you are working with the IAR compiler, you want to define a function with the form

    __intrinsic int __low_level_init(void)

    and if you are working with Code Composer, the function form is

    int _system_pre_init(void)

    These functions are essentially called immediately after reset and before main.

    See the documentation supplied with the compiler for additional details.

    Jim Noxon

     

  • ih mr. Jim,

    I'm a student and I have a problem with my MSP 430 RF2500SEH. The code examples that I have to measurement the temperature don't debbuging in IAR.

    Probably they don't are the correct codes. Can you send me other code examples to measur the temperature?

     

    Regards,

    Saúl Costa

  • Hi Saul,

    you can find a code example for temp measurement here http://focus.ti.com/lit/ml/slaa429/slaa429.pdf (click the link in the document to download the .zip-file with the sources). The example in question is msp430x21x2_adc10_temp.c.

    Rgds
    aBUGSworstnightmare

  • Thank for your help,

    but the code example in question is the acess point or the end device?

    Do you know how can I calibrate the sensor of measurement?

    There are a question like that in slau273c, but the answer is: " A temperature offset is stored in Flash, which is calibrated at production. If the offset is erased or is incorrect, it can be changed to an appropriate level fou your application"


  • Thanks for your help,

    But I've an other problem: I use IAR compiler and I check the cheksum with the code application (SLAA221).

    The IAR linker configuration is

    I used the function:

    crc16MakeBitwise2(CRC16_INIT_REM, CRC16_POLY, (uint8 *)0x8000,0xffdd-0x8000+1); /* poly = 0x8005, the code is in 0x8000 .. 0xFFDD, checksum in 0xffde .. 0xffdf.

    I don't find the same CRC.

    If you can help me.

    Regards,

    Ercik

**Attention** This is a public forum