• 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 » Stellaris® ARM® Microcontrollers » Stellaris® ARM® LM3S Microcontrollers Forum » RDK-S2E Bootloader corrupted pls help
Share
Stellaris® ARM® Microcontrollers
  • Forum
Options
  • Subscribe via RSS
Helpful Stellaris® LM4F Series Links
  • LM4F Series
  • Stellaris PinMux Utility
  • Stellaris® LM4F120 LaunchPad
  • LM4F MCU Applications
  • LM4F MCU Video
  • ARM Cortex-M4F Whitepaper
  • Stellaris MCU Brochure
  • LM4F232 Eval Kit
  • Forums

    RDK-S2E Bootloader corrupted pls help

    This question has suggested answer(s)
    akash shekhar
    Posted by akash shekhar
    on Mar 29 2012 07:55 AM
    Prodigy50 points

    Hello,

    I have got RDK-S2E with me. I used it for a while and configured a static IP. After configuring static IP Configuration view in browser stopped working. So I flash programmed it using ethernet but something went wrong in between and after that I cannot find the device in Finder.exe

    I think the bootloader is corrupted.I have RDK kit which has:


    Kit Contents
    - S2E Module: Serial-to-Ethernet module
    - S2E-CKIT: Serial-to-Ethernet connector board
    - USB A to miniB cable: For powering the module
    - Serial cable DB9M - DB9F: For connecting module to PC serial port
    - Ethernet retractable cable: For connecting S2E module to the network
    - 20-pin to fine-pitch 10-pin ARM JTAG debug adapter
    - S2E-CKIT standoffs: For optional attachment to S2E-CKIT board


    I do have LM Flash Programmer software and RDK-S2E software package

    Do I need anything else?
    Please let me know steps for how can I reload bootloader and firmware using above hardware.

    Thanks

    MDL-S2E RDK-S2E
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Dave Wilson
      Posted by Dave Wilson
      on Mar 29 2012 09:41 AM
      Suggested Answer
      Mastermind22840 points

      If you used the Ethernet boot loader to flash your board it shouldn't be possible to corrupt the boot loader itself unless there's a latent bug in there somewhere that we've not found. Most likely, the problem is either that you flashed a corrupted image (the boot loader can't tell if the image it writes is valid or not and will attempt to run it as long as the initial stack pointer and PC values at the beginning of the image appear valid. Flashing a bad image to the board can cause the boot loader to become unresponsive since it is the application itself that is responsible for passing control back to the boot loader when it detects the signal telling it to accept a new firmware download) or that the default network settings have been used and those don't work in your current network setup.

      If you have flashed a corrupt or incorrect application to the board, the only way out is to use an external JTAG debugger to flash the correct image via LMFlash. Any of our existing evaluation kits can be used as a JTAG adapter. If you don't have another EK, I would recommend you buy an ek-lm3s9b90 or ek-lm3s9b92 since these are shipped with an independent debugger board that can be used to debug any other RDK. If you want to spend less, an ek-lm3s811 board will also work.

      1. Connect the EK to the JTAG adapter on your RDK-S2E board. Depending upon the EK board you are using, you may or may not have to use the 20 to 10 pin adapter you have.
      2. Connect the EK to a USB port on your computer and power the RDK-S2E board
      3. Run LMFlash and select "LM3S6965 Ethernet Evaluation Kit" from the dropdown list under "Quick Set". These settings are compatible with the RDK-S2E board.
      4. Click the "Program" tab and select the bin file "C:\StellarisWare\boards\rdk-s2e\ser2enet\gcc\ser2enet.bin". This assumes you have a recent release of StellarisWare installed in the default directory. There are multiple binaries for the application, one for each toolchain, and you can choose any of them - I just picked gcc here as an example.
      5. Make sure you DO NOT check "Erase Entire Flash" but check "Erase Necessary Pages". If you get this wrong, you erase the boot loader (which you can recover from by flashing the boot_eth.bin binary at address 0, by the way).
      6. Check "Verify After Program" and "Reset MCU After Program".
      7. Set "Program Address Offset" to 0x1000. This is VERY IMPORTANT. If you get this wrong, you will either find that the image doesn't boot properly or you will overwrwite the boot loader. Either way, the board won't work after you flash the image.
      8. Press "Program" to download the binary to the RDK-S2E board.

      After this, you should be back up and running. If your setup parameters got corrupted, you may find that the board is still invisible, in which case you may like to reflash both the boot loader and the main image. The easiest way to do this is to use the above instructions to flash boot_eth.bin at address 0 (rather than 0x1000) and also check "Erase Entire Flash". Once the boot loader is downloaded, you can download the main code image either using the instructions above or via the Ethernet boot loader as before. This will cause all the flash-based setup parameters to return to the default values.

      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