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.

NEED HELP IN F2812 SCI BOOT MODE

Other Parts Discussed in Thread: TMS320F2812

HI,

       please answer following questions:

am using tms320f2812 kit with XDS100 USB V1.0 in micro controller mode, am successfully done some projects by using flash and saram, ......... now my project is : i want to use boot mode option in SCI , for using SCI ., what i have to do ?

1.is their any boot loader i want to add extra in board ??????

2.is their any on chip bootloader is available to call Sci_boot....?

3.xds100 emulator is needed for SCi Boot Mode ?

4.where i can search my SCI Boot Mode Bootloader ?

5.shall i want to do any change in linker file for SCI Boot. bootmode ?

6.is their any extra hardware i want to do ?

Many Thanks,

Thiyagarajan

  • Thiyagarajan,

    please refer to device boot ROM reference guide and boot ROM sources zip files at http://www.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&tabId=1502&literatureNumber=spru095c&docCategoryId=6&familyId=1523

    1.is their any boot loader i want to add extra in board ??????

    >> there is a SCI loader in ROM - refer to boot ROM reference guide in above link and sources are provided too.

    2.is their any on chip bootloader is available to call Sci_boot....?

    >> explained in the boot ROM guide.

    3.xds100 emulator is needed for SCi Boot Mode ?

    >> you would need an emulator if you want to debug anything. For a stand-alone boot/operation you wouldn't need any emulator.

    4.where i can search my SCI Boot Mode Bootloader ?

    >> explained in the reference guide above.

    5.shall i want to do any change in linker file for SCI Boot. bootmode ?

    >> if you are talking about SCI Bootable applciation, nope - if you are able to run the application properly by loading it through debugger then you wouldn;t need any changes.

    6.is their any extra hardware i want to do ?

    >> you would need a host that can send application to device via SCI port.

     

    Please let us know if you have any questions after referring to provided documentation and sources.

     

    Best Regards

    Santosh

  • santosh,

       hi have already  these two documents., in my hand .  i cant understand with., willl  u help me in my project ?, Thanks Thanks a lot for reply .,

    for flash programming :

    i have done flash programming via ccs3.3 on chip flash tool programmer for that i set the following settings & connections ;:

    1. Set gpioF4 - 1 , gpioF12 - 0, gpioF3 - 0, gpioF2 - 0 by jumper

    2. created led project and builded in ccs v3.3.

    3. connected the XDS100 Usb emulator to kit and to the PC Usb port.

    4. via ccs v3.3 , on chip flash tool (Tools -> F28xx on chip flash progrmmer). it's all worked properly,

    Now the matter is i want to use SCI BOOT MODE: , for this i set the following

    1. Set gpioF4 - 0 , gpioF12 - 0, gpioF3 - 1, gpioF2 - 1 by jumper

    2................... then what i have to do i dont know ??????/ please tell the further procedure to continue SCI BOOT MODE:

    Many Thanks,

    Thiyagarajan.S

  • santosh,

     These two document i downloaded and am using sd flash utility for SCI BOOT to flash programming , am able to connect and erase the flash in SCI boot mode with the help of RS 232 CABLE , but my programming is failed , the following error are displaying in the flash utility....

    FLASH PROGRAM FAILED AT BLOCK ADDRESS 0X3F6000

    :

    please guide me to do simple led project through sci boot mode ??????? convey step by step procedure ., i follow your post by every minutes

  • santosh,

     These two document i downloaded and am using sd flash utility for SCI BOOT to flash programming , am able to connect and erase the flash in SCI boot mode with the help of RS 232 CABLE , but my programming is failed , the following error are displaying in the flash utility....

    FLASH PROGRAM FAILED AT BLOCK ADDRESS 0X3F6000

    :

    please guide me to do simple led project through sci boot mode ??????? convey step by step procedure ., i follow your post by every minutes

    Many Thanks

    Thiyagarajan.S

  • Thyagarajan,

    Thanks...looks like 0x3F6000 is a valid flash memory. You shouldn;t see any problem.

    I know you have mentioned that you are using SDFLASH to program flash. But do you have CCS and any emulator with you that you can use. If you have it makes life much easier because you can verify the application using/by loading via CCS environment before you go ahead with SDFLASH route.

    see if you can use CCS to debug the application or see if flash programmation fails via CCS too, meanwhile can you send your linker command file and the map file of your test applicaiton so that I can take a look at it and point any obvious mistakes.

     

    Best Regards

    Santosh

     

  • santosh,

                 ya am using ccs v3.3 with xds100 usb v1 emulator , by using this i successfully programmed some simple led project in the following modes,

    1. jump to H0 SARAM

    2. jump to FLASH.

    now my next project is i want to load a output file to flash using Call SCI-A boot mode with the help of rs232 cable.

    Note: my aim is , i want to avoid that xds100 usb emulator, hence am moving to SCI-A boot mode., here simply i can connect rs232  cable to load code.

    Thiyagarajan.S

  • Thyagarajan,

    so when you use CCS you are able to program the flash application properly and boot to flash. You are not able to program flash using SDFlash.

    If the same application is flashable from CCS and working fine then I don't suspect it to be any application or flash or device problem. It must be something with your SDFlash settings and proceedure you are following. I think you mentioned that you are able to erase flash with SDFlash, so SDFlash is able to connect to device which menas devie is proper.

    http://emulators.spectrumdigital.com/utilities/sdflash/sdflash_faq.html

    Can yo ucheck if you are configuring your SDFlash properly for the board? It would be a good idea to open a new thread stating your SDFlash probelms, so that the relevant experts can also chime in.

     

    Best Regards

    Santosh