downloading project to a hc9s12 dev board..

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

downloading project to a hc9s12 dev board..

2,994 次查看
Kyle
Contributor I
alright so I have a project and want to download onto my dev board, but I don't know how to set up the target correctly.

I'm using either rs232(serial) or a bdm cable to download.

i'm using codewarrior ver. 4.7 and the 9s12c docking module.

Thanks guys
标签 (1)
0 项奖励
回复
3 回复数

1,092 次查看
Kyle
Contributor I
Thanks.  As far as I know it is set up to use either serial or BDM.  I'm leaning towards using the BDM debugger since I have to use the SCI port on the board.

Read through some Codewarrior stuff online about targets and couldn't find anything.  I'll see if I have any documentation at home, but not having any luck configuring the target right now.


0 项奖励
回复

1,092 次查看
J2MEJediMaster
Specialist I
You'll want to go with BDM, because it's gives better control of the processor, offers you more details of the processor's state, and is less obtrusive when you're running the program under debugger control. Again, the board ought to have with come with a CD or manual that describes the various settings, but more importantly, how to interface the board to the system and the CodeWarrior debugger settings.

Having said that, are you using the board as stand-alone, or are you plugging it into a Freescale project board (PBMCUSLK)? If the latter, then you can just connect the PC to the project board with a USB cable and it handles the BDM communications for you. If you're running the board as stand-alone, you'll need a cable that connects from the PC to the BDM port on the board.

Here's a link to one of the HCS12C student learning kit pages. There's a Quick Start Guide and User Guide on it that might be of help.

---Tom
0 项奖励
回复

1,092 次查看
J2MEJediMaster
Specialist I
1) You're going to have to choose the interface first, if you have a choice. Is the board jumpered to use a particular interface?

2) What kind of interface cable do you have to connect the board to the PC? If you only have a particular type, say BDM, then the decision in 1) is made for you.

The board ought to have a quick start guide that provides you with the information as to the interface to use, any jumpers to set, and any debugger settings you need to make in CodeWarrior so that it communicates with the board.

---Tom

0 项奖励
回复