Yahoo Groups archive

68300

Index last updated: 2026-04-29 00:01 UTC

Message

Re: [68300] Setting up External RAM

2005-03-03 by Bob Smith

palehorse_johnsoga wrote:
> I hope someone can help me.  I am working on a project using the
> 68332.  It has FLASH ROM at addressed 0x0 - 0x8000 and Internal RAM at
> FFE000 or something close to that.  I can easily set these up using
> the registers for BOOT ROM and TPU RAM.  The board is suppose to have
> external RAM at address 0x100000 - 0x110000 but I can't figure out
> what to set up in order to get access to it.  I am currently using
> PEMicro BMD cable and Unit32Z libraries.

The usual method of interfacing to _external_ RAM is to attach address and
data lines to the address and data bus on the '332.  The Chip Enable (CE)
line is then tied to one of the Chip Select pins on the '332.  You may also
need to connect the Write Enable line on the RAM to another Chip Select pin
on the '332 to handle write cycles.  Hopefully you are using 16 bit ram to
match the '332s bus width.

>
> I am not sure what type of Flash ROM I have but in general what needs
> to be done in order to write to Flash ROM?

Writing to an _external_ Flash is usually not toodifficult but varies
somewhat from manufacturer to manufacturer.  To proceed --

1.  Determine the Manufacturer and exact device number of the Flash
installed on your system.

2.  Obtain and _read_ the manufacturer's Data Sheet/Manual for your specific
device.

3.  Write driver routines that generate the correct I/O sequences to unlock
the Flash for writing and to write bytes/blocks of data to the Flash.

>
> Thanks
>
>
>
>
>       Yahoo! Groups Sponsor
>             ADVERTISEMENT
>
>
>
>
>
> --------------------------------------------------------------------------
------
> Yahoo! Groups Links
>
>   a.. To visit your group on the web, go to:
>   http://groups.yahoo.com/group/68300/
>
>   b.. To unsubscribe from this group, send an email to:
>   68300-unsubscribe@yahoogroups.com
>
>   c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.

---   Avoid computer viruses, Practice safe hex  ---

-- Specializing in small, cost effective
    embedded control systems --

http://www.smithmachineworks.com/embedprod.html


Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236   804/745-2608

  bobsmith5@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.