Debugging a real Dragon with NoICE - serial port

A place to discuss everything Dragon related that doesn't fall into the other categories.

Debugging a real Dragon with NoICE - serial port

Postby pser1 » Sat Nov 07, 2015 8:02 pm

Hi all,
I just wanted to share an interesting project I have had the chance to work on.
I would like to program for the module Wordpak2+ (color VIDEO cartridge fro Dragon / CoCo)
and this is going to be imposible to be debugged with GDB.
It will need to be debugged on the fly, so right on the Dragon machine.
I just had heard about an application that allows doing that: NoICE from John Hartman
http://www.noicedebugger.com

I contacted John to get that program, he was very kind and sent me the program and a license ... thanks a lot!
It is a nice Windows debugger, for quite a lot of different CPUs and microcontrollers.
The monitor for CoCo exists, so I modified it to work with our Dragon64 using the serial port at 19200 bauds.
In order to be able to debug ROM areas, it is mandatory to work in MAP1 (all RAM), so I have coded the monitor
to load from $FA00 on. I attach here the source and the binary of my 'modified' monitor for Dragon-6809

cheers
pere
Attachments
Dragon6809 Monitor x NoICE v2.0.zip
(9.15 KiB) Downloaded 26 times
pser1
 
Posts: 895
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Debugging a real Dragon with NoICE - serial port

Postby pser1 » Sat Nov 07, 2015 8:18 pm

just some pictures - screenshots of the debugger on the PC and the monitored Dragon64

cheers
pere


01 - NoICE just started-small.jpg
01 - NoICE just started-small.jpg (66.67 KiB) Viewed 302 times

02 - Dragon64 executing Monitor x NoICE-small.jpg
02 - Dragon64 executing Monitor x NoICE-small.jpg (43.92 KiB) Viewed 302 times

04 - Stepping through the programsmall.jpg
04 - Stepping through the programsmall.jpg (72.3 KiB) Viewed 302 times

05 - Program effects on first Dragon screen row-small.jpg
05 - Program effects on first Dragon screen row-small.jpg (44.45 KiB) Viewed 302 times

07 - User quits monitor-small.jpg
07 - User quits monitor-small.jpg (65.72 KiB) Viewed 302 times
pser1
 
Posts: 895
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)


Return to Dragon General

Who is online

Users browsing this forum: No registered users and 2 guests