cw5.1 debugger

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

cw5.1 debugger

Jump to solution
2,749 Views
kostas
Contributor I
In manual says that the stimulator control is not supported.
So, how can I stimulate inputs using the debugger of CW 5.1 ?
Labels (1)
Tags (1)
0 Kudos
1 Solution
587 Views
CrasyCat
Specialist III

Hello

Here you are looking for a tool allowing you to test the LIN protocol and to monitor the LIN messages.

The simulator is just intended to simulate the CPU and the internal peripheral. It will not allow you to test the protocol.

Note you can stimulate LIN peripheral using the commands SLCDI, SLCDO and SLCCR. These commands are available after you load full chip simulation for HC08QL4 for instance.

CrasyCat

View solution in original post

0 Kudos
5 Replies
587 Views
CrasyCat
Specialist III

Hello

Which kind of inputs do you want to stimulate?

Basically you can use the menu entries in the HC08FCS (resp. HCS08FCS) menu.
For example you can use "Port Pin Modules" there to input data to PORTA, PORTB, PORTC or PORTD, you can use menu entry "SCI Modules" to input data to the SCI, and so on.

Alternatively you can use the corresponding commands if you wish to kind of automate that.

Please refer to the manual "Debugger_HC08.pdf" in {Install}\Help\PDF. Chapter "HC08 Full Chip Simulation" (resp. "HCS08 Full Chip Simulation") provides you with a list of commands associated with each Module.

I hope this helps.

CrasyCat

0 Kudos
587 Views
kostas
Contributor I

Thanks for your answer but did not help.

I want to simulate input of assymetry pulse train at one input.

For example I want to test if the driver for LIN works fine.

 

 

0 Kudos
587 Views
CrasyCat
Specialist III

Hello

Which HC08 MCU including LIN peripheral do you want to simulate?

Could not find any HC08 device with LIN peripheral simulated so far.

Looks like LIN is not simulated at all. So you will have to go to the real hardware to test your LIN software.

CrasyCat

0 Kudos
587 Views
kostas
Contributor I

Dear  CrasyCat,

For example HC08QL series has a lin harwdare or you can use a software uart at HC908QY series but you can not simulate factors as:

What if you have little modified input bit rate?

What if you have wrong lenght of break?

What if you take in rx different bits that tx?

These and others tests you can not make with this debugger.

Finally you can not test the lin driver at slave side if it is conforms with protocol.

You must buy very expensive tools to test lin at hardware level so if there is a stimulator control that you can trigger input at specified intervals thats would very nice.

Do you know if the stimulator component will support at newer edition?

Or do you know some else Debugger for make these tests?

Best Regards,

Kostas

0 Kudos
588 Views
CrasyCat
Specialist III

Hello

Here you are looking for a tool allowing you to test the LIN protocol and to monitor the LIN messages.

The simulator is just intended to simulate the CPU and the internal peripheral. It will not allow you to test the protocol.

Note you can stimulate LIN peripheral using the commands SLCDI, SLCDO and SLCCR. These commands are available after you load full chip simulation for HC08QL4 for instance.

CrasyCat

0 Kudos