Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: aperez on January 11, 2010, 05:52:44 AM

Title: Freescale introduces a $49 MCF5225x coldfire module
Post by: aperez on January 11, 2010, 05:52:44 AM
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-MCF5225X

(http://www.freescale.com/files/graphic/block_diagram/IND-17169_KIRIN_BD_TN.jpg)

Uses standard PCIe 16x card-edge connectors, which are cheap and plentiful. One of the two is a so-called Dummy card-edge which is almost A year ago (Jan 22, 09) Freescale launched the new MCF5225x line, along with their MQX RTOS, which they provide for free and which runs atop a variety of lower-end V2/V3 ColdFire cores. More info at http://www.freescale.com/webapp/sps/site/homepage.jsp?code=MQX_HOME

Given this new $49, pre-populated module, it would be interesting to see if it could be used as a building block for development of an Ethernet/USB card for the A500. Pricing on the Subway is still $120ish, and there is still no functional Ethernet solution for the A500, which makes me sad. The MCF5225x also includes full-speed USB 2.0 host support.

The MCF52256 and 52255 cost less than $8 in single quantities, and are therefore well-suited to low-quantity runs and experimentation.

The MCF5225x itself comes clocked at either 66 or 80MHz, and is available in LQFP100 and LQFP144 form factors, which are easily proto-solderable. (in addition to MAPBGA144)

The MCF5225x's external interface is Mini-FlexBus, which is documented at http://www.eetasia.com/STATIC/PDF/200905/EEOL_2009MAY06_INTD_CTRLD_AN_01.pdf

Mini-FlexBus can address a maximum memory size of up to 1 megabyte per chip select (the spec includes two CS'es), which would be more than sufficient to do DMA with the 68K CPUs in Amigaland.

The MCF5225x Mini-FlexBus Features:
— Two user-programmable chip selects (FB_CS0 & FB_CS1). — 8- or 16-bit port size. — Multiplexed (muxed) or non-multiplexed mode (non-muxed). — 20 Address, eight Data or 20 Address/Data Signals.
— Byte-, word-, longword-, and 16-byte line-sized transfers. — Programmable wait states, address setup, and address hold times.
— Output Enable (FB_OE) and Read/Write (FB_RW) control signals. — Address Latch Enable (FB_ALE) control signal for multiplexed mode.

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCF5225X
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: alexh on January 11, 2010, 01:48:50 PM
Quote from: aperez;537625
It would be interesting to see if it could be used as a building block for development of an Ethernet/USB card for the A500.
What for? There are numerous Compact Flash options and it is faster to put the card in the PC, copy files, then take it out and put in the Amiga to transfer large amounts.

Without a CPU upgrade you're not going to be able to run any meaningful live internet software, i.e. web-browser etc.

Quote from: aperez;537625
Pricing on the Subway is still $120ish, and there is still no functional Ethernet solution for the A500, which makes me sad.
Does subway not support the $5 USB->ethernet bridges? Deneb does.

Quote from: aperez;537625
The MCF52256 and 52255 cost less than $8 in single quantities, and are therefore well-suited to low-quantity runs and experimentation.
The chip at the heart of the Subway only costs $3. It is not the raw materials. It is the NRE (non recoverable expenditure, design & manufacture tooling costs)
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: aperez on January 12, 2010, 07:22:34 AM
Quote from: alexh;537649
What for? There are numerous Compact Flash options and it is faster to put the card in the PC, copy files, then take it out and put in the Amiga to transfer large amounts.


I agree completely that it may be faster at this time, but CF isn't going to be around forever, has inherent compatibility issues (I use it all the time), and isn't particularly speedy transfer-rate wise, due to other system limitations. Additionally, there is no cheap/fast solution for CF on the A500. Ethernet won't be going anywhere, and it opens the doors to other, more-flexible options.

Quote from: alexh;537649
Without a CPU upgrade you're not going to be able to run any meaningful live internet software, i.e. web-browser etc.


You're missing the point, which is okay, but keep in mind that web browsing isn't what I'm personally after here, nor are many others. I prefer to keep my web browsing in the 21st century, kthxbai.

Quote from: alexh;537649
Does subway not support the $5 USB->ethernet bridges? Deneb does.


It probably does, but USB full speed is only good for 1.5mbytes/sec, maximum theoretical, and one would be lucky if the effective, overall throughput were even 2/3 of that. I would prefer to see the USB stack not implemented in Amigaland, when there's a perfectly-capable 80/66MHz CPU sitting there which can do the heavy lifting.

Quote from: alexh;537649
The chip at the heart of the Subway only costs $3. It is not the raw materials. It is the NRE (non recoverable expenditure, design & manufacture tooling costs)


I never claimed it was. The point of using a premanufactured board is that they're easily obtainable, will be produced in quantities *far* greater than the Deneb and Subway will likely *ever* be, combined. What is needed is a bridgeboard which performs the necessary voltage regulation, as well as logic level buffering/transformations. The bulk of the onus rests on the backs of others, which is ideal in this particular situation.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: kolla on January 12, 2010, 09:58:57 AM
I always missed ethernet on A500, and compensated by using 10base2 AmiLink floppyport net. Also the CD32 lacks ethernet (and clockport for USB etc)

Having some attached hardware do TCP/IP and just provide the amiga with bsdsocet, like UAE does,would be excellent.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: arnljot on January 12, 2010, 10:07:02 AM
There are lots of embedded ethernet chips with rs323 interfaces or similar which would be much more suitable for the task than this chip on the A500.

Only reason to dabble with a coldfire would be if you wanted to implement a solution where it could also replace the m68k, but that topic has been talked to death here, and on other forums.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: amyren on January 12, 2010, 11:44:16 AM
Quote from: arnljot;537802
There are lots of embedded ethernet chips with rs323 interfaces or similar which would be much more suitable for the task than this chip on the A500.


Are there any known working solutions for Amiga to make use of these interfaces?
If you are awere of any software and hardware solution that can give the Amiga ethernet via serial port to connect to the internet, please let us know.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: arnljot on January 12, 2010, 12:08:00 PM
I don't know one. But I for the longest time played with the notion of getting an arduino with an ethernet module connected to the amiga serial interface.

Then the next step would be to write a sana2 device wich could talk to it.

But neither my skills or time was sufficient to get the job done.

Here is some info on the Arduino:
Arduino homepage (http://www.arduino.cc/), you can program it with c/c++. And communicate with it through serial port from your computer.

Arduino Ethernet shield(1 (http://arduino.cc/en/Main/ArduinoEthernetShield), 2 (http://arduino.cc/en/Guide/ArduinoEthernetShield)), route serial talk from computer via arduino to this module...

That's where it started for me, I initially bought my Arduino to play with lcd displays and such with it. Maybe make it into a build server alarm. Blink and such when the CI server detects a broken build.

But then I saw this product:
Ethernet Micro Web Device (http://www.sparkfun.com/commerce/product_info.php?products_id=8557)

That's a full TCP/IP stack and small webserver which connects to a paralell port. It cannot be used with an amiga because it's an incompatible parallell port power setup.

But redesign that either for the parallell port, or serial port. Implement a sana2 device, or bedsocket library, and you're set. It's a lot of work. But you're standing on the shoulders of gigants who've come before you.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: amyren on January 12, 2010, 01:45:53 PM
Another serial-to-internet device was dicussed in this thread.
http://www.amiga.org/forums/showthread.php?t=49788

That is a device that in a certain mode will act as a serial modem connected, and connects your computer to a wireless network. In theory it should work with Miami or similar on a A500.
I would like to test it, but its EUR 88,- so I wouldnt get it unless I was 100% sure it worked.
..sorry if I'm getting slightly off-topic here
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: aperez on January 19, 2010, 01:18:50 AM
Quote from: amyren;537829
Another serial-to-internet device was dicussed in this thread.
http://www.amiga.org/forums/showthread.php?t=49788

Yep, sexy and not cheap.

Quote from: amyren;537829
That is a device that in a certain mode will act as a serial modem connected, and connects your computer to a wireless network. In theory it should work with Miami or similar on a A500.


Pardon me for suggesting this, but that's some serious jumping to conclusions.

Quote from: amyren;537829
I would like to test it, but its EUR 88,- so I wouldnt get it unless I was 100% sure it worked. ..sorry if I'm getting slightly off-topic here


88 Euros is...insanely expensive. I want to make something people can justify the expenditure on, and which they know will work.

I've given some serious thought to how to make a serial-port-based Amiga device viable, and the conclusion I've come to is that it makes most amount of sense to handle TCP outside of the Amiga realm, especially on lower-end hardware, where the cost of packet-reassembly is computationally expensive.

Last year, Freescale introduced their Coldfire V1 microcontrollers (which are really a continuation of their old 8-bit microcontrollers, and they even have a reference design for an ethernet-to-serial device based on the most minimal version of this design, including gerber PCB layout files:

(http://www.freescale.com/files/graphic/product_freescale/RDMCF51CN128_Board.jpg)

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDMCF51CN128

The advantage of this approach is that they're giving you the software stack, and it's all based on free and open design. The MCU runs FreeRTOS and LWIP, and is clocked at 80MHz. The chip costs $8 in single quantities.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: Tension on January 19, 2010, 02:23:45 AM
Doesnt the C64 have a "clock port" ethernet solution?

Surely it would be easier to write drivers, rather than designing an interface AND writing drivers?

Or I could be wrong on that...
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: koaftder on January 19, 2010, 02:34:22 AM
It's all about the software. Hardware, as much of a pain as it is to get right, is just 1 tenth of the solution in this situation. aperez seems to be looking to not re-invent the wheel as much as possible.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: Rebel-CD32 on January 19, 2010, 02:34:32 AM
Keep up the good work, guys. I agree it'd be best to have the external hardware handle the TCP/IP stack and have its own bsdsocket.library in RAM. AmiTCP and Miami take up quite a bit of memory, which isn't ideal for lower-end systems. A well-priced plug-in Ethernet solution for CD32s and Amigas without PCMCIA or Zorro would surely sell, there are plenty of us still with classic systems set up and in use, and a lot of people getting back into the hobby.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: kolla on January 19, 2010, 02:35:08 AM
Quote from: Tension;539023
Doesnt the C64 have a "clock port" ethernet solution?

Surely it would be easier to write drivers, rather than designing an interface AND writing drivers?


This has also been discussed numerous times, the RR-net device is not really suited on the Amiga, and it's not just about software drivers.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: redrumloa on January 19, 2010, 03:07:39 AM
Quote from: Tension;539023
Doesnt the C64 have a "clock port" ethernet solution?

Surely it would be easier to write drivers, rather than designing an interface AND writing drivers?

Or I could be wrong on that...

The C64/128 has the rr-net, which uses Amiga style clock port on products like the MMC Replay. I've asked Jens about the possibility of Amiga drivers and he suggested it would be a bad idea.

Shame classic Amiga don't have a low cost ethernet solution like the C64/128, the 64nic+ is stand alone and only $55.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: Tension on January 19, 2010, 03:11:59 AM
Quote from: redrumloa;539029
The C64/128 has the rr-net, which uses Amiga style clock port on products like the MMC Replay. I've asked Jens about the possibility of Amiga drivers and he suggested it would be a bad idea.

Shame classic Amiga don't have a low cost ethernet solution like the C64/128, the 64nic+ is stand alone and only $55.


I wonder what he meant by that??  Surely the signals must be the same...  Why would it be such a bad idea??

It really is a shame that the C64 has this nifty device, and we don't. Even though we were the original clock-port-utilizing-out-of-the-box-blue-sky-thinkers.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: koaftder on January 19, 2010, 03:33:06 AM
It's a software issue. Amigaland is a different ballgame than c64 land.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: Tension on January 19, 2010, 03:55:07 AM
Quote from: koaftder;539035
It's a software issue. Amigaland is a different ballgame than c64 land.


So could it be used on an emulated C64 on an A1200??
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: koaftder on January 19, 2010, 04:50:17 AM
The Amiga is a multitasker that shares resources in a hierarchy of common protocols, the c64 isn't. Interfacing stuff to hardware isn't hard, doing useful stuff with hardware in a layered software stack is.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: Tension on January 19, 2010, 01:40:29 PM
Quote from: koaftder;539045
The Amiga is a multitasker that shares resources in a hierarchy of common protocols, the c64 isn't. Interfacing stuff to hardware isn't hard, doing useful stuff with hardware in a layered software stack is.


Ahh right.  That makes sense when I think of it like that.  :)
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: platon42 on January 19, 2010, 03:44:17 PM
Quote from: aperez;537791

It probably does, but USB full speed is only good for 1.5mbytes/sec, maximum theoretical, and one would be lucky if the effective, overall throughput were even 2/3 of that. I would prefer to see the USB stack not implemented in Amigaland, when there's a perfectly-capable 80/66MHz CPU sitting there which can do the heavy lifting.


Erm.... didn't you say two posts above that the controller on the board is USB 2.0 full-speed (which effectively, says it's USB 1.1)? There are hardly any embedded controllers with a USB 2.0 highspeed *host* controller available, this one is no exception (there are plenty of USB 2.0 highspeed *devices* though.

What kind of heavy-lifting are you expecting? >90% of the time is spent on copying data. If it wasn't for the 8 bit clockport data bus with slow timing, around 1 MB/sec would be doable, as already the Algor proves (of course, this also depends on the capabilities of the USB device used).

Quote

I never claimed it was. The point of using a premanufactured board is that they're easily obtainable, will be produced in quantities *far* greater than the Deneb and Subway will likely *ever* be, combined. What is needed is a bridgeboard which performs the necessary voltage regulation, as well as logic level buffering/transformations. The bulk of the onus rests on the backs of others, which is ideal in this particular situation.


No, no, what you need is somebody to write that kind of software. For example, you could use DisplayLink USB to VGA adapters on the Deneb easily -- if somebody would write a driver for CGFX. Who wouldn't want a 60 EUR graphics adapter supporting up to 2048 x 1152 or 1920 x 1200 with DVI signal that would only be marginally slower than the existing Zorro solutions? I'm sorry to say but software development costs have likely exceeded hardware development and especially production costs for most projects by magnitudes by now.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: desiv on January 19, 2010, 04:32:22 PM
Quote from: alexh;537649
What for? ....
Without a CPU upgrade you're not going to be able to run any meaningful live internet software, i.e. web-browser etc.

:confused::(:(:confused:

You really believe that if it isn't GUI, it's not meaningful or does the Amiga network not support FTP and telnet type of applications?

I must be pretty old..  I still use FTP and telnet (and lynx and wget) all the time...
(Not on the Amiga, just got my 1200, and don't have a network card for it.  But I expect FTP to be usable when I do...)

IMHO, sneakernet should never be the preferred solution.  

desiv
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: JimS on January 20, 2010, 07:41:17 PM
I always thought the smartest approach to expanding the classic hardware was not to monkey around trying to interface a bus (PCI) that's now obsolete. Instead, take advantage of the modules available for the embedded controller market, and host them on a Zorro card that's basicaly just a glorified clock port. You can get a module for ethernet that has it's own cpu to run the included TCP/IP stack. Same for USB host - even with mp3 playback. What else do you want to use on the classic hardware? Graphics? OK, can you get the specs on the graphics card you want to use? I'd rather try rolling my own in an FPGA, though I think that would be better interfaced to the CPU.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: Trev on January 20, 2010, 10:29:13 PM
Quote from: redrumloa;539029
The C64/128 has the rr-net, which uses Amiga style clock port on products like the MMC Replay. I've asked Jens about the possibility of Amiga drivers and he suggested it would be a bad idea.

Shame classic Amiga don't have a low cost ethernet solution like the C64/128, the 64nic+ is stand alone and only $55.


It's not bad, but it's not great either. Ethernet and IP are fault tolerant by design, so being a polled device isn't necessarily a drawback. Both of my A1200s are borked (as my sig suggests), and my A500 isn't capable of running a full-featured IP stack (one that uses SANA-II devices and emulates bsdsocket.library) for testing. That, and I spend most of my free time with my wife and not my computers. ;-)
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: aperez on January 25, 2010, 10:34:02 PM
Quote from: JimS;539422
I always thought the smartest approach to expanding the classic hardware was not to monkey around trying to interface a bus (PCI) that's now obsolete. Instead, take advantage of the modules available for the embedded controller market, and host them on a Zorro card that's basicaly just a glorified clock port. You can get a module for ethernet that has it's own cpu to run the included TCP/IP stack. Same for USB host - even with mp3 playback. What else do you want to use on the classic hardware? Graphics? OK, can you get the specs on the graphics card you want to use? I'd rather try rolling my own in an FPGA, though I think that would be better interfaced to the CPU.


Jim,

It's almost as though you didn't bother to read the thread, as that's exactly what I'm going to be doing. That said, the assertion that PCI is "dead" is beyond ridiculous. PCI has certainly evolved, but PCIe is merely a serialized version of the original PCI, with lanes globbed together for additional bandwidth when needed.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: tone007 on January 26, 2010, 01:34:34 AM
This solution would still cost more than the A500 you're hooking it up to.  Stick with serial.  Something worthwhile, I think, would be a Slingshot type board that holds a Zorro card horizontally. Can't get much cheaper than a printed board or two with one or two ICs.  Not that Zorro Ethernet boards are flooding the market, but there are alot of other cards floating around that could be useful.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: tone007 on January 26, 2010, 01:37:43 AM
This solution would still cost more than the A500 you're hooking it up to. Stick with serial. Something worthwhile, I think, would be a Slingshot type board that holds a Zorro card horizontally. Can't get much cheaper than a printed board or two with one or two ICs. Not that Zorro Ethernet boards are flooding the market, but there are alot of other cards floating around that could be useful.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: JimS on January 26, 2010, 03:35:14 AM
Actually, I did read the thread, and was agreeing with your approach. Others brought up the PCI option as an alternative. And I'll stick by my assertion that PCI is dead... I didn't say anything about PCI-E.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: tone007 on January 26, 2010, 11:28:20 AM
Quote from: JimS;540140
And I'll stick by my assertion that PCI is dead.


There's a difference between "not cutting edge" and "dead."  They're still making and sellling PCI cards, they're still making and selling motherboards with PCI slots, and you're still wrong.
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: kolla on January 27, 2010, 01:14:01 AM
Quote from: tone007;540129
This solution would still cost more than the A500 you're hooking it up to. Stick with serial.


Build a serial card with bluetooth interface on, sell it with a bluetooth USB dongle for the PC side, wireless nullmodem FTW! Btw, I'm already doing this with my Minimig and it works just fine, the bluetooth interface is configured through terminal program or "dialup script".
Title: Re: Freescale introduces a $49 MCF5225x coldfire module
Post by: aperez on January 28, 2010, 11:09:56 PM
Kolla,

To me, this falls into the "just because you can, doesn't mean you should" category.