Erroneous break in Codewarrior 6.1 Running 68HCS12A512

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

Erroneous break in Codewarrior 6.1 Running 68HCS12A512

ソリューションへジャンプ
2,236件の閲覧回数
EmbeddedCoder
Contributor III
Hi All,
 
I wonder if anyone else has seen the problems I have suddenly started to encounter and has any solutions?
 
I have been running Metrowerks debugger with a P&E BDM pod (Parallel not USB) on the HCS12A512 for over a year now and this is the first time I have seen this, which is suspicious in itself!!
 
I start my project, which does some initial checks and enters normal run mode - it seems to run like this for around 1 - 5minutes. During this time I can check internal memory, breakpoint etc as you would expect and all looks normal...
 
But then, I encounter an illegal breakpoint at the Clock Monitor Fail Vector, All the registers - PC, IP, D, A, B, IX, IY are populated with FFFF - which I think is consistent with the chip coming out of reset - although wierdly, having checked all the docs, I have disabled the clock monitor fail interrupt!?
 
But, I have written debug software so I can interrogate the chip status through the SCI - and with the debugger showing the chip halted, I can still send and receive debug messages. Further - these messages indicate that the chip has not been reset, as internal message counters have not been cleared!!
 
So, it seems that the metrowerks debugger has gotten confused somehow, indicating the chip has crashed when it has not - I have read other posts that indicate running the debugger with PLL enabled can cause problems, and my project does use the PLL module, ramping the source 25Mhz crsytal up to 50Mhz. However, I have run my project for at least 6 months with these PLL settings without apparent problems.
 
Has anyone else seen wierd effects like these, or have any workarounds?
 
Thanks in advance,
Mike
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,482件の閲覧回数
EmbeddedCoder
Contributor III
I seem to have solved this problem myself!
 
It seems I have a dodgy BDM Pod. My other pod can be left connected overnight, and it does not break!
 
 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,483件の閲覧回数
EmbeddedCoder
Contributor III
I seem to have solved this problem myself!
 
It seems I have a dodgy BDM Pod. My other pod can be left connected overnight, and it does not break!
 
 
0 件の賞賛
返信