Hello everyone,
The general methodology for using the background mode to reprogram the flash is this:
1. Write a program that will execute from the internal RAM of the 683xx or 68HC16xx that will properly program the FLASH.
2. Use a background mode tool, such as the PE Microsystems software, and download the "programming algorithm" to the microcontroller's internal RAM
3. Go execute the program which programs the flash.
It is possible to write a big macro under the PE Microsystems tool that will program the FLASH. However, this is unreliable. The BDM mode of the 683xx has some strange internal timing that causes it to be marginal for "program writes" to the FLASH cells. This is not a fault of the PE Micro software, it is an anomoly of the microcontroller. That is why the programming algorithm needs to run from internal RAM (as opposed to using a series of BDM mode reads and writes.).
The MC68300 did have some boundary scan features but they are totally useless for FLASH programming. The limited boundary scan and internal test features were for internal production testing. Getting the internal details on these test modes now is like pulling a tooth out of a chicken anyway.
Regards,
Charlie
-----Original Message-----
From: Robert Smith [mailto:bobsmith5@...]
Sent: Thursday, June 05, 2003 8:38 AM
To: 68300@yahoogroups.com
Subject: Re: [68300] Re: Programming External Flash
Dimiter--
To the best of my recall, the boundry scan capability was not a feature of
the MC6833x family devices back in the 90's. Perhaps someone else here is
more up to date on the current '332 than I am.
The '332 does have a fine, built-in, BDM interface with which the P&E
debugger (?MC68ICD332?) worked very well. I used the P&E debugger to
download a little boot strap program to RAM. It had the ability to read and
digest .S19 records and then burn them in to external Flash. However, I now
understand from another posting to this thread that P&E have added the
ability to program external Flash directly so only the P&E tools may be
needed.
Bob Smith
--- Avoid computer viruses, Practice safe hex ---
-- Specializing in small, cost effective
embedded control systems --
http://www.smithmachineworks.com/embedprod.html <http://www.smithmachineworks.com/embedprod.html>
Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236 804/745-1065
bobsmith5@...
----- Original Message -----
From: "Dimiter Popoff" <tgi_earth@...>
To: <68300@yahoogroups.com>
Sent: Wednesday, June 04, 2003 11:21 AM
Subject: [68300] Re: Programming External Flash
>
> Bob, sorry, I did not get this. Do you mean the 332 has no
> JTAG (boundary scan)?
> I don't know (the only CPU32 I use is on the 68340),
> so if this is the case, my option (which does not inherently
> involve any non-Motorola based third parties, the rest of the
> options offered do) would not be viable on the platform in question.
> I replied (as evident from my former message) to give info on something
> the mainstream of the CPU32 users would probably have no experience with
> and which certainly works great - IF you have boundary scan on
> your CPU, 32 or whatever.
>
> Dimiter
>
> --------------------------------------------------------------------
> Dimiter Popoff
> http://transgalactic.freeyellow.com <http://transgalactic.freeyellow.com>
>
>
>
>
> > I doesn't.
> >
> > --- Avoid computer viruses, Practice safe hex ---
> >
> > -- Specializing in small, cost effective
> > embedded control systems --
> >
> > http://www.smithmachineworks.com/embedprod.html <http://www.smithmachineworks.com/embedprod.html>
> >
> >
> > Robert L. (Bob) Smith
> > Smith Machine Works, Inc.
> > 9900 Lumlay Road
> > Richmond, VA 23236 804/745-1065
> >
> > bobsmith5@...
> >
> > ----- Original Message -----
> > From: "Dimiter Popoff" <tgi_earth@...>
> > To: <68300@yahoogroups.com>
> > Sent: Wednesday, June 04, 2003 4:32 AM
> > Subject: [68300] Re: Programming External Flash
> >
> >
> > > A third way which I used on a 68340 is to drive the respective lines
> > > via JTAG (assuming that the 332 has boundary scan as does the 340).
> > >
> > > Dimiter
> > >
> > >
> > > > > I have an external FLASH (1M x 16)interfaced to MC68332=20
> > > > > where i will be having my application program to startup at=20
> > > > > power on. This Flash is only available in SO or SSOP package
> > > > > (No DIP package). How can i burn in my application program=20
> > > > > into the flash?=20
> > > >
> > > > there are 2 ways:
> > > > either preprogram the flash in a standard programmer
> > > > or program the flash via the bdm interface=20
> > > > (hard & software from http://www.pemicro.com) <http://www.pemicro.com)>
> > > >
> > > > greetings Leopold
> > > >
> > >
> > > --------------------------------------------------------------------
> > > Dimiter Popoff
> > > Transgalactic Instruments, Gourko Str. 25 b, 1000 Sofia, Bulgaria
> > > http://transgalactic.freeyellow.com <http://transgalactic.freeyellow.com>
> > >
> > >
> > >
> > > ---------------------------------------------------
> > > To unsubscribe from this group, send an email to:
> > > 68300-unsubscribe@yahoogroups.com
> > >
> > > To learn more about Motorola Microcontrollers, please visit
> > > http://www.motorola.com/mcu <http://www.motorola.com/mcu>
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/ <http://docs.yahoo.com/info/terms/>
> > >
> > >
> > >
>
>
>
> ---------------------------------------------------
> To unsubscribe from this group, send an email to:
> 68300-unsubscribe@yahoogroups.com
>
> To learn more about Motorola Microcontrollers, please visit
> http://www.motorola.com/mcu <http://www.motorola.com/mcu>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ <http://docs.yahoo.com/info/terms/>
>
>
>
Yahoo! Groups Sponsor
<http://us.adserver.yahoo.com/l?M=247865.3355058.4641699.1261774/D=egroupmail/S=:HM/A=1482387/rand=147078092>
---------------------------------------------------
To unsubscribe from this group, send an email to:
68300-unsubscribe@yahoogroups.com
To learn more about Motorola Microcontrollers, please visit
http://www.motorola.com/mcu <http://www.motorola.com/mcu>
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]Message
RE: [68300] Re: Programming External Flash
2003-06-05 by Melear Charles-rdph40
Attachments
- No local attachments were found for this message.