Reply by David Brown May 10, 20192019-05-10
On 07/05/2019 20:20, Bryan Fields wrote:
> I'm working with a very old 68360 based embedded system running from flash ROM > based on pSOS+ RTOS, and need to debug. The BDM cannot do hardware > breakpoints while running from ROM and thus I'm looking for an emulator that > may work with this. > > I've tried an old Mikrotek power-pack, but it's DOA upon boot, and am looking > at what anyone may have around they no longer need. I don't have a budget on > this, it's simply a old hacking project I've got into. > > Short of adding jumps into the flash ROM (which is tedious), I wonder if > anyone may remember a good way to attack this. > > Any ideas for what may be best here? >
Are you able to copy the code to ram and run it from there? Then breakpoints are easy. When I worked with 68k devices (68332 mostly), I copied the code to ram and ran it from there. It made debugging a lot easier. mvh., David
Reply by Bryan Fields May 10, 20192019-05-10
On 5/9/19 12:34 PM, Ed Prochak wrote:
> On Tuesday, May 7, 2019 at 2:20:55 PM UTC-4, Bryan Fields wrote: >> Any ideas for what may be best here? > > I can only suggest searching Ebay for another Mikrotek.
Don't suppose you (or anyone else here) might have some docs on the Mikrotek? I've got nothing but did work with one for Intel about 15 years ago. Was a basic serial UI IIRC.
> Otherwise you have to internally instrument the code, > for example output a code to a serial port at each > module's entry and exit. > > this doesn't help if you are debugging a race condition. ;(
Yea, it sucks. With the RTOS in there, there's limits to what we can do. This old stuff is kinda fun, more to see where we came from 20 years ago. Thanks, -- Bryan
Reply by Ed Prochak May 9, 20192019-05-09
On Tuesday, May 7, 2019 at 2:20:55 PM UTC-4, Bryan Fields wrote:
> I'm working with a very old 68360 based embedded system running from flash ROM > based on pSOS+ RTOS, and need to debug. The BDM cannot do hardware > breakpoints while running from ROM and thus I'm looking for an emulator that > may work with this. > > I've tried an old Mikrotek power-pack, but it's DOA upon boot, and am looking > at what anyone may have around they no longer need. I don't have a budget on > this, it's simply a old hacking project I've got into. > > Short of adding jumps into the flash ROM (which is tedious), I wonder if > anyone may remember a good way to attack this. > > Any ideas for what may be best here? > > -- Bryan
I can only suggest searching Ebay for another Mikrotek. Otherwise you have to internally instrument the code, for example output a code to a serial port at each module's entry and exit. this doesn't help if you are debugging a race condition. ;( Ed
Reply by Bryan Fields May 7, 20192019-05-07
I'm working with a very old 68360 based embedded system running from flash ROM
based on pSOS+ RTOS, and need to debug.  The BDM cannot do hardware
breakpoints while running from ROM and thus I'm looking for an emulator that
may work with this.

I've tried an old Mikrotek power-pack, but it's DOA upon boot, and am looking
at what anyone may have around they no longer need.  I don't have a budget on
this, it's simply a old hacking project I've got into.

Short of adding jumps into the flash ROM (which is tedious), I wonder if
anyone may remember a good way to attack this.

Any ideas for what may be best here?

-- Bryan