Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | LPC2000 | LPC2368 Ethernet not working without JLink Debugger attached

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

LPC2368 Ethernet not working without JLink Debugger attached - blipsnart - Nov 16 6:24:48 2009

Just saw a similar thread come through & am having a similar strange problem. Working w/ uIP - load program using IAR 5.03 & Jlink. Program works, arp reply, ping, webserver, etc.. Stop debugging, pull Jlink connector - everything still works.

Power off, then power on - program stops working, & arp -a now shows 00-00-00-00-00-00/invalid for the IP address of the chip instead of a working MAC address - no ARP reply from chip, thus no ping, no webserver.

Can't figure out what the JLink is providing that disappears during a hard reset when it is not present. Does pulling the JLink cause a soft reset? If so, it's not clear to me what a "soft reset" in this system is.

This is urgent, so if anyone had any info it would be greatly appreciated.

Best, Tom

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

______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: LPC2368 Ethernet not working without JLink Debugger attached - adrianbica - Nov 16 13:09:34 2009

You need to be more specific. Isn't the whole program working at all or just the Ethernet?

Are you sure that your debug code with JLink is executed from flash? The default debug configuration from IAR is running from RAM (it copies code to RAM and jumps there) and this would not work without JLink.

--- In l...@yahoogroups.com, "blipsnart" wrote:
>
> Just saw a similar thread come through & am having a similar strange problem. Working w/ uIP - load program using IAR 5.03 & Jlink. Program works, arp reply, ping, webserver, etc.. Stop debugging, pull Jlink connector - everything still works.
>
> Power off, then power on - program stops working, & arp -a now shows 00-00-00-00-00-00/invalid for the IP address of the chip instead of a working MAC address - no ARP reply from chip, thus no ping, no webserver.
>
> Can't figure out what the JLink is providing that disappears during a hard reset when it is not present. Does pulling the JLink cause a soft reset? If so, it's not clear to me what a "soft reset" in this system is.
>
> This is urgent, so if anyone had any info it would be greatly appreciated.
>
> Best, Tom
>

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



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

RE: Re: LPC2368 Ethernet not working without JLink Debugger attached - Daniel Widyanto - Nov 16 20:19:12 2009


Hi,

Take a look at JTAG's macro command:
-> Project -> Options -> Debugger -> If "User macro file(s)" ticked, see what's inside the macro file. That's what the JTAG do before / after downloading the code into flash / RAM.

Regards,
-daniel

From: l...@yahoogroups.com [mailto:l...@yahoogroups.com] On Behalf Of adrianbica
Sent: Tuesday, November 17, 2009 2:09 AM
To: l...@yahoogroups.com
Subject: [lpc2000] Re: LPC2368 Ethernet not working without JLink Debugger attached

You need to be more specific. Isn't the whole program working at all or just the Ethernet?

Are you sure that your debug code with JLink is executed from flash? The default debug configuration from IAR is running from RAM (it copies code to RAM and jumps there) and this would not work without JLink.

--- In l...@yahoogroups.com, "blipsnart" wrote:
>
> Just saw a similar thread come through & am having a similar strange problem. Working w/ uIP - load program using IAR 5.03 & Jlink. Program works, arp reply, ping, webserver, etc.. Stop debugging, pull Jlink connector - everything still works.
>
> Power off, then power on - program stops working, & arp -a now shows 00-00-00-00-00-00/invalid for the IP address of the chip instead of a working MAC address - no ARP reply from chip, thus no ping, no webserver.
>
> Can't figure out what the JLink is providing that disappears during a hard reset when it is not present. Does pulling the JLink cause a soft reset? If so, it's not clear to me what a "soft reset" in this system is.
>
> This is urgent, so if anyone had any info it would be greatly appreciated.
>
> Best, Tom



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: LPC2368 Ethernet not working without JLink Debugger attached - bobtransformer - Nov 16 20:47:28 2009



--- In l...@yahoogroups.com, Daniel Widyanto wrote:
> Hi,
>
> Take a look at JTAG's macro command:
> -> Project -> Options -> Debugger -> If "User macro file(s)" ticked, see what's inside the macro file. That's what the JTAG do before / after downloading the code into flash / RAM.
>
> Regards,
> -daniel
>
> From: l...@yahoogroups.com [mailto:l...@yahoogroups.com] On Behalf Of adrianbica
> Sent: Tuesday, November 17, 2009 2:09 AM
> To: l...@yahoogroups.com
> Subject: [lpc2000] Re: LPC2368 Ethernet not working without JLink Debugger attached

Sounds sorta like the problems I've been happening...
(Re: LPC2366 won't run without JTAG being connected (Fixed !)
You're probably getting an exception, like a Data Abort or Prefetch or something like that. I found that having the JTAG connected will sometimes mask the real problem for some reason.

Are you using any data or code LOCATION at specific addresses ????
If so, Make sure they are pointing to the right place ! That was my problem anyway.

boB

>
> You need to be more specific. Isn't the whole program working at all or just the Ethernet?
>
> Are you sure that your debug code with JLink is executed from flash? The default debug configuration from IAR is running from RAM (it copies code to RAM and jumps there) and this would not work without JLink.
>
> --- In l...@yahoogroups.com, "blipsnart" wrote:
> >
> > Just saw a similar thread come through & am having a similar strange problem. Working w/ uIP - load program using IAR 5.03 & Jlink. Program works, arp reply, ping, webserver, etc.. Stop debugging, pull Jlink connector - everything still works.
> >
> > Power off, then power on - program stops working, & arp -a now shows 00-00-00-00-00-00/invalid for the IP address of the chip instead of a working MAC address - no ARP reply from chip, thus no ping, no webserver.
> >
> > Can't figure out what the JLink is providing that disappears during a hard reset when it is not present. Does pulling the JLink cause a soft reset? If so, it's not clear to me what a "soft reset" in this system is.
> >
> > This is urgent, so if anyone had any info it would be greatly appreciated.
> >
> > Best, Tom
>

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

______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )