Re: Metrowerks Ver3.1 & DBug12 Flash Programming

Started by Jeff Smith in 68HC1212 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 68HC1214 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 68HC1215 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 68HC1212 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 68HC1216 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 68HC1214 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 68HC1214 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 68HC1217 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


Re: Metrowerks IDE question

Started by rufuswatchdog in 68HC129 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 68HC1217 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


Tracing application on target

Started by K.N.Mahesh in 68HC1215 years ago 4 replies

Hi, I use Metrowerks Codewarrior v3.1 to develop and debug application for DJ128B over ICD-12 interface. The target...

Hi, I use Metrowerks Codewarrior v3.1 to develop and debug application for DJ128B over ICD-12 interface. The target connects to the host over P&E USB Multilink. I have a requirement to measure throughput of the application in normal run. In order to


Problem with PORT P, HC9S12E128

Started by ymliao in 68HC1215 years ago 2 replies

Hi! I am using an Adapt9s12e128 from Technological Arts without BDM. I am trying to use PORT Q as outputs to control LEDs....

Hi! I am using an Adapt9s12e128 from Technological Arts without BDM. I am trying to use PORT Q as outputs to control LEDs. PMF is disabled. However, I am having some problem with bit 6 of this port. If I set every bit in this port(Q6-Q0) to 1, with Metrowerks' r


listing file options

Started by Dave Sivertsen in 68HC1214 years ago 14 replies

When I have ported past Motorola projects, I have used asm12, and cleaned up post port by using a listing option which shows where symbols ...

When I have ported past Motorola projects, I have used asm12, and cleaned up post port by using a listing option which shows where symbols are defined and referenced (compile switch). Unused symbols (variables or labels) have no references listed. Now I am in Metrowerks with a ported, absolute assembly program, and although there are many switches, I can't fi


Re: Codewarrior programming EEPROM in S12DG128

Started by Jonathan Masters in 68HC1214 years ago 17 replies

Gilles, Cheers for your service. I had been critical overnight of the Metrowerks service pages, but as usual this forum has proved worth...

Gilles, Cheers for your service. I had been critical overnight of the Metrowerks service pages, but as usual this forum has proved worth its weight. The algorithm plugged in a ran nicely. My alternate solution from last post last night didn't work and I had resorted to copying the table with a runtime function into EEPROM when it detected the


HC12 Inline Assembler & CW V1.2

Started by bitjockey1 in 68HC1216 years ago 3 replies

Hello, Iam trying to port Gordon Doughmans' bootloader for the B32 into the Metrowerks compiler V1.2 so I can program an 912D60A...

Hello, Iam trying to port Gordon Doughmans' bootloader for the B32 into the Metrowerks compiler V1.2 so I can program an 912D60A from the serial port. If I use any of the directives in the program I get an Ignore Directive warning C12062. The help file for the compiler does


9s12ne64 or derivative, write to flash, help!

Started by ericshufro in 68HC1215 years ago 2 replies

I am using metrowerks and have reserver non banked flash from $4000- $4200, so no code lives there. I would like to erase the 512...

I am using metrowerks and have reserver non banked flash from $4000- $4200, so no code lives there. I would like to erase the 512 bytes there (i believe you have to erase 512b at a time), and then write data from a buffer into the region. I am having crashing problems


ETBL

Started by Bob White in 68HC1217 years ago 3 replies

I'm using Metrowerks CodeWarrior for HC12. The HC12 has a couple of cool new instructions for interpolation, TBL and ETBL. Is there...

I'm using Metrowerks CodeWarrior for HC12. The HC12 has a couple of cool new instructions for interpolation, TBL and ETBL. Is there some way that the compiler will use these instructions, or do I have to roll my own? I looked in the "manuals", to no avail. Thanks, Bob White


Start12.c source code problem

Started by Mike in 68HC1215 years ago 3 replies

Hi all, I've been working with the 9S12E128 MCU and have found an interesting problem when using metrowerks code warrior. ...

Hi all, I've been working with the 9S12E128 MCU and have found an interesting problem when using metrowerks code warrior. On my program execution, an illegal breakpoint would be performed and execution would stop. After investigating I found the following .


How do I get Code to Flash using TBDML?

Started by Stefan Stenzel in 68HC1215 years ago

Hello, Subject says it all, I have a prototype of my hardware with a 64-pin UF32, interfaced to a TBDML hardware, using metrowerks...

Hello, Subject says it all, I have a prototype of my hardware with a 64-pin UF32, interfaced to a TBDML hardware, using metrowerks tools, now I can't figure out how to get my code into flash. Of course I could RTFM, write a loader and a flash programmer, but I am somewhat in a hurry and I assume this is a problem that has been solved a thousand times befor


CAN trouble on MC9212DP256B board

Started by Ashwin in 68HC1214 years ago 14 replies

I am trying to communicate with another development board running at 40MHz. I want to light up the LED0 of PORT B if the code enters the receive...

I am trying to communicate with another development board running at 40MHz. I want to light up the LED0 of PORT B if the code enters the receive ISR to start with and would like to store and display the received data somehow on the motorola board. It is not happening. Any suggestions? This is the snippet of the ISR. I am compiling it using Metrowerks Code Warrior. #include /*