EmbeddedRelated.com

P&E Debugger + soft reset HCS12

Started by Scott in 68HC1220 years ago 2 replies

Hi, I am running into a problem where my software reset will work while running with my debugger but when it is removed the...

Hi, I am running into a problem where my software reset will work while running with my debugger but when it is removed the code locks up somwhere. Since I dont have a debugger attached when it locks up I cant tell what happens, and it works with the debugger running.


Query on Trace32 debugger

Started by nagalaxmi b.v. in 68HC1219 years ago 2 replies

Hello, I am working on MC9S12DJ64 microcontroller. I am using COSMIC compiler for compiling the source code and TRACE32 debugger.I...

Hello, I am working on MC9S12DJ64 microcontroller. I am using COSMIC compiler for compiling the source code and TRACE32 debugger.I loaded following Batchfile(.cmm file) to TRACE32 debugger, ;============================================================================== ; Initial Setups ;===============================================================


Help on Codewarrior debugger cmd files

Started by apedroso11 in 68HC1219 years ago 5 replies

Hi all, I want the codewarrior (CW) debugger to erase only a part of the flash when it starts. I can see in the...

Hi all, I want the codewarrior (CW) debugger to erase only a part of the flash when it starts. I can see in the "P&E_ICD_Erase_unsecure_hcs12.cmd" file that the debugger will make a MASS ERASE before programming the flash. I want to keep my bootloader programmed into the flash although any of my colleges use the debugger on our targets. I can't find documentation regardi


still searching for open source programmer/debugger hardware design...

Started by Jay Dagenais in 68HC1218 years ago 1 reply

Over the past coupld of years that I have been checking out the list each day I have asked about any freely available/open source hardware...

Over the past coupld of years that I have been checking out the list each day I have asked about any freely available/open source hardware programmer/debugger designs, and here it is again. There has been a couple of hits but nothing yetthat has jumped out at me. I would love to build something similar to the P&E parallel port debugger, nice and easy. I have taken apart a couple, one for PPC and ...


Codewarrior & Debugger problem (HCS12X) please help

Started by Nobs in 68HC1219 years ago 1 reply

Hi All, I am using HCS12XDP512 controller and I have 2 problems with codewarrior Hiwave debugger environment. I am using P&E USB Multilink...

Hi All, I am using HCS12XDP512 controller and I have 2 problems with codewarrior Hiwave debugger environment. I am using P&E USB Multilink debugger. 1. We have 2 .ABS files (bootloader.abs and application.abs). When loading bootloader.abs I want to erase the memory. How can I load both .abs files at a time? Is there any configuration options for this? 2. I am building in one ma


How to tell Code Warrior debugger NOT to erase EEPROM

Started by apedroso11 in 68HC1219 years ago 2 replies

Hi all, I want the CodeWarrior debugger to NOT erase the EEPROM everytime I download user code to my DP256 or everytime I want to use the...

Hi all, I want the CodeWarrior debugger to NOT erase the EEPROM everytime I download user code to my DP256 or everytime I want to use the BDM. I have tried to comment this debugger commands: //mass erase eeprom //wb 0x110 CLKDIV // set ECLKDV clock divider //wb 0x114 0xFF // EPROT all protection disabled //wb 0x115 0x30 // clear PVIOL and ACCERR in ESTAT register //ww 0x118 0...


NOICE debugger / Axiom board / ICC12

Started by chil326 in 68HC1221 years ago 2 replies

Hello, i use icc12 with CML9S-12DP256 board from Axiom ( MC9S12DP256 MCU). I want to debug with noice debugger but i can't step...

Hello, i use icc12 with CML9S-12DP256 board from Axiom ( MC9S12DP256 MCU). I want to debug with noice debugger but i can't step the source file with it. The program runs until main, and then, when i want to step with NOICE debugger, it doesn't work because the program runs without


HIWAVE/P&E Debugger

Started by Jonathan Masters in 68HC1219 years ago 10 replies

Does anyone else have a poor opinion of the HIWAVE/P& Debugger combination. I am having to work around a number of problems and it is ...

Does anyone else have a poor opinion of the HIWAVE/P& Debugger combination. I am having to work around a number of problems and it is beginning to impede my progress. Any suggestions as to how to eliminate would be appreciated: i) As I have posted before, the system goes off in its head for periods of about 20s. No amount of jiggling/reinstalling the


Metrowerks Hi-wave debugger

Started by alexanderhenne in 68HC1220 years ago 1 reply

Hello! Does someone know how to include an own hardware debugging tool into Metrowerks Hi-wave debugger? regards ...

Hello! Does someone know how to include an own hardware debugging tool into Metrowerks Hi-wave debugger? regards Alex


trouble in BDM debugger when PLL gets ON- HC12

Started by imtiyazfmn in 68HC1213 years ago 1 reply

Hello, I am using BDM debugger for my 9S12d64 device normally it works fine but when i am going to switch internal clock to PLL clock it gets...

Hello, I am using BDM debugger for my 9S12d64 device normally it works fine but when i am going to switch internal clock to PLL clock it gets halt and gets disconnected so please give your suggestions for this. Thanks, Imtiyaz ------------------------------------


MC9S12C32 wiith cosmic's zap debugger

