HC9S12C64 serial monitor load issue

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

HC9S12C64 serial monitor load issue

1,570件の閲覧回数
CyccPL
Contributor I

Hello,

i'm newbie here so pls be tolerant..

 

I haveHC9S12C64 Motorola MCU and i'd like to load the serial monitor too via trubo BDM v1.1 programmer. I use this hardware http://img155.imageshack.us/i/dscf7524i.jpg/

Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL]

 

 

 Have downloaded HCS12SerialMon2r1.abs form freescale forum. But i can not properly load the monitor to MCU. At the end of programming CodeWarrior show me this :

 

 

http://img845.imageshack.us/i/20110310193838.jpg/

 

and after this programming, serial monitor is not working in  my MCU,

 

PLS HELP, Regards

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

931件の閲覧回数
pgo
Senior Contributor V

Dear CyccPL,

 

The image posted is very hard to read!

 

The only error that I can see is that it can't find "main" to set a breakpoint.  This is not surprising since I believe there is no main symbol in the monitor code - its assembly language.  It's trying to set a temporary breakpoint at the C main() function.

 

Use the memory window to check if a file has actually been programmed to the target flash.  For example, have a look at $FFFE to see if there is a reset vector & then check at the vector destination to see if there is some code there.  This will, at least, indicate if somthing has been programmed to the chip.  Of course, its possible that this may be the existing code!  You could erase the chip and re-try to be absolutely sure.

 

Also,  You could download the entire monitor program project from Freescale and use that rather than just the abs file.  This should program with less hassle. 

Search for HCS12SerialMon in the above search box. 

Procedure:

  • Load the project in Codewarrior V5.1 and select the C32 target. 
  • Run the debugger  (green triangle) - This will start the debugger GUI but with the wrong BDM interface (P&E).  Cancel out of this.
  • Use Component->Set Connection to change the connection to TBDML.  Cancel out of the TBDML dialogue(s).
  • Exit the debugger
  • Restart the debugger again.  This time it should use the TBDML interface and program the target correctly.
  • Do the above checks if you want.

Finally - Why do you want to use the monitor anyway?  Development using TBDML is much less painful.

 

bye

 

 

0 件の賞賛
返信

931件の閲覧回数
CyccPL
Contributor I

Dear pgo..

 

i have CODE in .s19 filme, and solution for this CODE say that i must load the MONITOR to MCU via BDM, and then UPload the .s19 code via COM to MCU using loaded monitor...

 

I also try to load the monitor like you said. I download and load project in codewarrior. This time it's flash MONITOR with non errors [movie]. But i still can not put the .s19 code in too MCU. MONITOR is not working, MCU is inaccessible

 

Mayby MCU can be damaged ?? Pls advice

 

movie with flasing monitor

http://www.youtube.com/watch?v=raE0teorsas

0 件の賞賛
返信

931件の閲覧回数
CyccPL
Contributor I

any ideas??

0 件の賞賛
返信

931件の閲覧回数
CyccPL
Contributor I

I'm still looking for help with this programmer..  dont know why i cant acces the memory.

 

here is short vid with my attempt to programm

https://rapidshare.com/files/458121822/0006.avi

0 件の賞賛
返信