Stimuli Problems

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

Stimuli Problems

1,957 Views
BAN
Contributor II

Hello

I have just started to use Full Chip Simulation in CW 4.5 for MC9S12C64. Seems to work fine but I have some problems when it comes to generation of stimuli.

Is the stimulation component window the only tool available when certain ports and addresses should be set at specific time or can others like the commandfile be used??

When opening the stimulation file and then trying to execute it a window pops up giving me the following information: Feature ‘HI404050: Stimulator Component’ is running in demo mode! … What license is needed to get full functionality in the simulator??

Some addresses could not be defined. When executing my stimuli file I get this error:

Error in command:

def sciFlag = TargetObject.#34EA.B

                                                   ^  

This address exists in the map file so I can’t understand the Error.

 

When running to a certain BP the CPU cycle counter fluctuates from time to time. For instance these were the readings when starting after reset and stopping at some init code: 35240, 35597, 35129, and 35721. Is this something that is expected or??

Regards

Labels (1)
0 Kudos
Reply
2 Replies

426 Views
CrasyCat
Specialist III
Hello
 
You probably need a support engineer to look into this one.
 
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

426 Views
BAN
Contributor II
Hello!
 
The first problem has been solved by means of a service request (1-399518345). Professional edition is needed. The problem with variable clock cycles at a breakpoint is due to the PLL simulator. According to the manual:
A stabilization time is simulated for the PLL, it ranges from 100 to 1500 clock cycles after REFDV or SYNR registers have been modified.
The error in the address is yet to be solved. There will be another service request
 
BAN
0 Kudos
Reply