Yahoo Groups archive

68300

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

Thread

Programming External Flash

Programming External Flash

2003-06-04 by development

I have an external FLASH (1M x 16)interfaced to MC68332 
where i will be having my application program to startup at 
power on. This Flash is only available in SO or SSOP package
(No DIP package). How can i burn in my application program 
into the flash? 

Regards,
Prashant Alange
R&D Department,
ID Technologies. (A division of mark elektriks)
============================================================
B1/1, Sai Sahawas Apt., \ufffd|\ufffdPhone: +91-20-4003315, 4007158
Oppo. Corporation Bank, \ufffd|\ufffdTeleFax: +91-20-5410479
Maharshi Karvenagar, \ufffd \ufffd |\ufffdEmail: development@...
Hingne (Bk), \ufffd \ufffd \ufffd \ufffd \ufffd \ufffd | www.markelektriks.com
Pune - 411052. India. \ufffd \ufffd|
============================================================

Re: Programming External Flash

2003-06-04 by Dimiter Popoff

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)
> 
> greetings Leopold
> 

--------------------------------------------------------------------
Dimiter Popoff
Transgalactic Instruments, Gourko Str. 25 b, 1000 Sofia, Bulgaria
http://transgalactic.freeyellow.com

RE: [68300] Programming External Flash

2003-06-04 by Melear Charles-rdph40

Hello everyone,

1.  Put the 10-pin BDM connector on  your board.
2.  Buy the PE MICRO 68300 BDM tool    (www.pemicro.com)
3.  Use their software/BDM connector to burn the external flash

They have already got the whole 9 yards worked out to solve your problem.

Regards,

Charlie
Show quoted textHide quoted text
-----Original Message-----
From: development [mailto:development@...]
Sent: Wednesday, June 04, 2003 1:59 AM
To: 68300@yahoogroups.com
Subject: [68300] Programming External Flash
Importance: High



I have an external FLASH (1M x 16)interfaced to MC68332 
where i will be having my application program to startup at 
power on. This Flash is only available in SO or SSOP package
(No DIP package). How can i burn in my application program 
into the flash? 

Regards,
Prashant Alange
R&D Department,
ID Technologies. (A division of mark elektriks)
============================================================
B1/1, Sai Sahawas Apt., �|�Phone: +91-20-4003315, 4007158
Oppo. Corporation Bank, �|�TeleFax: +91-20-5410479
Maharshi Karvenagar, � � |�Email: development@idtechno.net
Hingne (Bk), � � � � � � | www.markelektriks.com
Pune - 411052. India. � �|
============================================================




---------------------------------------------------
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

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Re: [68300] Programming External Flash

2003-06-04 by Robert Smith

!.  Write a program that will read your flash data via the serial port.

2.  Buy a BDM interface debugger like the P&E package that will download (1)
to RAM.

3.  Run the program under control of the debugger to read and burn your
application software.

I did this several years ago on a 68332 based controller product.  Contact
me if you need support.

    Bob Smith

---   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-1065

  bobsmith5@...

----- Original Message ----- 
Show quoted textHide quoted text
From: "development" <development@...>
To: <68300@yahoogroups.com>
Sent: Wednesday, June 04, 2003 2:58 AM
Subject: [68300] Programming External Flash


>
> I have an external FLASH (1M x 16)interfaced to MC68332
> where i will be having my application program to startup at
> power on. This Flash is only available in SO or SSOP package
> (No DIP package). How can i burn in my application program
> into the flash?
>
> Regards,
> Prashant Alange
> R&D Department,
> ID Technologies. (A division of mark elektriks)
> ============================================================
> B1/1, Sai Sahawas Apt., | Phone: +91-20-4003315, 4007158
> Oppo. Corporation Bank, | TeleFax: +91-20-5410479
> Maharshi Karvenagar, | Email: development@...
> Hingne (Bk), | www.markelektriks.com
> Pune - 411052. India. |
> ============================================================
>
>
>
>
> ---------------------------------------------------
> 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
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

Re: [68300] Re: Programming External Flash

2003-06-04 by Robert Smith

I doesn't.

---   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-1065

  bobsmith5@...

----- Original Message ----- 
Show quoted textHide quoted text
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)
> >
> > greetings Leopold
> >
>
> --------------------------------------------------------------------
> Dimiter Popoff
> Transgalactic Instruments, Gourko Str. 25 b, 1000 Sofia, Bulgaria
> 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
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

Re: Programming External Flash

2003-06-04 by Dimiter Popoff

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
Show quoted textHide quoted text
> I doesn't.
> 
> ---   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-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)
> > >
> > > greetings Leopold
> > >
> >
> > --------------------------------------------------------------------
> > Dimiter Popoff
> > Transgalactic Instruments, Gourko Str. 25 b, 1000 Sofia, Bulgaria
> > 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
> >
> >
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
> >

Re: [68300] Re: Programming External Flash

2003-06-05 by Robert Smith

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


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
>
>
>
>
> > I doesn't.
> >
> > ---   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-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)
> > > >
> > > > greetings Leopold
> > > >
> > >
> > > --------------------------------------------------------------------
> > > Dimiter Popoff
> > > Transgalactic Instruments, Gourko Str. 25 b, 1000 Sofia, Bulgaria
> > > 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
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
Show quoted textHide quoted text
> > >
> > >
> > >
>
>
>
> ---------------------------------------------------
> 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
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

RE: [68300] Re: Programming External Flash

2003-06-05 by Melear Charles-rdph40

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
Show quoted textHide quoted text
-----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]

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.