Can i use RS-232 in programming HCS12, MC9S12GC128 and which soft i need to use?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Can i use RS-232 in programming HCS12, MC9S12GC128 and which soft i need to use?

跳至解决方案
1,925 次查看
kuraga200
Contributor II

I want to use simple cheme with max232, maybe attiny2313 and connect by COM port to this cheme, and use it for programming

HCS12. Can do it, while i not have near me programmer from shop? For example connect to BDM and reset pins.

And which soft i can use for this?

标签 (1)
标记 (4)
0 项奖励
回复
1 解答
1,543 次查看
kuraga200
Contributor II

Best way is BDM. Best and chip BDM solution - open source BDM pjt USBDM. There is all circuits, soft, etc.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,543 次查看
Martin35804
NXP Employee
NXP Employee

Hi,

you can program though the serial port but you first would have to download a serial bootloader  program into your board / target, using for instant another BDM Programmer.  Once that this bootloader program resides in your board/target, you could reprogram the rest of  the memory via the serial port.  But one first programming using a BDM is needed. Please note that a serial bootloader allows only to program the memory, but you won't be able to debug your code via the serial port.

1,543 次查看
kuraga200
Contributor II

Hi,

Thanks for your answer!
But please explain litle bit more:

1. i can develop simple scheme to connect for mc9s12 (hcs12), like using rs232, max232 or

avr attiny, and connect it to serial port, right?

2. which programm you recommend me for this purpose? Maybe Code warrior support this, or i need

write code by myself for programming on my own circuit? In another words have it already solution?

Right now i not near city, but i need repair few things, and need to connect with HCS12, so i thing

how i can do it here without any famous programmers like ETL, xprog etc.

0 项奖励
回复
1,544 次查看
kuraga200
Contributor II

Best way is BDM. Best and chip BDM solution - open source BDM pjt USBDM. There is all circuits, soft, etc.

0 项奖励
回复