Started by banmbino in 68HC1221 years ago 3 replies

Has any one used hcs12c32 with cosmic compiler in expended narrow mode?. I am trying to use HCS12C32 with comisc compiler,...

Has any one used hcs12c32 with cosmic compiler in expended narrow mode?. I am trying to use HCS12C32 with comisc compiler, they haven't added the support for C32 part. Is there a way to 'trick' the debugger to think it is not C32 but 9sDp256?, run the code from the e


memory map/debugger problem

Started by the_oog6789 in 68HC1220 years ago 5 replies

I'm writing an application that requires all of the ram to be verified. To do this I wrote some assembly to write 0x55 to every ...

I'm writing an application that requires all of the ram to be verified. To do this I wrote some assembly to write 0x55 to every byte, read it, write 0xAA to every byte, read again. My problem is that when I run my program in the debugger it complains that there is no memor


Stopping CodeWarrior erasing EEPROM

Started by Andrew Leech in 68HC1219 years ago 2 replies

Hi all, Does anyone know how you stop CodeWarrior (V3.1) from erasing the 4K EEPROM when it loads the application via the Debugger ? ...

Hi all, Does anyone know how you stop CodeWarrior (V3.1) from erasing the 4K EEPROM when it loads the application via the Debugger ? I have moved my EEPROM to live at &H4000 - &H4FFF , and I think I've told CodeWarrior about this in the .prm file, but the debugger always 'blanks' it. I've just updated CW with the latest updat


CodeWarrior 6.1 debugger | HC9S12E128 breakpoints don't work

Started by Tim Perry in 68HC1220 years ago 1 reply

Environment: Windows XP Metrowerks Code Warrior Dev Studio 3.1 Real-Time Debugger 6.1 uController: HC9S12E128 Language: C &...

Environment: Windows XP Metrowerks Code Warrior Dev Studio 3.1 Real-Time Debugger 6.1 uController: HC9S12E128 Language: C & C++ Problem: I get the message "Cannot set hardware breakpoint at address " on all lines of code.


Re: RE : To generate debug info file using Cosmic compiler

Started by venki in 68HC1219 years ago 5 replies

Hi, Please explain more on the following. 1.Where/How to set +debug option in COSMIC compiler IDE. 2.Is .lkf file same as "output of the...

Hi, Please explain more on the following. 1.Where/How to set +debug option in COSMIC compiler IDE. 2.Is .lkf file same as "output of the linker file"? 3.How to select input format for the debugger?and What are all the preffered i/p formats? We are using the TRACE32 debugger . Thanks in advance. venki. -----Original Message-----


COSMIC ZAP debugger connecting to M68KIT912DP25eva board

Started by jo_wan_soo in 68HC1220 years ago 2 replies

We have recently purchased Freescale M68KIT912DP256 ev board for applicatoin development. By the request of the customer, we were asked ...

We have recently purchased Freescale M68KIT912DP256 ev board for applicatoin development. By the request of the customer, we were asked to use COSMIC/ZAP cross compiling tools instead of Metrowerk's Codewarrior for sw development. We were able to compile and link COSMIC's sample project file , however, when opening ZAP debugger to download the built .h12 fil


Running code in Trace32 Simulator for 68HCS12

Started by nite...@wipro.com in 68HC1218 years ago 1 reply

Dear Group, It is multisite product development. The other team is using Trace32 debugger with the 68HCS12 target hardware and Cosmic...

Dear Group, It is multisite product development. The other team is using Trace32 debugger with the 68HCS12 target hardware and Cosmic compiler. At our site we are using Trace32 Simulator for 68HCS12 to execute our code. We do not have real target hardware and Trace32 debugger, but we are supposed to execute/debug the code on Trace32 Simulator. At the moment, we have a problem while ru...


Re: I/O commands using ICC12 and D-Bug12

Started by gottipatirk in 68HC1219 years ago 5 replies

Hi How do you specify the pointer address for the subroutines that are developed in C for I/O operations (like getchar, putchar,...

Hi How do you specify the pointer address for the subroutines that are developed in C for I/O operations (like getchar, putchar, prinntf) for a MC9S12DP256 microcontroller and developing C programs using ICC12 software and D-Bug12 debugger Thanks in Advance Rama


Stack Problem / Log2Phy.exe

Started by peter_lingier in 68HC1221 years ago 2 replies

Hi all, 1) I'm trying to get a MC9S12DG128B to work with the P&E Programmer and debugger. Compile and link goes with the GNU...

Hi all, 1) I'm trying to get a MC9S12DG128B to work with the P&E Programmer and debugger. Compile and link goes with the GNU compiler. I have program that can be programmed, but when I jump into a subroutine either by CALL, or JSR, no returnaddres is written in the


Trap on Unimplemented ISR

Started by Andy Sifferman in 68HC1221 years ago 11 replies

Hello everyone - I am using the MC9S12DG128B with the P&E BDM-Multilink, controlled by the Metrowerks True-Time debugger. I...

Hello everyone - I am using the MC9S12DG128B with the P&E BDM-Multilink, controlled by the Metrowerks True-Time debugger. I have been developing code for a few months now. Most of the time everything works fine. But every now and then (between severa