Memory Map for 812A4

Started by panikjahn in 68HC1213 years ago

Dear All, I'm new in the business of using a Freescale MC68HC812A4. To start I'm using a board from Elektronikladen, it's the...

Dear All, I'm new in the business of using a Freescale MC68HC812A4. To start I'm using a board from Elektronikladen, it's the HC12compact. The tool chain I'm using is from Metrowerks. And now the trouble starts ;-) I have to setup the memory map for the linker in


freegeeks April and Q2 competition

Started by Anonymous in 68HC1213 years ago

OK guys, a few bits of news: First Steve Melnikoff has won the HCS08 pro edition of CW in the April competition with some very...

OK guys, a few bits of news: First Steve Melnikoff has won the HCS08 pro edition of CW in the April competition with some very comprehensive feedback, much of which will be considered for future revisions by Metrowerks, I'm not sure if he hangs out in here. Second, I have two new competitions now running, an easy one for April and a more difficult one for Q2, the pri


debug in C code

Started by guavaphish4 in 68HC1214 years ago

In C code I am storing the values of the TCNT in to varibles time1 and time2. How can I check to see what value has been stored? I...

In C code I am storing the values of the TCNT in to varibles time1 and time2. How can I check to see what value has been stored? I am using Metrowerks codewarrior with the 9s12c32. Where in memory would these values most likely be stored thank you


Re: Bit Definitions of IO regs in GNU vs Metrowerks

Started by bitjockey1 in 68HC1214 years ago

Hello All! Thanks for the response to the bit banging question. I Looked in the ports_def.h file in the Gel package and found...

Hello All! Thanks for the response to the bit banging question. I Looked in the ports_def.h file in the Gel package and found use of the "1<<(x)". I believe the << creates a constant with only the (x) being set. What does the (byte) do in the following


ATD and WAIT

Started by amirkln in 68HC1213 years ago 2 replies

Hello all, I have some problems with the ATD. I'm programming on the Metrowerks IDE, and I'm trying to input an ATD input but something...

Hello all, I have some problems with the ATD. I'm programming on the Metrowerks IDE, and I'm trying to input an ATD input but something goes wrong... If someone can give me the typical configuration for the registers it would be great. Secondly, I would like to put the controller in a wait mode in order to consume less power, when it does nothing. H


Problem with comms beween board and PC

Started by pickleza in 68HC1213 years ago 2 replies

