If you bought any version 9.xx of DC you
can freely upgrade to any new v9.xx. When they change the major version number,
in this case going to v10.xx, then you have to pay an upgrade fee.
There is a small section in the DC User's Manual about assmebly programming. Its not much, but it does tell you that the first argument of an assembly procedure is passed via register HL, for integers and bytes, and returns are also made via HL, again for integers. There is a book out about Rabbit programming that may contain more details on this. I don't remember the name, but if you search the archives or search on Amazon.com you should be able o fine it.
As for interrupt priorities, its a great mystery as to where you find that info. I'm sure someone more knowledgeable will chime in before too long.----- Original Message ----
From: scottmack1 <s...@frontiernet.net>
To: r...@yahoogroups.com
Sent: Friday, February 17, 2006 5:01:03 AM
Subject: [rabbit-semi] Re: TimerB - Watchdog issues on OP7200
It looks like I may have solved the problem by simply setting the
interrupt level to 1 rather than 2. I have not rechecked the outputs
with a scope yet, but the OP7200 does not seem to trip on a watchdog
like it did before.
What happens on what interrupt priority? Where does one find this
info? Am I goofing up the interval time clocks or something else by
setting the interrupt level at 1? I bought the User Manual and the
Function Reference manual and since I have not seen an explaination
of this, I missed it or there must be something more. Is it
downloadable?
Couple more questions:
How does one pass a value back and forth from C to assembler if I
were to rewrite the ISR in assembler? Does ZWorld have a manual that
walks you through this? (My assember days are with the 8085 chip, to
which half of you will likely say "the what?", but I might like to be
able to give it a try.)
I see a version 9.40 on the web site. Is my DC purchased with the
development kit freely upgradeable to that via download? What is the
policy for how long one can upgrade? I have seen some issues that
people seem to be having problems with; will one be able to upgrade
to the next version after 9.40?
If I end up with another Zworld job, it might be good to get a book
that would cover all aspects from hardware to bios software and
programming for some of these Rabbit Core Modules. I would probably
stick with the RCM rather than doing my own board at the chip level.
Does anyone have a general reference recommendation?
Thanks,
Regards,
Scott
There is a small section in the DC User's Manual about assmebly programming. Its not much, but it does tell you that the first argument of an assembly procedure is passed via register HL, for integers and bytes, and returns are also made via HL, again for integers. There is a book out about Rabbit programming that may contain more details on this. I don't remember the name, but if you search the archives or search on Amazon.com you should be able o fine it.
As for interrupt priorities, its a great mystery as to where you find that info. I'm sure someone more knowledgeable will chime in before too long.----- Original Message ----
From: scottmack1 <s...@frontiernet.net>
To: r...@yahoogroups.com
Sent: Friday, February 17, 2006 5:01:03 AM
Subject: [rabbit-semi] Re: TimerB - Watchdog issues on OP7200
It looks like I may have solved the problem by simply setting the
interrupt level to 1 rather than 2. I have not rechecked the outputs
with a scope yet, but the OP7200 does not seem to trip on a watchdog
like it did before.
What happens on what interrupt priority? Where does one find this
info? Am I goofing up the interval time clocks or something else by
setting the interrupt level at 1? I bought the User Manual and the
Function Reference manual and since I have not seen an explaination
of this, I missed it or there must be something more. Is it
downloadable?
Couple more questions:
How does one pass a value back and forth from C to assembler if I
were to rewrite the ISR in assembler? Does ZWorld have a manual that
walks you through this? (My assember days are with the 8085 chip, to
which half of you will likely say "the what?", but I might like to be
able to give it a try.)
I see a version 9.40 on the web site. Is my DC purchased with the
development kit freely upgradeable to that via download? What is the
policy for how long one can upgrade? I have seen some issues that
people seem to be having problems with; will one be able to upgrade
to the next version after 9.40?
If I end up with another Zworld job, it might be good to get a book
that would cover all aspects from hardware to bios software and
programming for some of these Rabbit Core Modules. I would probably
stick with the RCM rather than doing my own board at the chip level.
Does anyone have a general reference recommendation?
Thanks,
Regards,
Scott