[Bug Report] Beestack v3.0.2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[Bug Report] Beestack v3.0.2

2,708件の閲覧回数
arnogir
Senior Contributor II

Hello

I use the MAC since many year,

With an old version, the following file:

PLM\Source\TMR\Timer.h define the following:

define gTPMxCnSC_ELSB_c        0x08    /* Edge/level select high bit. */

#define gTPMxCnSC_ELSA_c        0x04    /* Edge/level select low bit. */

This is correct.

But the new version of Beestack v3.0.2 define following:

#define gTPMxCnSC_ELSB_c        0x04    /* Edge/level select high bit. */

#define gTPMxCnSC_ELSA_c        0x02    /* Edge/level select low bit. */

!!! Then this can cause some problem because register definition is well ELSB on bit 3 and ELSA on Bit 2, not on Bit 2 and  Bit 1!...

Could you confirm?

:smileyblush:

0 件の賞賛
返信
5 返答(返信)

2,531件の閲覧回数
arnogir
Senior Contributor II

Sorry,

The error is not in Bestack Codebase 3.1.1 but un MAC codebase 2.6.1:

BeeKit_3_0_2\Codebases\BeeKit HCS08 MAC Codebase 2.6.1\PLM\FreeScale\V01.00\HCS08\Source\TMR

0 件の賞賛
返信

2,531件の閲覧回数
AngelC
Senior Contributor I

Dear Arnaud,

I just confirmed what you described. I will forward your comments to our developers and have this fixed in future releases. Values should be 0x08 and 0x04 respectively, bits 0 and 1 are not defined. Thanks for pointing that out.

Regards,

AngelC

0 件の賞賛
返信

2,531件の閲覧回数
arnogir
Senior Contributor II

Anybody can confirm to taken this remark in the next Beestack  release?:smileysilly:

0 件の賞賛
返信

2,531件の閲覧回数
AngelC
Senior Contributor I

Dear Arnaud,

I guess you meant BeeKit 3.0.2 release. However, I could not verify the corresponding hardware. Could you please specify the device you are using? Also, please provide further details about the exact BeeKit’s application template you are using in order to confirm it.

Regards,

AngelC

0 件の賞賛
返信

2,531件の閲覧回数
arnogir
Senior Contributor II

BeeKit_3_0_2\Codebases\BeeKit HCS08 BeeStack Codebase 3.1.1\PLM\Source\TMR\Timer.h define the following

define gTPMxCnSC_ELSB_c        0x08    /* Edge/level select high bit. */

#define gTPMxCnSC_ELSA_c        0x04    /* Edge/level select low bit. */

The good way is:

#define gTPMxCnSC_ELSB_c        0x04    /* Edge/level select high bit. */

#define gTPMxCnSC_ELSA_c        0x02    /* Edge/level select low bit. */

0 件の賞賛
返信