Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Code Executes with ICDB, but not without.

Code Executes with ICDB, but not without.

2003-11-25 by Jim Beagley

I have been using the Nohau debugger for my project. All the code does
is toggle a port. The code works fine while in debug mode, but when I
pull the DBGSEL line low, and reset the part there is no code
execution.

When I read the flash, it verifies with the code, and if I remove the
pullup and debug dongle while the debugger is "running", the code
continues to execute. However as soon as I reset the part, I loose
code execution.

Anyone seen this problem?

specs:
--------------
part: lpc2104
board: My own
Debugger: Nohau SeeHau
compiler: arm-elf-gcc.exe
--------------

Re: [lpc2100] Code Executes with ICDB, but not without.

2003-11-25 by Robert Adsett

At 09:06 PM 11/25/03 +0000, you wrote:
>I have been using the Nohau debugger for my project. All the code does
>is toggle a port. The code works fine while in debug mode, but when I
>pull the DBGSEL line low, and reset the part there is no code
>execution.
>
>When I read the flash, it verifies with the code, and if I remove the
>pullup and debug dongle while the debugger is "running", the code
>continues to execute. However as soon as I reset the part, I loose
>code execution.
>
>Anyone seen this problem?
A couple of sanity checks
         1 - You have checked that DBGSEL is indeed low?
         2 - Have you checked that P0.14 is high?  If not you may be in 
bootstrap mode.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Re: Code Executes with ICDB, but not without.

2003-11-26 by Jim Beagley

--- In lpc2100@yahoogroups.com, Robert Adsett <radsett@a...> wrote:
> At 09:06 PM 11/25/03 +0000, you wrote:
> >I have been using the Nohau debugger for my project. All the code does
> >is toggle a port. The code works fine while in debug mode, but when I
> >pull the DBGSEL line low, and reset the part there is no code
> >execution.
> >
> >When I read the flash, it verifies with the code, and if I remove the
> >pullup and debug dongle while the debugger is "running", the code
> >continues to execute. However as soon as I reset the part, I loose
> >code execution.
> >
> >Anyone seen this problem?
> A couple of sanity checks
>          1 - You have checked that DBGSEL is indeed low?
>          2 - Have you checked that P0.14 is high?  If not you may be in 
> bootstrap mode.
> 
> Robert
> 
> " 'Freedom' has no meaning of itself.  There are always restrictions,
> be they legal, genetic, or physical.  If you don't believe me, try to
> chew a radio signal. "
> 
>                          Kelvin Throop, III


Thank you.
  I missed the P0.14 altogether. I was reading the wrong Users manual.
  Pulled it high, and it solved the problem.

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.