Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] How to use Semihosting in Keil IDE with CoLinkEx to print data in debug window???

Status
Not open for further replies.

xpress_embedo

Advanced Member level 4
Joined
Jul 5, 2011
Messages
1,154
Helped
161
Reputation
396
Reaction score
189
Trophy points
1,353
Location
India
Activity points
10,591
Hello!! I am using Keil uVision IDE, and wants to display data while debugging in debug(printf) window, but not able to do so.
I am using NXP LPC1343 Micro-Controller based development board and colinkex an open source debugger by CooCox, but i am not able to use it to display data on debug printf window.
Can one help me in this.

Debugger is working fine with Keil uVision IDE, the only thing i am not able to work is semihosting.

I had tested semihosting in CoIDE using colinkex and it works, watch this video
https://www.youtube.com/watch?v=wiIcF-i1Hd8&list=UUNNLL5gqyn0_8OEAKS8zzuQ
 

I got some reply on this topic in CooCox Forum, someone on that forum told me to, change the startup file as per the file given in example folder.

But doing so results in an error.

CooCox Forum Post is here.
http://www.coocox.org/forum/topic.php?id=4548&replies=10#post-13762

i am getting this error.


Code ActionScript - [expand]
1
2
3
4
5
6
7
8
9
10
Rebuild target 'Target 1'
assembling startup_LPC13xx.s...
compiling SH_retarget.c...
compiling system_LPC13xx.c...
linking...
.\Test.axf: Error: L6218E: Undefined symbol main (referred from rtentry2.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 1 error messages.
".\Test.axf" - 1 Error(s), 0 Warning(s).
Target not created



My Keil uVision Code is here.
View attachment xpress.zip

Please help me.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top