• 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 » ARM® Processors » Sitara™ ARM® » AM3x Sitara ARM Processors Forum » Am3359 512mb of ram
Share
Sitara™ ARM®
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Forums

Am3359 512mb of ram

This question is not answered
ed mcnicholas
Posted by ed mcnicholas
on May 05 2012 08:23 AM
Prodigy70 points

We recently built a custom board using the am3359 and 2 8 bit wide ddr2 2g modules from micron. The design was based on the am335x evm but that module uses the am3358. Currently we are having some trouble getting it to boot out of the spl. We have configured the timing parameters to the cas latency of our ram module based on the emif configuration page one the wiki and that fixed corrupted stack allocated variables but it now fails to load the u-boot.img file so I believe there is still a configuration issue. Is there some other parameters for the ddr2 that need to change when moving to a 2 module configuration. 

Thanks 

Ed

Am3359 AM335X DDR ram
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • peaves
    Posted by peaves
    on May 07 2012 00:00 AM
    Genius12795 points

    Can you provide more details about the 8 bit wide ddr2 2g modules you mention in your post?

    I specifically would like to know how many DDR2 devices are on these modules.  The AM335x device can only source one load connected to the DQS[x] and DQ[x] net class signals and two loads connected to the CK and ADDR_CTRL net class signals.  This is specified in the AM335x data sheet section that describes DDR2 routing guidelines.

     

    Regards,
    Paul

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ed mcnicholas
    Posted by ed mcnicholas
    on May 07 2012 07:21 AM
    Prodigy70 points

    The modules are the industrial grade of the micron used in the reference design the model number is mt47h256m8eb-25e it. The only difference I can find in our design is that we started with the beaglebone as a base design and then I was asked to increase the memory size based on the evm but I forgot to change the termination resistors from the 33ohm on the beagle bone to the 22ohm on the evm design. Could this cause the modules to fail to work properly and if so can I replace with solder bars as I see the minimum r value is 0.  The layout is as described in the reference manual with trace lengths as close to the same as possible and the schematic connections are identicle to the evm design except for the impedance. 

    Thanks ed

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miha Gostencnik
    Posted by Miha Gostencnik
    on May 08 2012 02:57 AM
    Prodigy170 points

    Hello Ed,

    try connecting your board to CodeComposer 5 and run DDR init script or AM335X EVM board init, to see if it goes throught. You can find more info on how to connect in this thread: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/159102.aspx; mainly check the image: http://e2e.ti.com/cfs-file.ashx/__key/telligent-evolution-components-attachments/00-81-01-00-00-58-53-86/2012_2D00_01_2D00_27-14h45_5F00_59.png

    More info how to connect to JTAG interface can also be found at: http://beagleboard.org/static/beaglebone/a3/Docs/ccs-jtag-simple.htm; which helped me a lot with our custom board.

    Best regards,

    Miha

    am3359 DDR JTAG
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ash Charles
    Posted by Ash Charles
    on May 15 2012 10:58 AM
    Prodigy130 points

    Hi Ed.

    Did you have any luck with this?  My design uses dual MT47H256M8EB-25E:C, I set the DDR2 configuration parameters as per the EMIF page on the wiki and the design matches the EVM very closely.  SPL sails through the DDR2 configuration happily but the system freezes when I try to read from memory addresses in the supposedly configured SDRAM.

    I have a FTDI-based JTAG solution on the board however the FTDI chip doesn't have an EEPROM so I can't make it look like a XDS100xx debugger in order to debug with CCS5 (is there a way to convince CCS5 to use an arbitrary JTAG connection?).  As such, I'm a little stuck on what other ways I can debug.

    --Ash

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ed mcnicholas
    Posted by ed mcnicholas
    on May 15 2012 11:28 AM
    Prodigy70 points

    The board house that layed ours out did the routing out of spec so we had to clock the ram at 50 MHz till we can get them to correct it

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ash Charles
    Posted by Ash Charles
    on May 15 2012 11:48 AM
    Prodigy130 points

    Ouch!  Well, that definitely sounds like it is worth a try.  Do you happen to have a patch that makes the switch?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ed mcnicholas
    Posted by ed mcnicholas
    on May 15 2012 11:52 AM
    Prodigy70 points

    You need to calculate a new clock rate in uboot

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ash Charles
    Posted by Ash Charles
    on May 15 2012 12:57 PM
    Prodigy130 points

    I gave that a try but regrettably this didn't solve the issue for me. Back to the drawing board I suppose...

    Ed: thanks for you help in any case.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ash Charles
    Posted by Ash Charles
    on May 16 2012 11:31 AM
    Prodigy130 points

    Success!  My board was missing a resistor on the nWE line---the CPU and the RAM weren't connected on this line.  Rather mundane fix I suppose but a good reminder to triple check all signal paths!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jure Zaninovich
    Posted by Jure Zaninovich
    on May 20 2012 18:13 PM
    Prodigy160 points

    Ash,

    if your design follows the design of the ICE , in what is related to the FTDI chip,

    it is possible to clone the XDS100V2 configuration using the FTDI utility.

    First you need a working ICE board (for example) to you read and save the configuration to a file in your pc.

    Second, then, you write that file onto your new "virgin" board using the same utility, voila', you will have three new TI devices show up in the Windows device manager.

    (two JTAG ports A, B,  and the USB-Serial Comm).

    The FTDI application I have used  is: FT_Prog_v2.6.6.

    http://www.ftdichip.com/Support/Utilities.htm

    now you get a newer version, which should work anyway:

    http://www.ftdichip.com/Support/Utilities/FT_Prog%20v2.6.8.zip

    Hope it helps. Let us know about your success (or not).

    Jure Z.

    XDS100V2 Sitara XDS100V2 FTDI FT2232H
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ash Charles
    Posted by Ash Charles
    on May 20 2012 20:31 PM
    Prodigy130 points

    Unfortunately, my design does not include an EEPROM attached to the FTDI so it is not possible to program the FTDI chip with appropriate settings.  It sounds like Code Composer Studio/ICE-based debug tools effectively search for a USB PID, VID, and description field in order to identify the device.  Is there any way to tweak this code to make it more tolerant of other IDs (such as the standard ones from FTDI)?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jure Zaninovich
    Posted by Jure Zaninovich
    on May 21 2012 00:13 AM
    Prodigy160 points

    I would say that perhaps your only chance is to rework your design and add the missing 93LC56BT-i/ot.

    it connects to the ftdi chips using just 3 wires, plus ground and +3.3V.

    good luck !

    Jure Z

    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