• 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 » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM3x DaVinci Video Processor Forum » dm365 with nor flash
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

dm365 with nor flash

This question is not answered
king king
Posted by king king
on Jan 05 2011 04:41 AM
Intellectual650 points

i have a question about dm365, I found the dm365  support boot from nor flash in the pdf. but when i write the  nor flash ,the EM_WE,EM_OE.EM_CE are always high,so i can not write to the nor flash. Can you help me?

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Tai Nguyen
    Posted by Tai Nguyen
    on Jan 05 2011 15:54 PM
    Expert5885 points

    Please make sure the pin mux 2 register, PINMUX2, bit 7, 8, 9 are 0,0,0 and the memory accesses are within the 0x0200_0000 - 0x03FF_FFFF space for EM_CE0 or the memory accesses are within the 0x0400_0000 - 0x05FF_FFFF space  for EM_CE1.

    Thanks,

    Tai

     

    PS: Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • liuyi
    Posted by liuyi
    on May 05 2011 08:36 AM
    Prodigy50 points

    Dear Tai:

    First to explain is that i used the nor flash model is MX29GL128E(16MBytes).

     I have make  the mux 2 register PINMUX2 to 0x0000005A and the register PINMUX4 to  0xAAAA5555,So that GIO38--->EM_A15,GIO39--->EM_A16,GIO40---

    >EM_A17,GIO41--->EM_A18,GIO42--->EM_A19,GIO36--->EM_A21,GIO43--->EM_A20 ;

    Now I have encountered major problems is that I can write datas into the  nor flash whose addree from 0x0200 0000 to 0x0200 FFFF ;if the address above   0x0201 0000(including 0x0200 1000) ,I read the data of the address .whose data equal 0x0200 0000. for example:(*0x02010000) == (*0x0200 0000) ,(*0x02010001) == (*0x0200 0001) ,(*0x02010002) == (*0x0200 0000).............

    Similar to above,I can write datas into the  nor flash whose addree from 0x0202 0000 to 0x0202 FFFF;I can write datas into the  nor flash whose addree from 0x0204 0000 to 0x0204 FFFF......

    Between the address of  xxxx xxxx xxxx xxx0 0000 0000 0000 0000 and  xxxx xxxx xxxx xxx1 1111 1111 1111 1111  formed a circle,I have used  the Oscillograph Observation waveforms of EM_A15,but I did't  find EM_A15 Changed(holding low).

    I found   some words,the detail were attached:


      16-bit  mode:    EM_BA[1]      represents    the  LS   address    bit  (the  half-word    address)    and   EM_BA[0]
                represents  address  bit  (A[14]).  The  maximum  number  of  address  lines  pins  in  16-bit  mode  are  23,
                which include EM_BA[1] + EM_A[0:13] +EM_BA[0] (as pin A[14] via PINMUX2 register) + EM_A[15:20]
                +EM_A[21] (via PINMUX4 register)
                Note: Pins EM_A[15:21] are available by programming the PinMux4 register in software after boot, but
                must be pulled down externally so that valid voltage levels are provided on the full set of address pins
                during boot time. EM_A[15:21] come out of reset as GPIO pins per the PinMux4 register.

    warning:I pulled down EM_A[15:21] during boot timing.

    Through unremitting efforts at last I succeeded.

    Thanks very much .

     


     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • liuyi
    Posted by liuyi
    on May 05 2011 08:41 AM
    Prodigy50 points

    OK ,No problem .Can you Describe your question clealy ,please.I just resolve the problem of writing data into nor flash .

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Hao Liu48112
    Posted by Hao Liu48112
    on Jul 22 2011 05:42 AM
    Intellectual825 points

    thank you for the information. now we can erase/write to the Nor flash successfully.

    however we can not boot up from Nor flash. we are using the Ti dm365 EVM board, with Nor flash expansion bd through J14(EMIF) connector.

    We set SW4 to 110 as per SPRUFG5 table85.

    Can you advice whatelse do we need to boot up?

    Thanks.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • king king
    Posted by king king
    on Jul 22 2011 23:18 PM
    Intellectual650 points

    Now , i work on the platform of dm365. i do the ipnc_dm365.but i do not want the audio and the network.i only need the camera with video,so can you tell me how to modify the code of ipnc_dm365.

    thx!

    dvm365 DM365 IPNC
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • qiu gongfen
    Posted by qiu gongfen
    on Nov 10 2011 21:35 PM
    Prodigy30 points

    Dear sir,

    I use DM365 and s29gl064(8MBytes) (16bit mode) to develop, and I use dvsdk4.02 flash utils.

    I modify some config as http://processors.wiki.ti.com/index.php/NOR_Flash_support_on_DM365:  :

    DEVICE_pinmuxControl(2,0xFFFFFFFF,0x0000005a)

    DEVICE_pinmuxControl(4,0xFFFFFFFF,0xaaaa5555);

    And I change 

    AEMIF->A1CR = 0x3ffffffd;

     

    CFI ok and erase ok,but nor write will verify error.

     

    But I can only nor write ok the first block:

            Target: NOR Write OK through 0x02000800.

            Target: NOR Write OK through 0x02001000.

            Target: NOR Write OK through 0x02001800.

     

    Then it will verify error at next block.

     

    DONE received.  All bytes of image data received...

            Target: Erasing the NOR Flash

            Target: Erased through 0x02002000

            Target: Erased through 0x02004000

            Target: Erased through 0x02006000

            Target: Erased through 0x02008000

            Target: Erased through 0x0200A000

            Target: Erased through 0x0200C000

            Target: Erased through 0x0200E000

            Target: Erased through 0x02010000

            Target: Erased through 0x02020000

            Target: Erased through 0x02030000

            Target: Erased through 0x02040000

            Target: Erased through 0x02050000

            Target: Erase Completed

            Target: Writing the NOR Flash

            Target: NOR write address,data,readAddress=0x02000000,0x0004BD14,0x8017B

    388

            Target: blockSize,Blockaddr=0x00002000,0x02000000,

            Target: NOR Write OK through 0x02000800.

            Target: NOR Write OK through 0x02001000.

            Target: NOR Write OK through 0x02001800.

            Target: verify error=0x00000000,0x0000EB00

            Target: Data verify failed.

            Target: Buffered write failed. Trying normal write

            Target: AMD write address,data=0x02001CA0,0x00000017

            Target: start to veriry data

            Target: Normal write also failed

            Target: NOR Write Failed...Aborting!

     

    Can you give me some message? Thanks.

     

    -

    Qiu

     

     

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • old Wang
    Posted by old Wang
    on Dec 24 2012 21:34 PM
    Intellectual295 points

    Hi Qiu

          Have you resolve your problm, I met the same problem,would you like give some clues?

    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