I am a newbie when it comes to programming microcontrollers and I have a couple of questions that I hope somebody can answer.
To learn a little, and play to around a bit, I got myself a demoboard for the MC9S12NE64 (The board is the DEMO9S12NE64).
The board is shipped with a version of CodeWarrior. However, I am also interested in trying out using GNU-software for the development.
My first question is then: without using CodeWarrior, how can I load a program into the microcontroller, ie. how can I 'talk to' the SerialMonitor-program to flash my program into memory?
If I get a BDM-programmer, and just skip the SerialMonitor all together, I guess this is one way of doing it. But then I also have a question regarding BDM.
On my demoboard the BDM-connector has 6 pins. However, I have seen another demo-board for a ColdFire-processor where the BDM-connector has many more pins.
How come the two BDM-connectors have different number of pins?
If I buy myself a BDM-programmer (ie. the P&E BDM-multilink) how can I konow it will work with the 6-pin BDM-connector on my board?
Will it work with different BDM-connectors, ie. connectors with different pin-count?
Thanks in advance for any answers.
Dala
Hi Dala
Please check out the following posting:
http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&message.id=897
You may like to consider the uTasker. It is free for non-commercial work, including email support.
It comes with Codewarrior, IAR and GNU projects which is ready to run on the MC9S12NE64DEMO. It also comes with a serial download program which is sometimes useful...
The BDM on the NE64 needs only 3 pins to operate (data and reset lines - plus GND). The uTasker has also a project which allows converting a MC9S12NE64DEMO into a BDM - there is board allowing Web based BDM at the following address: http://212.254.22.36:8083/0 It is simply a MC9S12NE64DEMO connected to a second MC9S12NE64DEMO...
The uTasker has a growing user base. It is powerful, stable and proven and new users are always welcome. So if you want to save a lot of time and have some real fun in the process, just fill out the simple application and join the community.
Regards
Mark Butcher
www.mjbc.ch
PS. The project runs also on the Coldfire M5223X and so NE64 projects can be moved to the Coldfire by setting one compiler switch. See the project online at http://212.254.22.36
and the following Coldfire forum posting:
http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&message.id=274
Hi,
The P&E Multilink programmer works with HCS08, HC12 and HCS12 ONLY!
Coldfire and other bigger stuff requires a different adapter all together.
The 6-pin BDM port is standard for the devices mentioned above.
The multilink (Part No. USB-ML-12) will work with your board.
Regards David