This message contains an entire topic ported from the WildRice - Coldfire forum. Freescale has received the approval from the WildRice administrator on seeding the Freescale forum with messages. The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value as you search for answers to your questions. Freescale assumes no responsibility whatsoever with respect to Posted Material. For additional information, please see the Terms of Use - Message Boards and Community Forums. Thank You and Enjoy the Forum!
Aug 24, 2005, 3:20 PMPost #6 of 17 (273 views)
Copy Shortcut
Re: [ColdFire] 68000/coldfire difference [In reply to] Can't Post
--------------------------------------------------------------------------------
I support a forth environment and have written an assembler for both the 68k
and the coldfire. If you want an instruction table go to cvs.cx and look
under either coldforth and Ucforth. and the file called assembler.4th
The coldfire instructions size is limited to 48bits, and that is absolute. The
DBRA instruction has gone probable never to come back and the MMOV with auto
increment and decrement have gone, never to come back. The others are
sneaking back in. The 4e core has everything you need, it gives back the
32bit branch ( which only existed in the later 68k cpu's) seriously needed if
you want to run position independent code ( libraries in a standard linux
environment). TAS is back, the separate stack for kernel space, bus errors
that stack a predictable stack. They are all back. And the 4e core runs about
10 times faster than anything ever offered in the 68k family.
In other words, the instruction table has to include a bit field indicating
which instruction is supported by which cpu. If you have an instruction table
for the 68k it is not a large job to get it into shape for the coldfire.
Just as instruction came and go in the 68k family they are coming in the
coldfire family ( I can't think of any coldfire going).
Take care to look at the MAC instructions, they have a lot of fields. This
differs from the 68k.
To my knowedge the coldfire programming manual is now 100% correct, you can
build you tables from scratch using just the documentation in the manual ( in
the early days there was problems).
It you have any questions just ask and I will attempt to answer them.
Regards
Charles Esson
On Wed, 24 Aug 2005 07:48 am, you wrote:
> right now i implement a 68k system. 68ec000, 128kbyte flash, 256kbyte ram.
> this includes to write an assembler. it is more than 50 percent complete.
>
> now, the 68000 is microcode based (the chip contains a microcode table).
>
> can someone list up the difference between 68000/coldfire (in a few lines)?
>
> additionally, i plan to write assemblers for the SH2 (hitachi), and
> probably even for the pentium. the implementation is in BASIC, and highly
> relies on tables. additionally, a native version (which can translate
> itself) is planned for the 68000 board.
>
> the purpose is to write a few demos for the SEGA MEGA DRIVE.
>
> recently i soldered in a PLCC version of the 68ec000, including bending all
> the pins into flatpack style. for real flatpack, they are too small for
> manual soldering.
>
> programming web space
>
http://spaces.msn.com/members/afinn23console>
>
> ---------------------------------
> How much free photo storage do you get? Store your holiday snaps for FREE
> with Yahoo! Photos. Get Yahoo! Photos
--
Charles Esson R&D group Colour Vision Systems
The views expressed herein are mine. No one else wants them.
Please sent attachments in PDF, HTML or TXT. Sorry but my spam filter now
rejects any message that contains <HTML> in the text. It was that or change
email address again.
--------------------------------------------------------------------
Aug 24, 2005, 4:41 PM
Post #7 of 17 (273 views)
Copy Shortcut
[ColdFire] please help with setup for the 5485 [In reply to] Can't Post
--------------------------------------------------------------------------------
I was hoping to get a little advice from this group on what
is required to finish my setup. I currently have the following
1) Eclipse development environment setup for the 5282 but no files for the
5485
2) The P&E parallel port BDM and the USB BDM
3) The P&E ICDCFZ debugger software
4) The Axiom 5485 board which comes with no actual support for the 5485!
(silly me for expecting it)
What I really need is a way to compile C code for the 5485 without spending
the next week fighting with an unsupported proccesor. Do I use the
Eclipse program and modify or get support for the 5485 or is there gcc
support for the 5485 or do I need to buy something like the P&E windows
integrated dev. editor. This is running on a Win2K machine, BTW.
Any advice is welcome.
Steve
--------------------------------------------------------------------
Aug 24, 2005, 4:52 PM
Post #8 of 17 (273 views)
Copy Shortcut
Re: [ColdFire] please help with setup for the 5485 [In reply to] Can't Post
--------------------------------------------------------------------------------
I am working with the 5485 using the evaluation board made by LogicPD. GCC is
available for the 5485. You should be able to get it running under Windows, I
believe Cybertec(
www.cybertec.com.au) here in Australia sell a product called
crossfire which may be what you are after.
Alternatively, you could download the non-PCS linux development kit from
Metrowerks. It is free but it will only run under Linux which would mean you
would have to set up your machine to dual-boot. I have been using it, and it
compiles a bootloader and linux image that is not too hard to get running
from SDRAM via ethernet.
Thanks,
Corey
On Thu, 25 Aug 2005 09:41 am, Steve Letkeman wrote:
> I was hoping to get a little advice from this group on what
> is required to finish my setup. I currently have the following
> 1) Eclipse development environment setup for the 5282 but no files for the
> 5485
> 2) The P&E parallel port BDM and the USB BDM
> 3) The P&E ICDCFZ debugger software
> 4) The Axiom 5485 board which comes with no actual support for the 5485!
> (silly me for expecting it)
> What I really need is a way to compile C code for the 5485 without spending
> the next week fighting with an unsupported proccesor. Do I use the
> Eclipse program and modify or get support for the 5485 or is there gcc
> support for the 5485 or do I need to buy something like the P&E windows
> integrated dev. editor. This is running on a Win2K machine, BTW.
>
> Any advice is welcome.
> Steve
--------------------------------------------------------------------
Aug 30, 2005, 12:29 PM
Post #9 of 17 (267 views)
Copy Shortcut
[ColdFire] 5282 128 MBit x16 SDRAM A19 issue [In reply to] Can't Post
--------------------------------------------------------------------------------
Good day Everyone,
I was curious if anyone has had a similar problem to the one I am
experiencing with a 5282 connected to a single 128 MBit (16MByte) SDRAM
(Micron MT48LC8M16A2-75IT) in 16-bit mode. It is a custom 5282 design and
is similar to the various reference designs except there are source series
resistors with the Address lines. The SDRAM is connected to the 5282 as per
Table 15-14 in the 5272 User's manual and has also been verified to the
Avnet 5282 reference design.
Anyway, the problem is that I have unreliable reads and writes to specific
addresses where Address A19 is set. Addresses where A19 is clear, reading
and writing to the SDRAM is fine. I have tested several of our proto boards
and they all experience the same problem and at the same addresses.
To test the memory, I simply using the BDM with P&E's Coldfire Debugger and
BDM pod. If I manually change the problem addresses, the SDRAM correct
reads and writes the data. However, it is when I load a large file into
memory (where A19 is set) and then verify the contents do I see the problem.
I have also written a simple memory test routine and when loaded into the
"good" area of SDRAM and execute, I can see which addresses are the
culprits.
As for the hardware, I have double checked my signal integrity sims and they
look fine, although I could increase the series resistors somewhat (used 22
ohms, but could increase them to 82). Further, as a quick test of signal
integrity, I throttled down the 5282 from 64 Mhz to 32 Mhz and I get the
same repeatable results. I know that A19 is functioning correctly, as I am
able to read and write to my flash memory (which also uses A19) and there
are no problems (i.e. Address/Data bus is fine). I have scoped the various
signals (Address, BSx, CLKOUT, etc) with a FET input probe (<1pf Input
capacitance) and verified that all is in order.
Has anyone experienced an issue similar to this one, as I am somewhat
perplexed.
Thanks in advance!
Cheers,
Sam
Sam Saprunoff
--------------------------------------------------------------------
Aug 30, 2005, 1:31 PM
Post #10 of 17 (267 views)
Copy Shortcut
Re: [ColdFire] 5282 128 MBit x16 SDRAM A19 issue [In reply to] Can't Post
--------------------------------------------------------------------------------
Sam
Do you have the Software Watchdog Timer turned off. On the 5282, it is
active cmming out of reset.
Dave
Sam Saprunoff wrote:
> Good day Everyone,
>
> I was curious if anyone has had a similar problem to the one I am
> experiencing with a 5282 connected to a single 128 MBit (16MByte)
> SDRAM (Micron MT48LC8M16A2-75IT) in 16-bit mode. It is a custom 5282
> design and is similar to the various reference designs except there
> are source series resistors with the Address lines. The SDRAM is
> connected to the 5282 as per Table 15-14 in the 5272 User's manual and
> has also been verified to the Avnet 5282 reference design.
>
> Anyway, the problem is that I have unreliable reads and writes to
> specific addresses where Address A19 is set. Addresses where A19 is
> clear, reading and writing to the SDRAM is fine. I have tested
> several of our proto boards and they all experience the same problem
> and at the same addresses.
>
> To test the memory, I simply using the BDM with P&E's Coldfire
> Debugger and BDM pod. If I manually change the problem addresses, the
> SDRAM correct reads and writes the data. However, it is when I load a
> large file into memory (where A19 is set) and then verify the contents
> do I see the problem. I have also written a simple memory test routine
> and when loaded into the "good" area of SDRAM and execute, I can see
> which addresses are the culprits.
>
> As for the hardware, I have double checked my signal integrity sims
> and they look fine, although I could increase the series resistors
> somewhat (used 22 ohms, but could increase them to 82). Further, as a
> quick test of signal integrity, I throttled down the 5282 from 64 Mhz
> to 32 Mhz and I get the same repeatable results. I know that A19 is
> functioning correctly, as I am able to read and write to my flash
> memory (which also uses A19) and there are no problems (i.e.
> Address/Data bus is fine). I have scoped the various signals
> (Address, BSx, CLKOUT, etc) with a FET input probe (<1pf Input
> capacitance) and verified that all is in order.
>
> Has anyone experienced an issue similar to this one, as I am somewhat
> perplexed.
>
> Thanks in advance!
>
> Cheers,
>
> Sam
>
> Sam Saprunoff
--------------------------------------------------------------------
Aug 30, 2005, 3:22 PM
Post #11 of 17 (267 views)
Copy Shortcut
Re: [ColdFire] 5282 128 MBit x16 SDRAM A19 issue [In reply to] Can't Post
--------------------------------------------------------------------------------
Good day Dave,
Indeed. I even checked the register via the Debugger to ensure that the
Watchdog is disabled.
Cheers,
Sam
----- Original Message -----
From: "Dave Perreault"
Sent: Tuesday, August 30, 2005 2:31 PM
Subject: Re: [ColdFire] 5282 128 MBit x16 SDRAM A19 issue
> Sam
>
> Do you have the Software Watchdog Timer turned off. On the 5282, it is
> active cmming out of reset.
>
> Dave
>
>
--------------------------------------------------------------------
Message Edited by Dietrich on 04-03-2006 11:07 AM
Message Edited by Dietrich on 04-04-2006 01:42 PM