CodeWarrior Startup Initialization with BDM

Started by eric_cina in 68HC1213 years ago 10 replies

Hi, I'm trying to figure out how to initialize a register (MODE located at 0x0B) when I load my code through the debugger. In other...

Hi, I'm trying to figure out how to initialize a register (MODE located at 0x0B) when I load my code through the debugger. In other words I need to set this register but I do not want to change my code to do it. How can I do this? Do I need to use startup.cmd? If so, what are the commands to do it? Thanks in advance. Eric


writting to flash

Started by the_oog6789 in 68HC1213 years ago 1 reply

Hi all, I'm working on a HCS12 trying to store data in the onboard flash. I've written a function in C to erase a sector of flash which...

Hi all, I'm working on a HCS12 trying to store data in the onboard flash. I've written a function in C to erase a sector of flash which i can step through but crashes when executed normally. The debugger gives a message 'illegal_bp' when it stops running at the end of the function. Just wondering if anybody has any suggestions on what the proble


Hi-wave/True-time debugger for HCS12X

Started by joshcurtz in 68HC1213 years ago 3 replies

Gilles/anyone who can answer, I've been using CodeWarrior for the HCS12X v 4.1 for about 6 months or so and I've occasionally had...

Gilles/anyone who can answer, I've been using CodeWarrior for the HCS12X v 4.1 for about 6 months or so and I've occasionally had questions that it seems the documentation couldn't address. Maybe it's just that I don't know where to look for the documentation but the Metrowerks website seems to be lacking documentation for the HCS12X products. Anyways, sin


Ok in BDM, mess up in stand alone (?)

Started by Laurent Fusilier in 68HC1215 years ago 1 reply

Hi there! I haven't been on this list for long, so please pardon me if I ask something weird... and it looks like this... I...

Hi there! I haven't been on this list for long, so please pardon me if I ask something weird... and it looks like this... I have been experimenting a good many things to give courses and so on on the HC912D60A with a Cosmic compiler and a iSystem BDM pod/debugger. All in single chi


I am having difficulty with bootloader section

Started by robertodellelliott in 68HC1214 years ago 1 reply

I am trying to load a new bootloader (via the BDM) into the 68hc12 and am having problems understanding what is going on. I am...

I am trying to load a new bootloader (via the BDM) into the 68hc12 and am having problems understanding what is going on. I am using metrowerks. I first unsecure the flash area. I then download the boot loader. When I run the debugger and try and follow the source code ver


Illegal Breakpoint

Started by Ming Jiang in 68HC1216 years ago 1 reply

Hello all, I am having a problem with my MC9S12DP256 eval board. Hopefully somebody can help me out. I set my target in ICD-12...

Hello all, I am having a problem with my MC9S12DP256 eval board. Hopefully somebody can help me out. I set my target in ICD-12 debugger mode. Most times I ran my code by hitting F5 (Start/Continue), suddenly it would stop on its own. and I saw the bottom message changed from RUNNING to ILLEGAL_BP. I


Mass Erase

Started by chanojmarian in 68HC1215 years ago

Hi, I have done a mass erase for the D64 controller when doing work on the flash driver. So this will basically put the MP in...

Hi, I have done a mass erase for the D64 controller when doing work on the flash driver. So this will basically put the MP in the secured state, since the corresponding register bits get set to one. I have been trying to connect my BDM debugger to the target now which


Not able to update variable:cosmic

Started by sneha bharadwaj in 68HC1212 years ago 5 replies

Hi, I have a project. Previously it was used to be compiled by using Introl compiler. We are moving now to COSMIC 4.6i compiler. We use the...

Hi, I have a project. Previously it was used to be compiled by using Introl compiler. We are moving now to COSMIC 4.6i compiler. We use the Trace32 debugger. The target is MC68HC912B32 I have a array declared globally as unsigned int DportAccessExecListTask[7]; I am initializing it in my main loop to zero and then subsequently to different function addresses. But, the values are not...


Programming 68HC912D60

Started by Mohamed Belaroussi in 68HC1216 years ago

At present I am programming the 68HC912D60 using a noral debugger pod through BKGD. Is there a different way of programming the...

At present I am programming the 68HC912D60 using a noral debugger pod through BKGD. Is there a different way of programming the part? Kind Regards m. belaroussi


help on MCUeZ

Started by vvekov1955 in 68HC1214 years ago 3 replies

Please, some advice about installing MCUeZ debugger on Windows XP Professional. Till now I have been working without any problem...

Please, some advice about installing MCUeZ debugger on Windows XP Professional. Till now I have been working without any problem on Windows 98. I tried to install the same software /original CD from the vendor/ but the programe constantly hang - 'Not responding' status reported


Inlining functions with CodeWarrior

Started by galenpatrickogrady in 68HC1213 years ago 1 reply

I'm trying to implement some functions as inline with CodeWarrior 2.0. I've tried the #pragma INLINE method with the -Oi compiler flag was ...

I'm trying to implement some functions as inline with CodeWarrior 2.0. I've tried the #pragma INLINE method with the -Oi compiler flag was well as the inlne keyword and compiled as C++. In all circumstances the code is not placed inline, there is still the original function call. I have verified this with the debugger. I'm quite sure that I have met


Lock out

Started by theobee00 in 68HC1215 years ago 4 replies

Hi All I got a bit of a strange one. Got a T board hooked via POD12 to a NoIce debugger. After modifying the Serial...

Hi All I got a bit of a strange one. Got a T board hooked via POD12 to a NoIce debugger. After modifying the Serial monitor for operation on the DP256B (only took a week:-)loaded the S19 file from the Motorola assembler (using MCUez shell) via the NoIce Load command.


problem with bootloader run

Started by chen_xuesong in 68HC1215 years ago

I downloaded the Bootloader code from motorola's website, and tried to program it into my evaluation board M68KIT912DP256 using ...

I downloaded the Bootloader code from motorola's website, and tried to program it into my evaluation board M68KIT912DP256 using CodeWarrior's debugger via BDM-Multilink. It does not work(nothing shows on hyperterminal). But I can programme other example codes and run it. I


Re: flash error

Started by sind...@... in 68HC1213 years ago

hi koby, Could you solve your problem of debugger stopping aftrer write? If so please tell me how to do it as i too face the same...

hi koby, Could you solve your problem of debugger stopping aftrer write? If so please tell me how to do it as i too face the same problem. Please send your answer to my mail ID sindhoor_hegde@sind... > > > > hi! >i use the E128 and codewarrior 3.1 .i am trying to write data for the >flash and i can do it only if i use breakpoint after the write(3 >steps da


BDM not detecting

Started by nrmlguru in 68HC1213 years ago 2 replies

Helo, Guys its been the problems week for me. Now I am facing a hardware problem. BDM is not detecting. I am using...

Helo, Guys its been the problems week for me. Now I am facing a hardware problem. BDM is not detecting. I am using NoICE debugger and when i open it gives an error message "COMPOD12 connot enter background mode". I have checked all the power related things. it looks OK. Please help me in this rega


Simulator/Debugger HCS12 Code warrior

Started by Rajasree A.N in 68HC1214 years ago 2 replies

Clear DayPlease guide me through some documentations for usng the components in code warrior simulator. Thanks, Rajasree ...

Clear DayPlease guide me through some documentations for usng the components in code warrior simulator. Thanks, Rajasree


debugger settings

Started by klwoon1980 in 68HC1212 years ago 4 replies

Hi, I'm using codewarrior 3.1 and p&e usb multilink. everytime when i debug, i set both the memory & data window to periodical update rate of...

Hi, I'm using codewarrior 3.1 and p&e usb multilink. everytime when i debug, i set both the memory & data window to periodical update rate of 1ms. but after restart this changes revert to automatic and i have to do the settings again. could anybody teach me how to make this settings 'permanent'? thank you!


Flashing program

Started by Anonymous in 68HC1214 years ago 2 replies

Hello ! I'm discovering Motorola 9S12DP256 - ICC12 C Compiler, - NoIce debugger, - P&e Multilink BDM. For the moment,...

Hello ! I'm discovering Motorola 9S12DP256 - ICC12 C Compiler, - NoIce debugger, - P&e Multilink BDM. For the moment, I developed sample programs in RAM area, moved in address 0xD000. In a next step, I'll buy full professionnal version, whic


Failing 9S12DP256's

Started by Todd Morton in 68HC1214 years ago 6 replies

Here is an interesting problem: I have a student's program that causes the BDM to fail...or at least not communicate. After...

Here is an interesting problem: I have a student's program that causes the BDM to fail...or at least not communicate. After his program crashes (it works for awhile) I can no longer communicate to the BDM through the Noral debugger or a D-Bug12 pod. The only thin


Help with I2C hardware on the HC12

Started by thamiral in 68HC1214 years ago

Hello all, I am trying to interface my HC12 with an I2C EEPROM and I am having trouble performing a write to the EEPROM (Model...

Hello all, I am trying to interface my HC12 with an I2C EEPROM and I am having trouble performing a write to the EEPROM (Model No. M24C02) The worst part is that the in circuit debugger that I am using (ICD12Z from P&E) seems to be doing something really weird whe