Author Topic: What IDE and BDM emulator for a coldfire MCF4207 EVM board?  (Read 10832 times)

0 Members and 1 Guest are viewing this topic.

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: What IDE and BDM emulator for a coldfire MCF4207 EVM board?
« Reply #25 on: September 30, 2015, 10:12:04 pm »
this is the interface I was talking about, plus other stuff … it might be re-integrated into gdb
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: What IDE and BDM emulator for a coldfire MCF4207 EVM board?
« Reply #26 on: September 30, 2015, 10:41:45 pm »
Just a little OT, here I have found pre-built toolchains and tools for m68k,blackfin, they are for Windows, so they may be useful for someone. I prefer linux.
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: What IDE and BDM emulator for a coldfire MCF4207 EVM board?
« Reply #27 on: September 30, 2015, 11:13:15 pm »
Code: [Select]
   version     rom68k compiled by gcc-v4.4.5
   =========================================
   gdb-5.2.1   yes    fails
   gdb-6.5a    yes    fails
   gdb-6.6a    yes
   gdb-6.7a    no
   gdb-6.8a    no
   gdb-7.0.1a  no
   gdb-7.3.1   no     success

so it seems gdb-v6.6a was the last one supporting rom68k, then they dropped
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: What IDE and BDM emulator for a coldfire MCF4207 EVM board?
« Reply #28 on: October 01, 2015, 12:57:12 am »
I switched to gcc-4.1.2, which achieved the purpose: gdb-6.6a compiled with success  :-+
I also had to upgrade the IDP-ROM v2.2 to v3.0, because the old rom does not work with gdb-v6 (it might work with previous version, who knows?), and it has no support for CPU & ram probe

Code: [Select]
gdb v6.6, ready

(gdb) set remotebaud 9600
(gdb) target rom68k /dev/ttyS0
Remote target rom68k connected to /dev/ttyS0
0x00000000 in ?? ()
(gdb) x/3uh 0x900000
0x900000: 65535 65535 65535
(gdb) x/3uh 0x800000
0x800000: 15 65520 128
(gdb) x/4xw $sp
0x500: 0x00000000 0xffffffff 0x00000000 0xffffffff
(gdb) x/3ub 0x800000
0x800000: 0 15 255
(gdb) x/3xb 0x800000
0x800000: 0x00 0x0f 0xff
(gdb) x/16xb 0x800000
0x800000: 0x00 0x0f 0xff 0xf0 0x00 0x80 0x00 0x08
0x800008: 0x30 0x38 0x00 0x00 0x30 0x38 0x00 0x00
(gdb)
 

Offline marcopoloTopic starter

  • Regular Contributor
  • *
  • Posts: 150
  • Country: fr
  • F4LIG
    • Retronik
Re: What IDE and BDM emulator for a coldfire MCF4207 EVM board?
« Reply #29 on: October 06, 2015, 09:49:30 am »
This is good news  :)

Thanks for informations about working versions of GCC/GDB

Marc
My Archives (68K, Old logic, SSB radio): marc.retronik.fr
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf