anyone with ColdFire® M5282EVB? (support for Student Learning Kit) - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: November 12, 2016, 04:30:17 pm
content: let me know

author: legacy
author_rank: Super Contributor
timestamp: November 12, 2016, 04:44:54 pm
content: just a noteCode:m68k-unknown-linux-gnu-gcc -mcpu=5282 -c hAllo.c -o hAllo.occ1: error: unrecognized command line option "-mcpu=5282"mmm, is there a difference betweenCode:target=m68k-unknown-linux-gnuandCode:target=m68k-elf?!?because, if so, I have to modify the crossdev scriptCode:m68k-unknown-linux-gnu-gcc -vUsing built-in specs.Target: m68k-unknown-linux-gnuConfigured with: /var/tmp/portage/cross-m68k-unknown-linux-gnu/gcc-4.1.2/work/gcc-4.1.2/configure--host=i686-pc-linux-gnu--target=m68k-unknown-linux-gnu--build=i686-pc-linux-gnu--prefix=/usr--bindir=/usr/i686-pc-linux-gnu/m68k-unknown-linux-gnu/gcc-bin/4.1.2--includedir=/usr/lib/gcc/m68k-unknown-linux-gnu/4.1.2/include--datadir=/usr/share/gcc-data/m68k-unknown-linux-gnu/4.1.2--mandir=/usr/share/gcc-data/m68k-unknown-linux-gnu/4.1.2/man--infodir=/usr/share/gcc-data/m68k-unknown-linux-gnu/4.1.2/info--with-gxx-include-dir=/usr/lib/gcc/m68k-unknown-linux-gnu/4.1.2/include/g++-v4--enable-languages=c--enable-obsolete--enable-secureplt--disable-werror--with-system-zlib--enable-nls--without-included-gettext--enable-checking=release--enable-poison-system-directories--disable-shared--disable-threads--without-headers--enable-__cxa_atexit--enable-clocale=gnu--disable-multilib--disable-altivec--disable-libgcj--disable-libmudflap--disable-libsspThread model: singlegcc version 4.1.2 (Gentoo 4.1.2 p1.6)or, is v4.1.2 just too old for that ?edit:Code:m68k-unknown-linux-gnu-gcc -m528x -c hAllo.c -o hAllo.othis works

author: ale500
author_rank: Frequent Contributor
timestamp: November 12, 2016, 05:05:05 pm
content: What does the target dump/help looks like ?

author: Kalvin
author_rank: Super Contributor
timestamp: November 12, 2016, 05:30:14 pm
content: You using GCC anyway?

author: legacy
author_rank: Super Contributor
timestamp: November 12, 2016, 05:45:48 pm
content: Quote from: Kalvin on November 12, 2016, 05:30:14 pmyup, until I will receive my personal license for CodeWarrior/Coldfirecurrently I own a license for EZ328, which doesn't include Coldfire andany BDM cable support. It will take a couple a weeks through a resellerbecause I have also ordered a couple of cablesand, as usual, gcc has failed on its first trybut don't worry, my bad attitude against Gccis still far from being changedit's a purpose that drives me: I'd like to finalize a virtual machine forthisboardin order to provide some good gear to a local college's lab

author: legacy
author_rank: Super Contributor
timestamp: November 12, 2016, 05:49:12 pm
content: Quote from: ale500 on November 12, 2016, 05:05:05 pmthe external flash contains "dbug"sw.all on, except sw8=off, boots itanyhow, the problem was gcc

author: legacy
author_rank: Super Contributor
timestamp: November 12, 2016, 05:59:39 pm
content: Code:opts="-mcpu32-m68000-m68010-m68020-mc68020-m68030-m68040-m68060-m5200-m5206e-m528x-m5307-m5407-m68020-40-m68020-60"for opt in $optsdoecho "$opt"m68k-unknown-linux-gnu-gcc $opt -c hAllo.c -o obj/hAllo$opt.odoneCode:-mcpu32-m68000-m68010cc1: error: unrecognized command line option "-m68010"-m68020-mc68020-m68030-m68040-m68060-m5200-m5206e-m528x-m5307-m5407-m68020-40-m68020-60good, the above is interesting, gcc v4.1.2 was built by crossdev with the following setCode:crossdev --b 2.25.1-r1 --g 4.1.2 --l 2.22-r1 --k 4.3 -s2 -t m68k-unknown-linux-gnu --without-headers -vI am going to give a try to a new profile, v4.3.1Code:crossdev --b 2.25.1-r1 --g 4.3.1 --l 2.22-r1 --k 4.3 -s2 -t m68k-elf --without-headers -v

