S08DZ60's Real Time Clock (RTC) interrupt not set in full simulation mode with CW for HC(S)08

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S08DZ60's Real Time Clock (RTC) interrupt not set in full simulation mode with CW for HC(S)08

Jump to solution
2,160 Views
mayfly
Contributor III
Hi,

I'm developing for a S08DZ60 system.  I am using the RTC to set up a uS/mS clock for non-critical time-based polling. 

Problem:
The RTC interrupt does not get generated in full simulation mode (or the flag doesn't get set?).  It does generate an interrupt in the debugger when in BDM mode (connected to the device).   It also works properly on the device itself when not connected to the debugger.  This would seem to indicate that there's a bug in the debugger. 

I think I saw this in a post before, but try as I might, I couldn't find it again.   Any workarounds?



J2MEJediMaster says: Please remember to add Codewarrior version and MCU type in the subject line.


Message Edited by J2MEJediMaster on 2007-10-04 09:51 AM
Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
814 Views
CrasyCat
Specialist III
Hello
 
I did try to create a project using Processor Expert with the Project wizard.
I then added a TimerInt Bean to the project and set a period of 1200 ms.
 
I built the project and run it in the simulator and the interrupt gets generated.
The issue might be related to a specific use/configuration of the peripheral.
 
If you feel you have found an issue in simulation however I would recommend you
to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
 
CrasyCat

View solution in original post

0 Kudos
Reply
3 Replies
814 Views
CrasyCat
Specialist III
Hello
 
- Which version of CodeWarrior are you using?
  To retrieve that info:
    - Start CodeWarrior
    - Select Help -> About Freescale CodeWarrior
    - Click on "Install Products"
    - CodeWarrior version used is displayed on top in the Installed Products dialog.
 
 
CrasyCat
0 Kudos
Reply
814 Views
mayfly
Contributor III
Hi,

The codewarrior version is:
CodeWarrior V6.0 Release, build 7134-30May07

I think the problem is with the Simulator/Debugger:
Version 6.1, build 7134

Thanks

0 Kudos
Reply
815 Views
CrasyCat
Specialist III
Hello
 
I did try to create a project using Processor Expert with the Project wizard.
I then added a TimerInt Bean to the project and set a period of 1200 ms.
 
I built the project and run it in the simulator and the interrupt gets generated.
The issue might be related to a specific use/configuration of the peripheral.
 
If you feel you have found an issue in simulation however I would recommend you
to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
 
CrasyCat
0 Kudos
Reply