Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
|
Hi All! I am currently in the process of swithching my Microcontroller Interfacing class (ECE 451) from an Intel microcontroller to the DP256. We have purchased target boards from Technological Arts and are trying to run some programs on the board. Unfortunatelly, the MCUez version I have downloaded from Motorola lacks of the DP256 specific files (it supports up to the DG128). Even though it looks like we can download the .abs files to the correct memory locations in the RAM, we couldn't get the start address into the PC, or modify any target CPU register, hence, couldn't run our programs. It is likely due to the lack of the personality files. The DBUG12 in the flash knows that it is running on a DP256. I have learned that the DP256 Personality Module for the MCUez does exist. If any of you have it please send it to me ASAP along with instructions what to do with them to update my MCUez. I have got about three weeks for evaluations, rewriting the lab manual, updating my lecture materials from A4 to DP256, etc. I would really appreciate some quick help. Thanks so much. Janos Grantner ************************************************* Dr. Janos L. Grantner Assoc. Professor Department of Electrical and Computer Engineering Western Michigan University 3058 Kohrman Hall Kalamazoo, MI 49008-5329 Email: http://www.wmich.edu/ece/ Ph.: (616) 387-4066 Fax: (616) 387-4096, (616) 387-4024 ************************************************* |
|
|
|
Janos My problem as well. I know that Elektronikladen was working on the updated code to flash the 256. You need the vector page flashed inorder to set the startup address correctly. Once Elektronikladen gets the code done (Oliver has said it will be within the next two weeks) NOICE will support the flashing of the eeprom; NOICE is waiting on Elektronikladen. If you have not considered NOICE yet you might want to. A really outstanding debugger with the capability of flashing eeprom. You will need a POD of some sort however to talk to your target which it sounds like you have. Gordan, responded with a note to my question about 1 week ago on Debug 12; it does support the dp256, however you need to see Fridays' post on bootstrapping a bootstrap using an older processor to get debug 12 to start up. The best bet still appears to be www.NOICEdebuger.com <http://www.NOICEdebuger.com> and www.Elektronikladen.de <http://www.Elektronikladen.de> right now; maybe Oliver will have compassion on everyone and move the date up a bit.... hint....hint? If you find a working solution please post it as I am in the same boat but with the Motorola EVB. You and we appear to be just a bit ahead of the times. Bob -----Original Message----- From: Janos Grantner [mailto:] Sent: August 13, 2002 10:31 AM To: 68HC12 Cc: Subject: [68HC12] MCUez Personality Module for the DP256 Hi All! I am currently in the process of swithching my Microcontroller Interfacing class (ECE 451) from an Intel microcontroller to the DP256. We have purchased target boards from Technological Arts and are trying to run some programs on the board. Unfortunatelly, the MCUez version I have downloaded from Motorola lacks of the DP256 specific files (it supports up to the DG128). Even though it looks like we can download the .abs files to the correct memory locations in the RAM, we couldn't get the start address into the PC, or modify any target CPU register, hence, couldn't run our programs. It is likely due to the lack of the personality files. The DBUG12 in the flash knows that it is running on a DP256. I have learned that the DP256 Personality Module for the MCUez does exist. If any of you have it please send it to me ASAP along with instructions what to do with them to update my MCUez. I have got about three weeks for evaluations, rewriting the lab manual, updating my lecture materials from A4 to DP256, etc. I would really appreciate some quick help. Thanks so much. Janos Grantner ************************************************* Dr. Janos L. Grantner Assoc. Professor Department of Electrical and Computer Engineering Western Michigan University 3058 Kohrman Hall Kalamazoo, MI 49008-5329 Email: http://www.wmich.edu/ece/ <http://www.wmich.edu/ece/> Ph.: (616) 387-4066 Fax: (616) 387-4096, (616) 387-4024 ************************************************* Yahoo! Groups Sponsor ADVERTISEMENT <http://rd.yahoo.com/M=228862.2128520.3581629.1261774/D=egroupweb/S=17065542 05:HM/A=1182688/R=0/*http://adfarm.mediaplex.com/ad/ck/990-1736-1039-334 -------------------------------------------------------- To unsubscribe from this group, send an email to: To learn more about Motorola Microcontrollers, please visit http://www.motorola.com/mcu <http://www.motorola.com/mcu > . [Non-text portions of this message have been removed] |
|
Hi Janos. "MCUez" is an old "free" software developed by Hiware for Motorola (Hiware got acquired by Metrowerks/Motorola in July 2000) that you can use to develop/debug with the Motorola SDI BDM cable. The latest version of MCUez (2.04) provided flash programming and debugging for HC12 cores only: HC812A4(eeprom only), HC912B32, HC912D60, HC912DA/DG/128 http://e-www.motorola.com/collateral/MCUEZIDE.html New devices with new flash technology were produced after this latest release: HC912D60A, HC912DT128, HC912DT128A, HC912DG128A If you have one of these new devices, you can contact <> to get a "kit" to add "personality files" for flash programming. Some people in the 68HC12 mailing list already received some. MCUez vs. HCS12 core/devices: ============================= -Even if it seems like MCUez can talk in BDM (via SDI) with the HCS12 derivatives described on http://e-www.motorola.com/webapp/sps/site/taxonomy.jsp?nodeId=03M0ym4t3ZGM0z GQK100 , MCUez still use the HC12 family Break Module way to set hardware breakpoints in flash. This module has been redesigned on HCS12 core and therefore MCUez cannot debug in flash (except run/stop)! You still can set yourself the break module by hand (directly in Memory). Not friendly at all. Probably incompatibilities exist but this one is big enough! For HCS12 devices, you would have to purchase CodeWarrior MOT v1.2 for HC12. http://www.metrowerks.com/MW/Develop/CodeWarrior+for+Motorola+HC12+and+HCS12 .htm?cs_catalog=mwPages&parent=Embedded Academic edition for 149 USD: http://www.metrowerksstore.com/816bitac.html -Also neither MCUez nor CodeWarrior MOT v1.2 "D-Bug12" HTI are compatible with the "D-Bug12 v4.x.x" monitor available for MC9S12DP256. Regards, Gilles At 07:31 PM 8/13/2002, you wrote: >Hi All! > >I am currently in the process of swithching my Microcontroller >Interfacing class (ECE 451) >from an Intel microcontroller to the DP256. We have purchased target >boards from Technological >Arts and are trying to run some programs on the board. Unfortunatelly, >the MCUez version I >have downloaded from Motorola lacks of the DP256 specific files (it >supports up to the >DG128). Even though it looks like we can download the .abs files to the >correct memory locations >in the RAM, we couldn't get the start address into the PC, or modify any >target CPU register, >hence, couldn't run our programs. It is likely due to the lack of the >personality files. The DBUG12 >in the flash knows that it is running on a DP256. > >I have learned that the DP256 Personality Module for the MCUez does >exist. If any >of you have it please send it to me ASAP along with instructions what to >do with them to >update my MCUez. I have got about three weeks for evaluations, rewriting >the lab manual, >updating my lecture materials from A4 to DP256, etc. I would really >appreciate some quick help. >Thanks so much. > >Janos Grantner >************************************************* >Dr. Janos L. Grantner >Assoc. Professor >Department of Electrical and Computer Engineering >Western Michigan University >3058 Kohrman Hall >Kalamazoo, MI 49008-5329 >Email: >http://www.wmich.edu/ece/ >Ph.: (616) 387-4066 >Fax: (616) 387-4096, (616) 387-4024 >************************************************* > > >-------------------------------------------------------- >To unsubscribe from this group, send an email to: >To learn more about Motorola Microcontrollers, please visit >http://www.motorola.com/mcu |
|
I'm in the process of making the same conversion; also purchased the TechArts boards. They ship MCUez on the CD, but from what has been described here, it would appear not to work with the HCS core. P&E has BDM cable and a development environment and debugger that support the HCS12. We are in the process of getting them, so no first hand experience yet. For universities, P&E has very favorable terms. What about a C compiler ? I have seen posts recently about Imagecraft's and Metroworks - very mixed picture. Any experience, especially in the academic setting, with either one? I have heard there is a GNU compiler, but have no other data. Any advice would be appreciated. -- Robert Meyer Assoc. Professor, ECE Clarkson University Potsdam, NY 13676 --- In 68HC12@y..., Janos Grantner <Janos.Grantner@w...> wrote: > Hi All! > > I am currently in the process of swithching my Microcontroller > Interfacing class (ECE 451) > from an Intel microcontroller to the DP256. We have purchased target > boards from Technological > Arts and are trying to run some programs on the board. Unfortunatelly, > the MCUez version I > have downloaded from Motorola lacks of the DP256 specific files (it > supports up to the > DG128). Even though it looks like we can download the .abs files to the > correct memory locations > in the RAM, we couldn't get the start address into the PC, or modify any > target CPU register, > hence, couldn't run our programs. It is likely due to the lack of the > personality files. The DBUG12 > in the flash knows that it is running on a DP256. > > I have learned that the DP256 Personality Module for the MCUez does > exist. If any > of you have it please send it to me ASAP along with instructions what to > do with them to > update my MCUez. I have got about three weeks for evaluations, rewriting > the lab manual, > updating my lecture materials from A4 to DP256, etc. I would really > appreciate some quick help. > Thanks so much. > > Janos Grantner > ************************************************* > Dr. Janos L. Grantner > Assoc. Professor > Department of Electrical and Computer Engineering > Western Michigan University > 3058 Kohrman Hall > Kalamazoo, MI 49008-5329 > Email: grantner@w... > http://www.wmich.edu/ece/ > Ph.: (616) 387-4066 > Fax: (616) 387-4096, (616) 387-4024 > ************************************************* |
|
|
|
> -----Original Message----- > From: meyer_r_a [mailto:] > Sent: Thursday, September 12, 2002 7:19 AM > To: > Subject: [68HC12] Re: MCUez Personality Module for the DP256 (deletia...) > What about a C compiler ? I have seen posts recently about > Imagecraft's and Metroworks - very mixed picture. Any experience, > especially in the academic setting, with either one? I have heard > there is a GNU compiler, but have no other data. Any advice would be > appreciated. The GNU port, done by Stephane Carrez (sp?) of France, is quite good. He turned the project over to the GNU organization some time ago, and all of the links to his site appear to be broken; at least, I couldn't get anything useful out of them. I have a very long article due out this week or next in Nuts & Volts magazine describing all the details in installing 68hc11/12 GNU C on a Windows platform and setting up the various tools, such as the linker and makefiles. I believe that there is enough detail in the article that even those with no Unix experience can get the GNU suite up and running fairly quickly. I even cover such esoterica as interrupt handlers and vector setup. Perhaps some on this list would try instructions and give me feedback. :-) > -- Robert Meyer > Assoc. Professor, ECE > Clarkson University > Potsdam, NY 13676 Karl |
|
|
|
Why not looking at the Cosmic compiler ? You will get some info at www.cosmic-software.com Jean-Pierre Lavandier COSMIC Software > -----Message d'origine----- > De : meyer_r_a [mailto:] > Envoyé : jeudi 12 septembre 2002 16:19 > À : > Objet : [68HC12] Re: MCUez Personality Module for the DP256 > I'm in the process of making the same conversion; also purchased the > TechArts boards. They ship MCUez on the CD, but from what has been > described here, it would appear not to work with the HCS core. > > P&E has BDM cable and a development environment and debugger that > support the HCS12. We are in the process of getting them, so no > first hand experience yet. For universities, P&E has very favorable > terms. > > What about a C compiler ? I have seen posts recently about > Imagecraft's and Metroworks - very mixed picture. Any experience, > especially in the academic setting, with either one? I have heard > there is a GNU compiler, but have no other data. Any advice would be > appreciated. > > -- Robert Meyer > Assoc. Professor, ECE > Clarkson University > Potsdam, NY 13676 > --- In 68HC12@y..., Janos Grantner <Janos.Grantner@w...> wrote: > > Hi All! > > > > I am currently in the process of swithching my Microcontroller > > Interfacing class (ECE 451) > > from an Intel microcontroller to the DP256. We have purchased > target > > boards from Technological > > Arts and are trying to run some programs on the board. > Unfortunatelly, > > the MCUez version I > > have downloaded from Motorola lacks of the DP256 specific files (it > > supports up to the > > DG128). Even though it looks like we can download the .abs files to > the > > correct memory locations > > in the RAM, we couldn't get the start address into the PC, or > modify any > > target CPU register, > > hence, couldn't run our programs. It is likely due to the lack of > the > > personality files. The DBUG12 > > in the flash knows that it is running on a DP256. > > > > I have learned that the DP256 Personality Module for the MCUez does > > exist. If any > > of you have it please send it to me ASAP along with instructions > what to > > do with them to > > update my MCUez. I have got about three weeks for evaluations, > rewriting > > the lab manual, > > updating my lecture materials from A4 to DP256, etc. I would really > > appreciate some quick help. > > Thanks so much. > > > > Janos Grantner > > ************************************************* > > Dr. Janos L. Grantner > > Assoc. Professor > > Department of Electrical and Computer Engineering > > Western Michigan University > > 3058 Kohrman Hall > > Kalamazoo, MI 49008-5329 > > Email: grantner@w... > > http://www.wmich.edu/ece/ > > Ph.: (616) 387-4066 > > Fax: (616) 387-4096, (616) 387-4024 > > ************************************************* > ------------------------ Yahoo! Groups Sponsor > ---------------------~--> > Sell a Home with Ease! > http://us.click.yahoo.com/SrPZMC/kTmEAA/MVfIAA/dN_tlB/TM > -------------------------------------------------------------- > -------~-> > > -------------------------------------------------------- > To unsubscribe from this group, send an email to: > To learn more about Motorola Microcontrollers, please visit > http://www.motorola.com/mcu > |
|
You say hc11/hc12 --- the DP256 uses hcs12. My understading is that although "source compatible", the hcs12 cannot run code produced by a compiler for the hc11/12 (see http://e-www.motorola.com/brdata/PDFDB/docs/EB376.pdf read the discussion on page 7, on MOVB/MOVW instructions, with respect to PC relative addressing) --- R. Meyer --- In 68HC12@y..., Karl Lunt <karll@a...> wrote: > > The GNU port, done by Stephane Carrez (sp?) of France, is quite good. He > turned the project over to the GNU organization some time ago, and all of > the links to his site appear to be broken; at least, I couldn't get anything > useful out of them. > > I have a very long article due out this week or next in Nuts & Volts > magazine describing all the details in installing 68hc11/12 GNU C on a > Windows platform and setting up the various tools, such as the linker and > makefiles. I believe that there is enough detail in the article that even > those with no Unix experience can get the GNU suite up and running fairly > quickly. I even cover such esoterica as interrupt handlers and vector > setup. Perhaps some on this list would try instructions and give me > feedback. :-) > > Karl |
|
The only incompatibility between the HC12 & the HCS12 object code is the offsets produced by assemblers for the movb & movw instructions when using pc relative addressing (not really a very useful mode for these instructions since you're restricted to an offset of +15/-16). If the GNU implementation for the HC12 does not use this addressing mode for these two instructions there should not be any problems. I have been using a version of the Cosmic compiler for the last 3 years (don't want to upgrade because I don't want to completely regression test all my code) that doesn't have the 'fix' for the movb & movw instructions & have never run into a situation where the compiler used pc relative addressing for either of these instructions. Regards, Gordon meyer_r_a wrote: > You say hc11/hc12 --- the DP256 uses hcs12. My understading is that > although "source compatible", the hcs12 cannot run code produced by a > compiler for the hc11/12 (see > http://e-www.motorola.com/brdata/PDFDB/docs/EB376.pdf > read the discussion on page 7, on MOVB/MOVW instructions, with > respect to PC relative addressing) > --- R. Meyer > > --- In 68HC12@y..., Karl Lunt <karll@a...> wrote: > > > > The GNU port, done by Stephane Carrez (sp?) of France, is quite > good. He > > turned the project over to the GNU organization some time ago, and > all of > > the links to his site appear to be broken; at least, I couldn't get > anything > > useful out of them. > > > > I have a very long article due out this week or next in Nuts & Volts > > magazine describing all the details in installing 68hc11/12 GNU C > on a > > Windows platform and setting up the various tools, such as the > linker and > > makefiles. I believe that there is enough detail in the article > that even > > those with no Unix experience can get the GNU suite up and running > fairly > > quickly. I even cover such esoterica as interrupt handlers and > vector > > setup. Perhaps some on this list would try instructions and give me > > feedback. :-) > > > > Karl > -------------------------------------------------------- > To unsubscribe from this group, send an email to: > To learn more about Motorola Microcontrollers, please visit > http://www.motorola.com/mcu > -- =============================================================== Gordon Doughman Ph: 937-438-6811 Motorola Semiconductor Fax: 937-434-7457 Field Applications Engineer Pager: 800-759-8352 Pin: 1304089 Suite 175 3131 Newmark Drive Miamisburg, OH 45342 Check out my HC12 book at: http://www.annatechnology.com/annatech/bookBrowseByMicroF.asp |
|
At 02:19 PM 9/12/2002 +0000, Robert wrote: >...What about a C compiler ? I have seen posts recently about >Imagecraft's and Metroworks - very mixed picture. Any experience, >especially in the academic setting, with either one? I have heard >there is a GNU compiler, but have no other data. Any advice would be >appreciated. >... Perhaps this may help: Professor Valvano's book on real time programming using ICC11/ICC12: http://www.amazon.com/exec/obidos/ASIN/0534366422/imagecraft Professor Han Way Huang's book using ICC11. He has a new one out using ICC12: http://www.amazon.com/exec/obidos/ASIN/0766816001/imagecraft I am almost certain there is at least one other book using ICC12. UT Austin has been using ICC12 for years, and various DeVry Institutes has just order over 100+ licenses for ICC12. Best of all, d/l a fully functional 30 day demo of ICC12 and see for yourself. It is VERY easy to use. // richard http://www.imagecraft.com [ For technical support, please include all previous replies in your msgs. ] |
|
Karl Lunt <> wrote: > The GNU port, done by Stephane Carrez (sp?) of France, is quite good. He Some months ago, it was pretty bad in terms of code size and speed. I use Cosmic and it's code is _very_ compact ad fast. Oliver |