EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / how to interface flash memory to a microcontroller

how to interface flash memory to a microcontroller

|

Microcontroller › 8051 › how to interface flash memory to a microcontroller

  • This topic has 5 replies, 3 voices, and was last updated 13 years, 11 months ago by amulya racharla.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 8, 2012 at 9:15 am #1835
    amulya racharla
    Participant

    i need to interface a flash memory to a microcontroller and control it through pc. The micro controller board is connected to pc through usb port. Please help me out with the connections and programming the controller to control the flash memory by taking the signals from pc.

    June 9, 2012 at 4:32 pm #7983
    AJISH ALFRED
    Participant

     

    Hi,

     

    Which flash memory chip and microcontroller are you using ? Do your microcontroller board have usb interface ?

    June 10, 2012 at 6:50 am #7986
    Amrith
    Participant

    Hi Amulya,

    Most of the Flash memory support SPI or I2C or Parallel interface, if your microcontroller supports any of these communication choose the flash memory accordingly

    June 10, 2012 at 3:41 pm #7990
    amulya racharla
    Participant

    thanks for repling guys…………..the chip for micro controller is C8015F120 and that of flash is AT49BV040B

    June 10, 2012 at 6:26 pm #7991
    AJISH ALFRED
    Participant

     

    Hi,

     

    C8015F120 is a nice SoC, but it dosen’t have a built in usb module. So I believe your board have usb interface. There will be a usb to ttl serial converter in your board, which will be connected to the uart pins of the controller. So ineffect your pc is connected to the uart of the controller.

    You will be sending command strings from the pc, compare the received string from the uart buffer and do the corresponding operation on the flash memory.

     

    If you are new to uart, I suggest you to try out some data sending and receiving examples.

     

    The memory chip AT49BV040B is a 8 bit parallel flash memory. You can directly connect the data pins, address pins, and control pins of the chip to the I/O pins of the controller. Thats all about the connections.

     

    Search for some driver code for the flash. But I think you can try out yourself after reading the datasheet.

    June 12, 2012 at 3:06 am #8007
    amulya racharla
    Participant

    thanks for the information il try it out for sure :)

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Voltage comparator circuit verification May 10, 2026
  • What is this??? May 10, 2026
  • Why aren’t the power windows in my 2006 Volkswagen Polo 2006 working despite repairing the control unit circuit board? May 10, 2026
  • infiniBand Layer 1 specifications testing question May 8, 2026
  • block RF May 8, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise