EmbeddedRelated.com

Re: : Programming the flash in EVB - HC912DG128

Started by Dr.D.C.Bandara in 68HC1221 years ago 1 reply

Dear All, I recently bought an EVB from Motorola containing HC912DG128 chip and the SDI debug tool. But I want to use the board...

Dear All, I recently bought an EVB from Motorola containing HC912DG128 chip and the SDI debug tool. But I want to use the board with the debugger 12. The manual says that the board is provided with flash unprogrammed. Can you tell me in detail how to put debug12 code in the EVB's fla


Re: Prices of COSMIC compiler in USA? Gnu's HC12 compi ler anyone using it?

Started by Kellogg Dave in 68HC1222 years ago 6 replies

My salesperson is Maxine Taymore []. I suspect you'll see something around $1800 for just the compiler. I recently purchased ...

My salesperson is Maxine Taymore []. I suspect you'll see something around $1800 for just the compiler. I recently purchased several seats of HC12 compiler + simulator + BDM debugger for about $2700 each. I have been a pleased Cosmic user for 10+ years. 607-656-2597


Problems programing flash on M68KIT912DP256 with BDM Multilink/Metrowerks

Started by djsimpson100 in 68HC1222 years ago 3 replies

Hi all, I am having problems programming the flash on the MC9S912DP256. I am using Codewarrior HC12 V1.2 and the P&E BDM...

Hi all, I am having problems programming the flash on the MC9S912DP256. I am using Codewarrior HC12 V1.2 and the P&E BDM Multilink which came with the Motorola M68KIT912DP256. If I load the Fibo Flash example, the debugger stalls at at the 60% mark in execu


68hc12 TOVF interrupt problems ICC12

Started by hendersonmarv in 68HC1215 years ago 4 replies

I'm trying to get the timer overflow interrupt working on the hc12dp256b but so far I haven't had any luck. The overflow interrupt is never...

I'm trying to get the timer overflow interrupt working on the hc12dp256b but so far I haven't had any luck. The overflow interrupt is never generated in my program(used a breakpiont in isr) and I can't find the logic error in my code. Here is my work environment: CHIP: hc12dp256 COMPILER: ICC12 DEBUGGER: NOICE Here's the code that doesn't work ---------------------------------...


P&E HC12 Unsecure

Started by Bob Kohan in 68HC1221 years ago 2 replies

Has anyone else seen this problem? I installed and used the P&E HC12 Unsecure Utility. Now the CodeWarrior Debugger complains that it...

Has anyone else seen this problem? I installed and used the P&E HC12 Unsecure Utility. Now the CodeWarrior Debugger complains that it can not connect via ICD12 because some needed P&E DLLs are missing? Does the P&E install remove or replace some CodeWarrior DLLs? Thanks,


HCS12 Loader/Debugger Linux

Started by "Jim...@googlemail.com [68HC12]" in 68HC128 years ago 12 replies

HELP!!! I have searched high and low, and to the darkest recesses of the internet and cannot for the life of me find a linux based loader for...

HELP!!! I have searched high and low, and to the darkest recesses of the internet and cannot for the life of me find a linux based loader for HCS12. I have been creating a linux based system to create, convert and load an assembly file into a HCS12 board, but I've come up with nothing for the loading part. I'm trying to load it through a BDM (P&E Multilink to be specific). If anyone...


Flash MC9S12E via Serial Monitor Problem

Started by ymliao in 68HC1218 years ago 6 replies

Hi, I have been trying struggling for a week to flash micro via serial monitor without success. I really appreciate if anyone could give me...

Hi, I have been trying struggling for a week to flash micro via serial monitor without success. I really appreciate if anyone could give me some pointers. I've tried to use ubug12, hc12mem and CodeWarrior's True-Time Simulator and Real-Time Debugger, without much luck. The micro is MC9S12E128. My board is not an eval board, and there is no run/load switch. My project is created a...


BDM sets secure mode?

Started by Daniel Lundin in 68HC1221 years ago 3 replies

My BDM and/or debugger sometimes sets the HCS12 in secure mode. I suspect that it has something to do with the target clock speed, ...

My BDM and/or debugger sometimes sets the HCS12 in secure mode. I suspect that it has something to do with the target clock speed, sence the problem has only (yet) occured when I have the HCS12 to run in self clock mode. This do not happen very often, perhaps once per 50 download


Minidragon C code limit /Codewarrior serialmonitor

Started by jeff...@bendnet.com in 68HC1213 years ago 6 replies

Hello, I am using a Minidragon plus2 with mixed C & assembly as shown in the book: "Learning C by example" & have seemingly run into the max C...

Hello, I am using a Minidragon plus2 with mixed C & assembly as shown in the book: "Learning C by example" & have seemingly run into the max C code limit. Using special edition version of Codewarrior with serial monitor My C code is growing & now now during flash programming at approx 14210 bytes size the Hiwave debugger indicates: Link Error : L1102: Out of allocation space in segment R...


Modulus Down Counter not working on 9S12A64CFU Mask 3L80R ??

Started by Guillermo Molina in 68HC1214 years ago 6 replies

Hi, I'm having trouble with a new production of an old product that I've been manufacturing for years. (thermal printer controller) I've...

Hi, I'm having trouble with a new production of an old product that I've been manufacturing for years. (thermal printer controller) I've traced down the problem to the Modulus Down Counter not working on 9S12A64s with mask 3L80R. In these 3L80R chips the Modulus Counter Registers are not accessible at all, i.e. writing any value with the BDM Debugger to register MCCTL always reads 0, ...


PEmicro USB HCS08 / HCS12 Multilink - help needed

Started by Benny in 68HC1216 years ago 11 replies

Hi all I am using the PEmicro USB HCS08 / HCS12 Multilink unit for programming / debugging. The unit is working good with simple projects,...

Hi all I am using the PEmicro USB HCS08 / HCS12 Multilink unit for programming / debugging. The unit is working good with simple projects, but when I am trying to run the CW debugger using this unit connected to the target board, and the project includes several active interrupts like: SCI + 2x PWM , the device lose synchronization and I can't debug Did anyone knows how to handle it...


Address mark wakeup messages not being recognized

Started by garyolmstead in 68HC1217 years ago 2 replies

I am using the 9S12A32 serial port and I want to use address mark wake up. I have set the SCI for 9 bits, one stop bit, no parity, interrupts...

I am using the 9S12A32 serial port and I want to use address mark wake up. I have set the SCI for 9 bits, one stop bit, no parity, interrupts on, transmitter and receiver on, address mark wakeup. I am manually setting (and later clearing) bit 8 in SCIDRH. Using the True Time Real Time Debugger, I can see characters coming into the receive buffer, but the interrupt is never triggered, ...


BDM12 kevin Ross pod support?

Started by thanosroger in 68HC1216 years ago 2 replies

Hi I purchased Kevin Ross BDM12 pod years ago and didn't use it for a while. Right now i try to use it but i can't find the DB12.exe file...

Hi I purchased Kevin Ross BDM12 pod years ago and didn't use it for a while. Right now i try to use it but i can't find the DB12.exe file (actually the serial communication / debugger program for the pod in DOS environment if i remember well). I visit kevin's web site but there is not a link for the program. I even email Kevin Ross but so far nothing. So please if anyone has that program,...


Flashing problem

Started by venki in 68HC1219 years ago 5 replies

Hello all, While flashing I am getting the error "Fash programming error around address 0x000000" we are using Lauterbach TRACE32...

Hello all, While flashing I am getting the error "Fash programming error around address 0x000000" we are using Lauterbach TRACE32 debugger.Linker file is using far text Segments(+seg .ftext). If I use text segments for another project absolutely there is no problem, but I can't use text segments for my project. Your help would be app


GetChar value in Accumulator B is not working with CMPB (compare function)

Started by veee...@yahoo.com in 68HC1210 years ago 6 replies

I want my program to check if the user input was a spacebar. My program uses the getchar function. The user input should be converted from the...

I want my program to check if the user input was a spacebar. My program uses the getchar function. The user input should be converted from the ascii character to a hex value and stored in accumulator B. The hex code for "spacebar" is "$20". I use CMPB #$20 after the getchar line, but the compare function is not working as I expected. In the debugger, I see that "20" is in accumulator B after th...