cw5.1 debugger

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
3,030件の閲覧回数
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 ?
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
868件の閲覧回数
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 件の賞賛
返信
5 返答(返信)
868件の閲覧回数
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 件の賞賛
返信
868件の閲覧回数
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 件の賞賛
返信
868件の閲覧回数
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 件の賞賛
返信
868件の閲覧回数
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 件の賞賛
返信
869件の閲覧回数
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 件の賞賛
返信