Hi all, I am having a couple of problems getting my BDM interface working. I am using Metrowerks codeWarrior (2, I...

Hi all, I am having a couple of problems getting my BDM interface working. I am using Metrowerks codeWarrior (2, I think) with a P&E BDM Multilink Programmer on a 68HC12SD64, but am having some problems with the connections. I get a BDM speed


Metrowerks CodeWarrior Help

Started by somnambulator in 68HC1215 years ago 2 replies

I'm trying to find information on how to use .prm files to dictate RAM and ROM allocation with the CodeWarrior software on an HC12....

I'm trying to find information on how to use .prm files to dictate RAM and ROM allocation with the CodeWarrior software on an HC12. Can anybody help me out with this? I'm a beginner so any information will most likely be helpful. My intention is to use as much RAM as possib


hex file

Started by Simi in 68HC1210 years ago 6 replies

i am working in Metrowerks\CodeWarrior CW12_V3.1. how to generate hex file in this one?if anyone have its details ,please share with...

i am working in Metrowerks\CodeWarrior CW12_V3.1. how to generate hex file in this one?if anyone have its details ,please share with me thanks juna _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Scanning of this message and addition of this footer is performed by E-mail Content Filter Software at ADA in conjunction with McAfee Virus detection software -...


Code Warrior Nubie

Started by Sarah Skinner in 68HC1215 years ago 3 replies

I've always used Image Craft C compiler for writing to my 68HCS12DP256 but now I have to swicth to Metrowerks Code Warrior and I'm...

I've always used Image Craft C compiler for writing to my 68HCS12DP256 but now I have to swicth to Metrowerks Code Warrior and I'm not sure what type of project I should create... I choose HC12 Stationary and then I am given choices of what microcontroller I have. I just want to program the RAM.


Re: Metrowerks Ver3.1 & DBug12 Flash Programming

Started by Jeff Smith in 68HC1211 years ago

Hellow from the dumps... I reply to this post from 2005 because it's quite related to what I'm going to say. I never really used CodeWarrior,...

Hellow from the dumps... I reply to this post from 2005 because it's quite related to what I'm going to say. I never really used CodeWarrior, but I'm going to try to use it to debug using D-Bug12. I talked to FSL and verified that 3.1 is the latest CodeWarrior release that supported debugging through the D-Bug12 serial interface. the J2MEJediMaster (Tom) on the Freescale Forum had claime...


68hc912 flashing problem with BDM

Started by venki in 68HC1212 years ago 2 replies

Hello all,+ I am trying to flash the code into 68HC912B32 micro but I am getting "The Module could not be erased" error in BDM prog12. ...

Hello all,+ I am trying to flash the code into 68HC912B32 micro but I am getting "The Module could not be erased" error in BDM prog12. I unprotected the device by using PR 0 option in prog12 but no use. Is anybody has experienced the same problem please let me know how you overcome this problem. One more try I have done with Metrowerks where I am seeing couple of errors in comman...


DP256 CAN Transmission

Started by venki in 68HC1213 years ago 1 reply

Hi, Am a newbie to CAN. Am trying to implement a CAN driver on MC9S12DP256 micro eval board using metrowerks codewarrior. I have 2...

Hi, Am a newbie to CAN. Am trying to implement a CAN driver on MC9S12DP256 micro eval board using metrowerks codewarrior. I have 2 problems 1. There are 5 CAN channels in DP256. How to select the required channel ?.(We are using CANE bit and MODRR registers, still not transmitting) 2. We observed that the "sync" bit in CAN1CT


Re: What address format for 9S12X?

Started by linktek in 68HC1210 years ago

It looks like Metrowerks lowered the price of their development tools it seems to be going for $1000-00....is that correct?? ----- Original...

It looks like Metrowerks lowered the price of their development tools it seems to be going for $1000-00....is that correct?? ----- Original Message ----- From: John Hartman (NoICE) To: 6...@yahoogroups.com Sent: Friday, May 30, 2008 5:12 PM Subject: Re: [68HC12] What address format for 9S12X? At 05:31 PM 5/30/08, you wrote: > The draft v3.0 of the m8-16eabi ABI does suppor


Problems configuring PAD0..15 as input

Started by silvozemljic in 68HC1214 years ago 2 replies

Hello. I'm using Adapt9S12E128 Microcontroller Module with MC9S12E128CPV chip. and Metrowerks Codewarrior development...

Hello. I'm using Adapt9S12E128 Microcontroller Module with MC9S12E128CPV chip. and Metrowerks Codewarrior development environment for HCS12 chips. Here is my problem... I would like to use PAD0..15 lines which are conected to onchip ATD module as inputs, so that


Re: Request for software interface spec forSofTecMicro USB-BDM

Started by Edward Karpicz in 68HC1213 years ago

"Jonathan Masters" wrote: >I would have to interject here and say that perhaps the grit in the > oyster here is the S12X. You can spend...

"Jonathan Masters" wrote: >I would have to interject here and say that perhaps the grit in the > oyster here is the S12X. You can spend $500 with Metrowerks and get a > 32K unlimited file compiler which I suspect would be adequate for a lot > of work. However if you step up to S12X, you have NO options with > compilers under say $2


S12X paged RAM

Started by Jean-Sebastien Bouchard in 68HC1212 years ago

Hi, I am using the Panta/Hiwave compiler. I need to use the PAGED RAM and my compiler does not offer this option. I have 120kbytes of...

Hi, I am using the Panta/Hiwave compiler. I need to use the PAGED RAM and my compiler does not offer this option. I have 120kbytes of ROM used so I cannot use Metrowerks Codewarrior 4.1 Special Edition. Anyone has an idea what I can do to compile my code to use all 32K of Paged RAM. thanks


HC12 s file generation

Started by Ming Jiang in 68HC1216 years ago 5 replies

Hello All, I burned a s2 file with metrowerks tool and tried to flash program it into the micro using P&E PROG12Z programmer. I...

Hello All, I burned a s2 file with metrowerks tool and tried to flash program it into the micro using P&E PROG12Z programmer. I realized that I need to use an app called SRecCvt from Motorola to convert my s2 file into a linear s file first. Could anybody please tell me the command line that I hav


About m68evb912c32 evaluation board

Started by cosming in 68HC1215 years ago 5 replies

Hello, I have an eval. board with 9s12c32 uP and i'm trying to write a simple test application for it. I use Codewarrior 3 from...

Hello, I have an eval. board with 9s12c32 uP and i'm trying to write a simple test application for it. I use Codewarrior 3 from Metrowerks. I have write a C application which works ok on simulator but when I'm trying to write the Srecord into the uP flash i have some errors. Wh


Re: Metrowerks IDE question

Started by rufuswatchdog in 68HC127 years ago

I am not in the habit of reawakening message threads from nearly 10 years ago, but this never got resolved, as far as I can see. I am...

I am not in the habit of reawakening message threads from nearly 10 years ago, but this never got resolved, as far as I can see. I am experiencing the same issues with CodeWarrior IDE V. 5.7.0(We can't move to the new IDE for the legacy code) and the Find in Files function does have a problem with scanning header files. Namely, it isn't scanning them. But I think sometimes with other proje...


Motorola linear vs paged S records

Started by Karoly Molnar in 68HC1215 years ago 2 replies

Hi All, I am implementing a boot loader for the HCS12 processor family. I use the linear memory layout that is mentioned in the...

Hi All, I am implementing a boot loader for the HCS12 processor family. I use the linear memory layout that is mentioned in the AN2153 App. Note. (This is the format that is used by P&E Micro's Flash programmer and Cosmic's compiler and it is now supported by Metrowerks as