Red probe emulator doesn't work with LPCxpresso/eclipse

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Red probe emulator doesn't work with LPCxpresso/eclipse

469 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by PeterK on Sun Jan 29 12:06:33 MST 2012
Hello community,
got a problem with the Red Probe+ Emulator and the LPCxpresso environment. First goal was to make a simple blinky project just run. So I decided to unzip NXP 1343 example project and tried to run/debug it. Connected hardware is an code_red Red Probe emulator and an Olimex P1343 evaluation board, so nothin special.
After pressing onto 'debug' Eclipse compiles project successfully and loads data onto target. During this process SWD LED lits up. Then in DEBUG window it says: Thread 1 is running, but NO jump on first executable line in main()
If I break using the Pause button an empty source window opens and in debug section you can see following information:
Thread [1] (Suspended: Signal 'SIGINT' received. Description Interrupt)
<symbol is not available> 0x1fff2492
Within the empty window there is written (No source available for "")
So, there is no jump onto main()
When I try to singlestep it an error occures with a popup:
"Target request failed: Cannot find bounds of current function"

Also if I apply to another Source Code in this case an automatic generated using the wizard, same thing happens as described, so apparently it's not a source code prob.

I went thru different settings @debug config or build option but I couldn't fix it.
:confused:
Does somebody know what could be wrong at this point?
Thanks in advance, Peter
0 Kudos
7 Replies

422 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Aug 12 09:51:04 MST 2012
Read: http://www.support.code-red-tech.com/CodeRedWiki/CodeRedFAQ

Watch: http://www.youtube.com/watch?v=E6vSPloei-0
0 Kudos

422 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mariappan on Sun Aug 12 09:29:50 MST 2012
Guy
  I am new to develop LPC1769 based h/w development. Pls any one can share how to download my developed code into LPC1769 as I am in starting stage.

Thanks in advance

Mariappan S - Aquamw
0 Kudos

422 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by PeterK on Sun Jan 29 13:00:07 MST 2012
IT SOLVED THE PROBLEM.

well, mostly small things solve problems. :)
removed the BLD_E jumper - reset whole HW environment, run debug and:

It worked. Program Cursor/Vector jumps on first line in main() and singlestep works as well.

Thank you very much!
Regards, Peter
;)
0 Kudos

422 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Jan 29 12:54:52 MST 2012
It's the 'BLD_E' jumper :)

See:

http://gadgetengineering.wordpress.com/2011/03/14/getting-started-with-the-lpc-p1343/
0 Kudos

422 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by PeterK on Sun Jan 29 12:50:56 MST 2012
Thanks for your immediate reply,
well it indeed must be somethin wrong during booting process,
I use the following Eval Board:
http://www.olimex.com/dev/pdf/ARM/LPC/LPC-P1343-schematic.pdf
I actually didn't see any ISP pin.
Where can I check the vector checksum within eclipse?
0 Kudos

422 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Jan 29 12:45:10 MST 2012
Isn't there a jumper at PIO0_1 to connect an additional pull-down resistor :eek:

Is it open?
0 Kudos

422 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Sun Jan 29 12:19:34 MST 2012
That location looks like somewhere in the boot rom. So, I would guess that something is stopping the boot rom jumping into your reset handler. Things to look at:
- make sure you haven't got ISP pin active. Could be through ISP button on the board, or with serial port on the board
- make sure the image vector checksum is being set correctly set. IIRC code red automatically calculate and set it during download - but worth checking.
0 Kudos