??? 01/07/05 19:08 Read: times |
#84545 - re Erik's questions Responding to: ???'s previous message |
Erik Malund said:
this is my first post to this site.
welcome, it would be more beneficial to know how more routined you ared in the '51 1) Code setting PT0 of the interrupt priority register is executed during the power up of the system 2) but reads of the IP register during the 10ms ISR do not report that the priority has been recognized. 1) states that 2) (timer interrupt) should happen. Further debugging will be required, questions: how do you determine 2) do you have an ICE are you using a "monitor" "URTOS" or any such are you using assembler, C or what Erik Thanks for your reply Eric. You first question ("it would be more beneficial to know how more routined you ared in the '51")was garbled could you please resend that. The read of the IP in the 10ms IRS is accomplished by adding diagnostic code to the application that reads and stores the data from the IP into scratch memory. We have a proprietary monitor running via a 485 bus that allows peeking at RAM locations. We have a Nohau emulator but connecting it to the controller is not a straight forward task. That is a strategy of last resort. Most of the code is written in Keil C. ASM is only used in special cases to make the code as maintainable as possible |
Topic | Author | Date |
Can't set interrupt priority | 01/01/70 00:00 | |
need more | 01/01/70 00:00 | |
re Erik's questions | 01/01/70 00:00 | |
possibles | 01/01/70 00:00 | |
re: possibilities | 01/01/70 00:00 | |
Can we solve like this? | 01/01/70 00:00 | |
but why? | 01/01/70 00:00 | |
re: can we solve like this? | 01/01/70 00:00 | |
re but why when it makes no difference | 01/01/70 00:00 | |
Software bug?![]() | 01/01/70 00:00 |