EEVblog Electronics Community Forum

Electronics => Microcontrollers => Topic started by: Gribo on April 15, 2021, 01:35:57 pm

Title: Modern day M68K development
Post by: Gribo on April 15, 2021, 01:35:57 pm
Hello all,
 I got a task to develop test firmware for a board with a 68332 MCU, I have the PEmicro Multilink FX adapter, and would like to setup a toolchain. Sadly, Codesourcery lite is no longer available.

What are my options? I am using windows 10.
Title: Re: Modern day M68K development
Post by: bingo600 on April 15, 2021, 02:24:08 pm

Untested by me , but a search for GCC coldfire brings up some stuff.

https://crosstool-ng.github.io/ (https://crosstool-ng.github.io/)

The DL link in here seems to work
http://download.ronetix.info/toolchains/coldfire/m68k_cross_development_guide.pdf (http://download.ronetix.info/toolchains/coldfire/m68k_cross_development_guide.pdf)

https://www.nxp.com/design/software/development-software/codewarrior-development-tools/codewarrior-legacy/codewarrior-development-studio-for-coldfire-architectures-linux-editions-classic-ide-v2-5:CW-COLDFIRE-LINUX (https://www.nxp.com/design/software/development-software/codewarrior-development-tools/codewarrior-legacy/codewarrior-development-studio-for-coldfire-architectures-linux-editions-classic-ide-v2-5:CW-COLDFIRE-LINUX)

https://github.com/haarer/toolchain68k (https://github.com/haarer/toolchain68k)

https://gnutoolchains.com/m68k-elf/ (https://gnutoolchains.com/m68k-elf/)


/Bingo


Title: Re: Modern day M68K development
Post by: SiliconWizard on April 15, 2021, 03:57:38 pm
I have used the toolchain provided here: https://gnutoolchains.com/m68k-elf/
and it works fine.
Title: Re: Modern day M68K development
Post by: Gribo on April 16, 2021, 01:12:40 pm
Thanks for the info.
I have installed the toolchain, and got Eclipse to create a project with all the headers, now it seems I am missing some resources.
I installed version 4.8 of the toolchain.
Title: Re: Modern day M68K development
Post by: Harjit on April 17, 2021, 03:32:59 pm
There is some good information here: https://wiki.control.fel.cvut.cz/nms/cpuarch/m68k/mo_cpu2-quick-start.html

Has anyone found an inexpensive USB BDM tool? This is for a hobby project.
Title: Re: Modern day M68K development
Post by: bingo600 on April 17, 2021, 05:47:19 pm
Those are classic Newlib ... DIY routines , missing.
You have to implement them your self

/Bingo
Title: Re: Modern day M68K development
Post by: westfw on April 18, 2021, 09:14:17 am
Quote
it seems I am missing some resources.
newlib in its full form likes to have resources that aren't that applicable to a small embedded system.
Figure out how to use newlib-nano instead, and it should be happier!
Probably something like "--specs=nano.specs --specs=nosys.specs" in the link command (may also require that you re-build newlib...)