EmbeddedRelated.com
Forums

NOICE debugger / Axiom board / ICC12

Started by chil326 December 12, 2003
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
stopping for debugging.
I don't know much BDM so if anyone can give me instructions to make
NOICE debugger work, i'd appreciate it. ( Do i have to add
initialization instructions in my program?).
Thanks




>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
>stopping for debugging.
>I don't know much BDM so if anyone can give me instructions to make
>NOICE debugger work, i'd appreciate it. ( Do i have to add
>initialization instructions in my program?).

When using BDM to debug a single-chip application, NoICE does not require
any special initialization in your code. However, the hardware must be
configured so that the chip comes out of reset in Special Single Chip mode.

If your code will reside off-chip (say on an E128, but I think not possible
on a DP256), then startup commands are necessary to configure the chip
selects - otherwise NoICE can't download. This is described in the help files.

Is the code in RAM or in Flash? Do you have NoICE configured to burn Flash
and use the hardware breakpoints?

If you move the I/O registers by writing to INITRG, then NoICE won't know
where the hardware breakpoint registers are unless you tell it. If you are
doing this, please let me know and I can send you instructions.

Otherwise, if you can send me your project files, I can take a look at
them. I need at least the DBG and SX files, plus the C file that contains
"main". Best is if you can send me all the source files.

You should probably reply to , as the details are
probably not of general interest to this group.

Best regards, John Hartman

NoICE Debugging Tools
http://www.noicedebugger.com


You may want to send a copy of the code to Roger Forester at Axiom, or just
email him. The Axiom guru has a great knowledge of their products and the
software bugs associated with them. SCF
----- Original Message -----
From: chil326
To:
Sent: Friday, December 12, 2003 5:56 AM
Subject: [68HC12] NOICE debugger / Axiom board / ICC12 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
stopping for debugging.
I don't know much BDM so if anyone can give me instructions to make
NOICE debugger work, i'd appreciate it. ( Do i have to add
initialization instructions in my program?).
Thanks

--------------------