How to Debug the IPL

How can we debug step by step the IPL.
If i create an IPL for my custom board & put it onto target . Is it possible
for me to debug how the IPL goes step by step From the Momentics IDE .

“vasdev” <vasdev_vs@hotmail.com> wrote in message
news:ahtui6$5bf$1@inn.qnx.com

How can we debug step by step the IPL.
If i create an IPL for my custom board & put it onto target . Is it
possible
for me to debug how the IPL goes step by step From the Momentics IDE .

No it’s not. The IDE assumes a minimal setting; tcpip for example. To get
tcpip you need the OS running, but in the IPL the OS isn’t running yet.

Hi Mario,
Then is there any way to find out how IPL works,(any other debugger etc…
Pl let me know the refernce or link …
“Mario Charest” postmaster@127.0.0.1 wrote in message
news:ahuu9n$pdc$1@inn.qnx.com

“vasdev” <> vasdev_vs@hotmail.com> > wrote in message
news:ahtui6$5bf$> 1@inn.qnx.com> …
How can we debug step by step the IPL.
If i create an IPL for my custom board & put it onto target . Is it
possible
for me to debug how the IPL goes step by step From the Momentics IDE .

No it’s not. The IDE assumes a minimal setting; tcpip for example. To
get
tcpip you need the OS running, but in the IPL the OS isn’t running yet.

\

What is the nature of what you think isn’t happening?

One option is to sprinkle a liberal amount of display_msg lines in the boot
up (kind of like printf()s in a C program). That way you’ll see how far the
boot process is getting.

“vasdev” <vasdev_vs@hotmail.com> wrote in message
news:ai2r7q$i0p$1@inn.qnx.com

Hi Mario,
Then is there any way to find out how IPL works,(any other debugger etc…
Pl let me know the refernce or link …
“Mario Charest” postmaster@127.0.0.1 wrote in message
news:ahuu9n$pdc$> 1@inn.qnx.com> …

“vasdev” <> vasdev_vs@hotmail.com> > wrote in message
news:ahtui6$5bf$> 1@inn.qnx.com> …
How can we debug step by step the IPL.
If i create an IPL for my custom board & put it onto target . Is it
possible
for me to debug how the IPL goes step by step From the Momentics IDE .

No it’s not. The IDE assumes a minimal setting; tcpip for example. To
get
tcpip you need the OS running, but in the IPL the OS isn’t running yet.



\

“Bill Caroselli (Q-TPS)” <QTPS@EarthLink.net> wrote in message
news:ai3vel$ejb$1@inn.qnx.com

What is the nature of what you think isn’t happening?

One option is to sprinkle a liberal amount of display_msg lines in the
boot
up (kind of like printf()s in a C program). That way you’ll see how far
the
boot process is getting.

No it’s not - display_msg is only available after the OS has bootstrapped
(long after IPL and startup code). At the IPL level, you need either an
emulator, BDM, or a rom monitor with exeception trapping enabled, so you can
step through the assembly and use breakpoints. Or you could just put in
instructions into your code which output certain bytes via the serial port
(or whatever works on your board - led light etc) at certain parts to verify
your code.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

I get it. Sorry.

Obviously I’ve never had to debug an IPL but have done some startup script
debugging.

“Adam Mallory” <amalloryNOSPAM@NOSPAMqnx.com> wrote in message
news:ai45fc$j8k$1@nntp.qnx.com

“Bill Caroselli (Q-TPS)” <> QTPS@EarthLink.net> > wrote in message
news:ai3vel$ejb$> 1@inn.qnx.com> …
What is the nature of what you think isn’t happening?

One option is to sprinkle a liberal amount of display_msg lines in the
boot
up (kind of like printf()s in a C program). That way you’ll see how far
the
boot process is getting.

No it’s not - display_msg is only available after the OS has bootstrapped
(long after IPL and startup code). At the IPL level, you need either an
emulator, BDM, or a rom monitor with exeception trapping enabled, so you
can
step through the assembly and use breakpoints. Or you could just put in
instructions into your code which output certain bytes via the serial port
(or whatever works on your board - led light etc) at certain parts to
verify
your code.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ > amallory@qnx.com > ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net