PASD Help
pjv
Posts: 1,903
Hi All;
I've received some good pointers to more assembly "how-to" documentation, and reccommendations for assembly debuggers.
So I have downloaded the PASD debugger V0.3 -latest I believe, but I don't read much German- and in trying that out, I get an error thrown at step 7 in the users manual.... Press F2....· The error window states 'no data- Assembly code with Debug Kernel loaded in propeller chip?
And as far as I can tell, the demo program provided has the proper call for the kernel and the debugger for the other cog.
Don't know if I'm doing something wrong.
Help??
Cheers,
Peter (pjv)
I've received some good pointers to more assembly "how-to" documentation, and reccommendations for assembly debuggers.
So I have downloaded the PASD debugger V0.3 -latest I believe, but I don't read much German- and in trying that out, I get an error thrown at step 7 in the users manual.... Press F2....· The error window states 'no data- Assembly code with Debug Kernel loaded in propeller chip?
And as far as I can tell, the demo program provided has the proper call for the kernel and the debugger for the other cog.
Don't know if I'm doing something wrong.
Help??
Cheers,
Peter (pjv)
Comments
6)In PASD, Select “Com Port” from the “COM” menu
and specify your COM port.
7) Make sure that the Propeller IDE is still open, and that
the “PASD_AsmDebugDemo spin” window in the
Propeller IDE is the currently active window. Press
<F2> (or alternatively select “Get Asm Code” from
the “File” menu)
The main PASD window will update to show the
source code for the module being debugged
(PASD_AsmDebugDemo.spin).
8) Note that the current line ($00C) is highlighted in blue.
This is the first line which will be run when execution
in started.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://forums.parallax.com/showthread.php?p=816524
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
thanks for that link - I'd forgotten about it. I'm learning PASD now too ... it really is a nice piece of code, eh?
- H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
a) in the object with the assembly code, include the PASDebug object.
b) ..., start the PASDebug object
c) ..., include (and start at) the 12 long in cog debugger code
d) not run any terminal applications.
Once you have all that going, download the object and make sure that it's runnable (the start method is called and all that), then follow the steps CRP posted.
You can just google PASD and propeller and get the most recent version of the website.
A bug that I've noticed is that after a long day of debugging, the labels start to drift from their associated values and addresses. The solution is simply to restart PASD. All in all, a good program.
Use 'Save Settings' in the File Menu to store the ComPort. This also saves the Window positions and sizes.
The other limits of your list are mostly correct (and I think there are even more limits). But some annotations:
- The ORG is an Assembly directive and produces no data in memory, so I never set a label there.
- The 'on top' windows can be minimized if they annoy. They are automatically minimized/restored when the Main window of PASD is minimized/restored.
Andy
Thanks for all the comments, but I believe I did all properly as explained and used the provided demo program, but I get the error message. So now I don't know what the issue is.
@Counter R P; Just a little clarification: my reference to German language was to be sure I got the latest version... I was able to read their pdf just fine..... excellent English.
I'll try some more tomorrow. When I get it working, I believe it will be a good tool.
Thanks all.
And Jazzed, that was an interesting link you sent me to.... interesting to see people's approaches to debugging. I too am a hardware guy, flash lots of leds but with a scope attached. Speaking of which, Potatohead was wishing for a scope, and I'll send him one (a working well-used multi-channel Tektronix with no probes if he'll pay the shipping and any customs duties from Canada). Years ago I sent one to Paul Baker, and he had no duty issues at all.
Cheers,
Peter (pjv)
It could be arranged to look like this:
..Steve
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
I still have it in the basement. Wonder if she still works?
..Steve
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBladeProp, RamBlade, TwinBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: Micros eg Altair, and Terminals eg VT100 (Index) ZiCog (Z80) , MoCog (6809)
· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
Got it running..... had not dealt with the com port properly. Still notice a few oddities, but will work through them to understand them better.
Very helpful, and much appreciated. A hearty THANKS to its creator, as well as those who nudged me to the link. As most of my needs are high speed assembler will be my principal programming method.
Thanks again!........ surely more questions to follow.
Cheers,
Peter (pjv)