author: legacy
author_rank: Super Contributor
timestamp: November 12, 2016, 06:02:52 pm
content: @Kalvinand don't look at my envCode:gcc-config -l i686-pc-linux-gnu-4.1.2 i686-pc-linux-gnu-4.9.3 * m68k-unknown-linux-gnu-4.1.2 * mips64-unknown-linux-gnu-4.1.2 mips64-unknown-linux-gnu-5.3.0 * powerpc-unknown-linux-gnu-4.1.2 *

author: legacy
author_rank: Super Contributor
timestamp: November 12, 2016, 09:24:27 pm
content: M5282 belongs to core-v2 classbought two USBMLCF for a discountbecause discontinued and replacedby the U-MULTILINK-FXI don't know about "clones"

author: legacy
author_rank: Super Contributor
timestamp: November 13, 2016, 02:15:37 pm
content: Code: i686-pc-linux-gnu-4.1.2 i686-pc-linux-gnu-4.9.3 * m68k-elf-4.2.4 * m68k-unknown-linux-gnu-4.1.2 * mips64-unknown-linux-gnu-4.1.2 mips64-unknown-linux-gnu-5.3.0 * powerpc-unknown-linux-gnu-4.1.2 *gcc v4.2.4 --target=m68k-elf: it works

author: legacy
author_rank: Super Contributor
timestamp: November 14, 2016, 09:50:04 pm
content: so, no one on ColdFire® M5282EVB or similar boards.

author: nctnico
author_rank: Super Contributor
timestamp: November 14, 2016, 10:02:48 pm
content: Quote from: legacy on November 14, 2016, 09:50:04 pmNo. I think I had one or a similar board a decade ago but I send it back due to lack of programming tools.

author: legacy
author_rank: Super Contributor
timestamp: November 15, 2016, 12:15:41 pm
content: it means no examples and no people arounddamnit damnitI wonder why they have chosen ColdFire® for the laboratoryit doesn't seem the best choice, any how I was asked toprovide equipment, get started, a few examples, and boardsand I am doing my best with gcc because they haven'tapproved the budget requested for CodeWarrioralso, they haven't approved the purchase of the usbdmtherefore I am obliged to use gdb over the serial linethe M5282EVB board comes with two serial portsconsole, and auxiliary, while the Student Learning Kitcomes with one serial portthe only good part of this sad story: the laboratory assistantis a she, a very pretty girl, let's' add a bottle of good wine(might be a date for dinner?) to the purpose

author: nctnico
author_rank: Super Contributor
timestamp: November 15, 2016, 05:10:28 pm
content: And get some ARM development boards while you are at it. There is a seller on Ebay which has very nice LPC1768 boards (USB host, ethernet, CAN, color TFT display) for around $70.Just forget about the Coldfire. Some distributors try to push it hard but there just isn't any support behind it unless you are going into very high volumes where spending several $k on the tooling isn't an issue.

author: legacy
author_rank: Super Contributor
timestamp: November 16, 2016, 02:48:23 pm
content: Quote from: nctnico on November 15, 2016, 05:10:28 pmwell it's not my choice, they decide what they want in their labfor my personal use I have no problem with arm boards by Olimexmmm, it seems they have chosen ColdFire® because they havea course where they study assembly 68k, therefore the laboratoryneeds to have some 68k gear, and ColdFire® is close to it

author: nctnico
author_rank: Super Contributor
timestamp: November 16, 2016, 03:32:35 pm
content: Why do they even bother with the 68k? It is obsolete and the lab seems to be a lost cause. Just take the woman out to dinner and don't get involved with the lab (don't mix personal life and work).