Catalina C source code debugger released (BlackCat 1.35)
BlackCat is a Windows based source code debugger for use with Catalina C 2.4 (available here) and is particulary easy to use with ViewPort 4.3.2 (available here)·(which adds C code editing and automatic invocation of Catalina and BlackCat).· It allows you to step through your code in a variety of ways, place breakpoints, examine and modify variables while at a breakpoint, trace calling path, etc, and supports XMM LARGE and XMM SMALL as well as LMM on a variety of commonly available hardware platforms such as MORPHEUS, TRIBLADEPROP, HYDRA, HYBRID, DEMO, etc.
If you haven't installed Catalina C 2.4 yet, I have included a demo that was compiled using Catalina 2.4 (I used ViewPort 4.3.2 as the IDE)·that you can use right now to get a little "stick time" on BlackCat.
Unfortunately, though we tried hard, BlackCat will not run under Linux.· To serve that community, as well as those that prefer to use command line utilities, there is a command line version of BlackCat (called BlackBox) that Ross Higson built and·has been·released with Catalina 2.4.· It strongly parallels BlackCat, so running BlackCat will give you a good feel for what BlackBox will provide.
The necessary files are·now only available·on the Object Exchange (here).·
There is a demo to get you started without the need to have Catalina installed.
To run the demo, you will need a serial connection to a propeller chip.
In the BlackCatDemo directory, navigate to bin/Debug.· There you should find three files named DemoProject with .binary, .dbg, and .lst extensions.· Use the Propeller Tool to load DemoProject.binary to your propeller.
Go to wherever you unzipped BlackCat and open blackcat.exe.
On the Propeller Communications panel that opens up, select 115200 baud.· Then click the COM port drop down box.· It will be populated with available serial ports.· Select the one that is connected to the propeller.· Then click Open.· You can close this dialog now.· All settings are "sticky", and if you had been using ViewPort, all this would have been done for you.
On the BlackCat panel, click the menu item Open dbg file.· Navigate to DemoProject.dbg and select it.· You should be debugging now!· Use the Help menu item to bring up on-line help.· The on-line help is a manual organized around the kind of questions a new user will have.
Have fun.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (Bob Anderson) : 4/8/2010 2:41:18 PM GMT
If you haven't installed Catalina C 2.4 yet, I have included a demo that was compiled using Catalina 2.4 (I used ViewPort 4.3.2 as the IDE)·that you can use right now to get a little "stick time" on BlackCat.
Unfortunately, though we tried hard, BlackCat will not run under Linux.· To serve that community, as well as those that prefer to use command line utilities, there is a command line version of BlackCat (called BlackBox) that Ross Higson built and·has been·released with Catalina 2.4.· It strongly parallels BlackCat, so running BlackCat will give you a good feel for what BlackBox will provide.
The necessary files are·now only available·on the Object Exchange (here).·
There is a demo to get you started without the need to have Catalina installed.
To run the demo, you will need a serial connection to a propeller chip.
In the BlackCatDemo directory, navigate to bin/Debug.· There you should find three files named DemoProject with .binary, .dbg, and .lst extensions.· Use the Propeller Tool to load DemoProject.binary to your propeller.
Go to wherever you unzipped BlackCat and open blackcat.exe.
On the Propeller Communications panel that opens up, select 115200 baud.· Then click the COM port drop down box.· It will be populated with available serial ports.· Select the one that is connected to the propeller.· Then click Open.· You can close this dialog now.· All settings are "sticky", and if you had been using ViewPort, all this would have been done for you.
On the BlackCat panel, click the menu item Open dbg file.· Navigate to DemoProject.dbg and select it.· You should be debugging now!· Use the Help menu item to bring up on-line help.· The on-line help is a manual organized around the kind of questions a new user will have.
Have fun.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Event Driven Logic State Analyzer for ViewPort
- ViewPort add-on to expand 'watch' capabilities
- PASM tool: Augmented Assembly Code (PreSpin version)
- PASM tool: Augmented Assembly Code (standalone version)
- MultiPortUART with C# (windows) client
- Prop Tools under Development or Completed(Index)(by Cluso99)
- BlackCat - Source code debugger for Catalina C (LMM and XMM)
Post Edited (Bob Anderson) : 4/8/2010 2:41:18 PM GMT
Comments
I just got up, so I'll just post the link to the ViewPort v4.3.2 beta:
forums.hannoware.com/viewtopic.php?f=4&t=72
More later when I've had breakfast...
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Co-author of the official Propeller Guide- available at Amazon
Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
12Blocks, the block-based programming environment (thread here)
and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com 5.0" VGA LCD in stock!
Morpheus dual Prop SBC w/ 512KB kit $119.95, Mem+2MB memory/IO kit $89.95, both kits $189.95 SerPlug $9.95
Propteus and Proteus for Propeller prototyping 6.250MHz custom Crystals run Propellers at 100MHz
Las - Large model assembler Largos - upcoming nano operating system
ViewPort 4.3.2 is now available.
Catalina 2.4 should be posted soon.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
· Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
I have just uploaded the Catalina 2.4 release - you need to install this release to use BlackCat.
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
Version 1.33 adds a basic "watch" capability for those global variables that are located in Hub ram.· Those locations·can be·"sampled" and displayed while the program is running.· This technique does not affect the execution speed of the program.
Read the "Watch" topic in the on-line help for further information.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Version 1.34 adds the ability to write "watched" variables while the program is running. Strings and individual chars are fully supported. Now you can fully "instrument" your C program.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It corrects a sign extension bug when signed bit fields are displayed.
It adds the source filename to "watched" variables.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Should have posted this earlier - be sure to download the latest patch release of Catalina (dated 8 Apr) when using BlackCat - it fixes a bug in the compiler to do with C sign extension which shows up when using C bit fields (this was my fault, not Bob's!).
Also, I'm still considering doing a Catalina-specific plugin for Code::Blocks, so Id also like to hear if anyone has any comments on the relative merits of standalone BlackBox or BlackCat vs integrated BlackCat/Viewport (all of which are currently available) vs BlackBox or BlackCat integrated with Code::Blocks (not currently available, and maybe not worth the effort!).
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
Post Edited (RossH) : 4/13/2010 1:16:54 AM GMT