• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » C2000™ Microcontrollers » C2000 32-bit Microcontrollers Forum » which linker file will suit for SCI BOOt mode in F2812
Share
C2000™ Microcontrollers
  • Forums
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
C2000 Resources
  • Product Folder
  • C2000 Training Portal
  • C2000 Technical Training Catalog
  • C2000 Datasheets, App Notes, User Guides
  • C2000 Hardware Design Kits
  • controlSUITE for C2000 Software Library


  • InstaSPIN Resources
  • What is InstaSPIN?
  • Videos and Support


  • InstaSPIN-FOC and InstaSPIN-MOTION Resources
  • What is InstaSPIN-FOC?
  • What is InstaSPIN-MOTION?
  • InstaSPIN Simulation Tool
  • Product Folder: F28069F, F28068F, F28062F, F28068M, F28069M
  • User’s Guide
  • Technical User’s Manual
  • Tools
  • Forums

    which linker file will suit for SCI BOOt mode in F2812

    This question is not answered
    Thiyagarajan . S
    Posted by Thiyagarajan . S
    on Apr 27 2012 07:17 AM
    Expert1420 points

    Hi ,

                    previously i discussed with you all about f2812 SCI Boot mode, please finally answer  one more question.

    1. what linker file i have to add to compile the source code for SCI BOOT Mode HEX FILE ?

    I HAVE TWO LINKER FILES , I ATTACHED WITH THIS MAIL, PLEASE CORRECT AND SENT IT TO ME , ...

    I HAVE TO FINISH MY PROJECT AS SOON.........., PLEASE HELP ME

    3426.F2812.txt.....,

    7888.DSP281x_Headers_nonBIOS.txt

    5224.F2812_EzDSP_RAM_lnk.txt

    Many Thanks,

    Thiyagarajan.S

    F2812 TMS320F2812 sci boot mode
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Santosh Athuru
      Posted by Santosh Athuru
      on Apr 27 2012 11:49 AM
      Expert7660 points

      Thyagarajan,

      if you want to run the code from flash, you need to pick the linker command file which puts the text sections in flash.

      that would be 3426.F2812.txt i nthe attachments you mentioned. I was talking to Manoj about the things you are trying ot do. Below is what we suggest.

      1.> Build your application with the above linker command file,

      2.> use CCS to program the flash, disconnect CCS after programming is done, power off the deviec and power on and boot the device to flash

      3.> if that is working then you know your project is linked properly and device will execute your project correctly from flash.

      4.> Now connect CCS back and erase flash.

      5.> now use your SDFLash or other SCI program utility as Manoj suggested in your other post...I'm not sure if the utility can take COFF/OUT file as input or a hex file. Follow the instructions as mentioned in the respective manual

      6.> set the device in SCI boot mode and erase/program your device usign the serial utility.

       

       

      Best Regards

      Santosh

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Thiyagarajan . S
      Posted by Thiyagarajan . S
      on Apr 28 2012 00:02 AM
      Expert1420 points

      santosh,

       Thank for keenly watching my post and work, good job.

           As per the above procedure i done, up to step 4 it was fine working , (successfully programed, checked output and erased the flash).

      when coming to step5 ,

                           first i changed to sci boot mode by jumper ,  and then i removed my xds100usb v1 emulator, then i connected the 9-9 serial cable from pc to kit.

      and then i started the two things,

      First one : i used C2Prog , it was connected,  erased  but programming failed. (for this i load ex.hex )

      Second one: i used SDFlash utility , it's too connected, erased but programming failed.(for this i load ex.out )

      Note: using XDS100 USB v1 emulator is workinh in flash.

      Finally i attached my .out file and . hex file , if possible please verify and tell whether code may have problem (BUT THE SAME .OUT CODE WORKING FINE by using CCS3.3 AND XDS100 USB EMULATOR , ONLY THE THING IS NOT ABLE TO PROGRAM IN SCI BOOT MODE.,) AND IF possible you any working .out file in SCI boot mode that i try and tell to yours......

      please help me in continuous...........

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Thiyagarajan . S
      Posted by Thiyagarajan . S
      on Apr 28 2012 00:14 AM
      Expert1420 points

      sorry i cant able to attach .out file and .hex file , hence i changed the extension .

      5_EX.txt  = .out file

      EX.txt  =  .hex file

      just change the extension and verify my file and tell,,,,

      6471.5_EX.txt

      1616.EX.txt

      Waiting for your replies,

      Many Thanks,

      Thiyagarajan . S

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Santosh Athuru
      Posted by Santosh Athuru
      on Apr 30 2012 09:54 AM
      Expert7660 points

      Thyagarajan,

      which version of c2000prog you ar eusing. Are you choosing the corrct programming options?

      can you please send us the correct output that you see from the output of c2Prog, like the user in this post has shown (http://e2e.ti.com/support/microcontrollers/tms320c2000_32-bit_real-time_mcus/f/171/p/178471/668584.aspx#668584) or as in page 5 of C2Prog user manual?
       
      Also give details on which target you are selecting and what freq. you are selecting?
       
       
      Best Regards
      Santosh
       
       
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Thiyagarajan . S
      Posted by Thiyagarajan . S
      on Apr 30 2012 22:43 PM
      Expert1420 points

      santosh,

        1.  which version of c2000prog you ar eusing. Are you choosing the corrct programming options?  

      Answer: C2Prog_v1.5d-b173.zip This file content i downloaded from CodeSkin.com

      2. Also give details on which target you are selecting and what freq. you are selecting?

      Answer: am setting the followings in C2Prog software.,

      TARGET : f2812
      OPTIONS : 25Mhz
      CODE SECURITY :
      KEY1.,KEY2........KEY8.... : nothing i changed in this
      FLASH SECTORS TO BE ERASED : i Tick the both smart sector selection & Append check sum
      PORT: select serial
      note: in configure ports i set the following ;   

                                                                         serial port : com8
                                    

                                                                            can port :cankv:0
                                                                             jtag port :XDS100v2
                                                                             usb port :USB
                                                                              i click ok
      Finally i switch on the board , click the program button. in this finally i getting the following the error:

      CRC Info added at 0x003F6121: 0x198A 0x8E52 0x0000

      *** PLEASE RESET TARGET IN SCI BOOT-LOADER MODE

      ***
      Pinging target... Baudrate locked.
      Bootloading... OK. Please wait...
      Connecting with target...
      -Chip ID: 0xFF
      -Chip Rev: 0x100
       OK.
      Unlocking target...  OK.
      Loading...  OK.
      Connecting with target...
      -Flash API version: 210
       OK.
      Erasing flash... [AD] OK.
      Programming...  failed (write error: 31 @ 3ec460)!

      PLEASE HELP ME TO OVERCOME THIS ERROR., ...........................
      3. can you please send us the correct output that you see from the output of c2Prog ?

      3250.Doc1.doc

      Many Thanks,
      Thiyagarajan.S

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Santosh Athuru
      Posted by Santosh Athuru
      on May 01 2012 17:27 PM
      Expert7660 points

      Thyagarajan,

      can you check if you are specifying the correct clock frequency? are you using 25MHz external Oscillator on your board?

      Also check with codeskin about the error, that looks like a valid flash address and it should pass, especially because you are able to load same application on flash on the same device using CCS successfully.



      Best Regards

      Santosh

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Thiyagarajan . S
      Posted by Thiyagarajan . S
      on May 01 2012 23:33 PM
      Expert1420 points

      santosh,

      1. yes am using external oscillator 25Mhz only.

      2. i seeked help with code skin help support too, they replied only for few questions , then they stopped replying me , i conveyed following with them , This is for your reference...

      Forwarded conversation from my mail to you
      Subject: Doubt in C2Prog
      ------------------------

      From: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>
      Date: Mon, Apr 23, 2012 at 4:22 PM
      To: info@codeskin.com


      Hi,
         First Thanks to C2prog freeware software. it's very nice & ease to use.
      Am using TMS320F2812 KIT., i Successfully done some project in the following mode:
      1. Jump to H0 SARAM
      2. Jump to FLASH.

      Now i want to some simple projects in SCI BOOT MODE , Hence i selected your C2Prog software, ... my target is 2812 with 25Mhz crystal @ 125Mhz  SYSCLKOUT Frequency. am trying to program the flash through RS232 Cable in SCI BOOT MODE with your software., am GETTING FOLLOWING ERROR., PLEASE HELP ME TO OVERCOME THIS ERROR.,
      ERROR :
      CRC Info added at 0x003F6121: 0x198A 0x8E52 0x0000

      *** PLEASE RESET TARGET IN SCI BOOT-LOADER MODE

      ***
      Pinging target... Baudrate locked.
      Bootloading... OK. Please wait...
      Connecting with target...
      -Chip ID: 0xFF
      -Chip Rev: 0x100
       OK.
      Unlocking target...  OK.
      Loading...  OK.
      Connecting with target...
      -Flash API version: 210
       OK.
      Erasing flash... [AD] OK.
      Programming...  failed (write error: 31 @ 3ec460)!




      ----------
      From: CodeSkin Support <support@codeskin.com>
      Date: Mon, Apr 23, 2012 at 9:31 PM
      To: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>


      Hi, which version of the programmer are you using?
      Beat

      ----------
      From: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>
      Date: Wed, Apr 25, 2012 at 9:43 AM
      To: CodeSkin Support <support@codeskin.com>


      Hi,
          I downloaded the latest version of C2Prog from your website, the file name is " C2Prog_v1.5d-b173.zip " .
      am setting the followings in your software.,

      TARGET : f2812
      OPTIONS : 25Mhz
      CODE SECURITY :
      KEY1.,KEY2........KEY8.... : nothing i changed in this
      FLASH SECTORS TO BE ERASED : i Tick the both smart sector selection & Append check sum
      PORT: select serial
      note: in configure ports i set the following ;    serial port : com8
                                                                             can port :cankv:0
                                                                             jtag port :XDS100v2
                                                                             usb port :USB
                                                                              i click ok
      Finally i switch on the board , click the program button. in this finally i getting the following the error:

      CRC Info added at 0x003F6121: 0x198A 0x8E52 0x0000

      *** PLEASE RESET TARGET IN SCI BOOT-LOADER MODE

      ***
      Pinging target... Baudrate locked.
      Bootloading... OK. Please wait...
      Connecting with target...
      -Chip ID: 0xFF
      -Chip Rev: 0x100
       OK.
      Unlocking target...  OK.
      Loading...  OK.
      Connecting with target...
      -Flash API version: 210
       OK.
      Erasing flash... [AD] OK.
      Programming...  failed (write error: 31 @ 3ec460)!

      PLEASE HELP ME TO OVERCOME THIS ERROR., ...........................

      Many Thanks,
      Thiyagarajan.S

      ----------
      From: Codeskin Support <support@codeskin.com>
      Date: Wed, Apr 25, 2012 at 3:48 PM
      To: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>


      You may have a bad chip. Have you tried programing from CCS via JTAG?
      Beat


      ----------
      From: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>
      Date: Wed, Apr 25, 2012 at 5:02 PM
      To: Codeskin Support <support@codeskin.com>


      ya , i tried via ccs3.3 (Tools -> On-chip flash programmer) in jump to flash mode.,it's successfully running......, flash doesn't have problem., it's working good.,
      Many Thanks,
      Thiyagarajan.S

      ----------
      From: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>
      Date: Wed, Apr 25, 2012 at 5:27 PM
      To: Codeskin Support <support@codeskin.com>


      i tell about ,my serial cable connections please tell if any wrong in this:

      am using 9 pin serial cable.

      PC side         Kit Side
      2                     3
      3                     2
      4                     4
      5                     5
      7                     7
      8                     8
       i this manner i prepared serial cable , is it right ????

      note: am not USING spectrum digital kit .

      ----------
      From: CodeSkin Support <support@codeskin.com>
      Date: Wed, Apr 25, 2012 at 5:27 PM
      To: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>


      Can you share your hex file with us?
      Beat

      ----------
      From: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>
      Date: Wed, Apr 25, 2012 at 5:34 PM
      To: CodeSkin Support <support@codeskin.com>


      here i attached my hex file , out file , & source file for your refernce to see the output , and also please see the command file whether it is correct or not ,

      Many Thanks,
      Thiyagarajan.S

      ----------
      From: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>
      Date: Thu, Apr 26, 2012 at 3:39 PM
      To: CodeSkin Support <support@codeskin.com>


      sir,
          have you verified my files ?... take care ofmy project it's very urgent one., am waiting for ur reply....

      ----------
      From: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>
      Date: Fri, Apr 27, 2012 at 10:46 AM
      To: CodeSkin Support <support@codeskin.com>


      Sir,
         i got a new idea, : you give one working hex for f2812 for 125Mhz SYSCLKOUT WITH 25Mhz crystal, i will try to program that working hex file with my kit.,

      give hex file according to following specifications,
       in my board i had connected 8  led's in port b0 - b7. so, please prepare one project according my board specfication , then check that hex programming in your kit, if it's ok , then transfer to me i'll check in my kit.....
      please do me a favour.............,

      ----------
      From: Codeskin Support <support@codeskin.com>
      Date: Fri, Apr 27, 2012 at 4:31 PM
      To: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>


      I will see what I can do.
      Beat

      ----------
      From: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>
      Date: Sat, Apr 28, 2012 at 9:12 AM
      To: Codeskin Support <support@codeskin.com>


      ok sir, atleast have you verified my hex file.

      ----------
      From: Codeskin Support <support@codeskin.com>
      Date: Sun, Apr 29, 2012 at 3:42 AM
      To: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>


      I checked your hex file and was unable to find a problem.
      I'd recommend you check-out SDFlash.
      Regards,
      Beat--
      Beat Arnet

       CodeSkin LLC, www.codeskin.com

      ----------
      From: thiyagarajan sekar <thiyagarajan.s@pantechmail.com>
      Date: Mon, Apr 30, 2012 at 9:15 AM
      To: Codeskin Support <support@codeskin.com>


      ya , i checked  in SD Flash too, it's too the same problem., connecting, ersing but not able to program...

      later they didnt reply to me ..,

      Many Thanks ,

      Thiyagarajan.S


      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Santosh Athuru
      Posted by Santosh Athuru
      on May 02 2012 13:04 PM
      Expert7660 points

      Thyagarajan,

      Good, one more variable knocked down, looks like we will have to do this the hardway. I will have to find a F2812 device to try it out myself, it will take some time.

      Meanwhile do you have any other C28x device with you or another F2812 device with you, that you can try to flush out any errors that you might be doing while setting up C2000 Prog? If you don't have one -can you try relinking your code to another flash sector by editing your linker command file?

      Also send me your project's COFF file, Map file and linker command file?

      Best Regards

      Santosh

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Thiyagarajan . S
      Posted by Thiyagarajan . S
      on May 02 2012 23:17 PM
      Expert1420 points

      santosh,

           Great Thank to watching & replying my post.,

      1. ya, i changed my linker file to redirect the sector ,

      for ex:  

                .text               : > FLASHA      PAGE = 0

                .text               : > FLASHC      PAGE = 0

                .text               : > FLASHD      PAGE = 0

      what ever the sector i changed , the same error occuring...

      2. i changed the processor twice and checked & also , i changed the Crystal too, i tried in 30Mhz also, but the result is same error.

      3. ok Santosh, Finally i attach  my coff,map file and linker command file and also my source code  for your reference. kindly check and tell . am waiting for your reply.

      8308.5_EX.out.txt

      1031.5_EX.c

      Many Thanks,

      Thiyagarajan.S

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Thiyagarajan . S
      Posted by Thiyagarajan . S
      on May 02 2012 23:19 PM
      Expert1420 points

      santosh , download these files and edit the extension, only .txt file can able to attach hence i changed....

      4466.5_EX.map.txt

      8611.linker.txt

      Many Thanks ,

      Thiyagarajan.S

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Santosh Athuru
      Posted by Santosh Athuru
      on May 03 2012 18:39 PM
      Expert7660 points

      Thyagarajan,

      1.> I should have asked this long time back. are you able to successfully use C2000Prog with any of the device (for example a 28335 or 28035 etc)?

      2.>  going back to your device...can you change the linker command file you use as shown in below? - just link ramfuncs to FLASHA instread of FLASHD- temporarily to see if you are going to see same error.

      ramfuncs            : LOAD = FLASHA,
                               RUN = RAML0,
                               LOAD_START(_RamfuncsLoadStart),
                               LOAD_END(_RamfuncsLoadEnd),
                               RUN_START(_RamfuncsRunStart),
                               PAGE = 0

      3.> ok, and regarding below, irrespective of the device and irrespective of where you link your text section do you see the same error at the same address on all these devices and configs?

      ERROR

      Programming...  failed (write error: 31 @ 3ec460)!

      Thiyagarajan . S
      i changed the processor twice and checked & also , i changed the Crystal too, i tried in 30Mhz also, but the result is same error.

      4.> I know you mentioned you used SDFLASH - do you see same error when you use SDFLASH too?

      5.> can you send me the command you use to generate the hex file from COFF file. The command you use when yo utried SDFLASH and also C2000PROG.

      Best Regards

      Santosh

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use