tag:blogger.com,1999:blog-319977725441392717.post5371660572787960161..comments2024-02-11T04:20:28.299-08:00Comments on Sagar's blog: Hello World from LPC1768Sagarhttp://www.blogger.com/profile/03543279903823145650noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-319977725441392717.post-46191889349310256862022-03-28T04:21:29.780-07:002022-03-28T04:21:29.780-07:00Thanks and keep sharing such valuable updates thro...Thanks and keep sharing such valuable updates through your side.<br /><a href="https://www.icoupon365.com/u/JTAG" rel="nofollow">JTAG</a>Md Nehalhttps://www.blogger.com/profile/03030936115528873824noreply@blogger.comtag:blogger.com,1999:blog-319977725441392717.post-59281799037202566842011-04-09T20:04:03.496-07:002011-04-09T20:04:03.496-07:00Sorry about the late reply. Your comment was erron...Sorry about the late reply. Your comment was erroneously detected as spam.<br /><br />I'd used the good old parallel port with H-JTAG. Maybe openOCD USB JTAG dongle isn't compatible with H-JTAG out of the box. <br /><br />Here is a step by step tutorial on how to use H-JTAG.<br />http://msys-mv.blogspot.com/2010/10/software-tools-required-to-work-with.html<br /><br />g++ IDE can probably debug lpc1768 but g++ Lite is just a compiler and not an IDE. So you'll need an external debugger like openOCD.<br /><br />Create a C/C++ makefile project. Yeah, empty as you put it and import all the files from the codebase. ( Import file system )<br />http://cortex-m3-tutorials.googlecode.com/files/lpc_17xx_CPP_11Mar2011.rarSagarhttps://www.blogger.com/profile/15831013932411819192noreply@blogger.comtag:blogger.com,1999:blog-319977725441392717.post-43149140372586054752011-04-01T04:49:19.062-07:002011-04-01T04:49:19.062-07:00Thanks for answering.
The other 2 links were very ...Thanks for answering.<br />The other 2 links were very useful for me.<br />I got a LPC1768H (blueboard) and a openOCD-USB dongle. I did not know what to install or hot to set them up.<br />I could flash my hello world, But it is amazing how difficult is to set all together!!! (windows)<br /> <br />What I did was:<br />- connect the dongle and the blueboard to the dongle.<br />- get the drivers for that (2 usbtoRS232 drivers very very difficult to get)<br />- Install codesourcery G++ lite. Add ARM software (add new software option in help menu).<br />-create a new C project, add the Startup code for ARM.<br />-download and run openocd for windows. (dificult to find, difficult to run). I ran it like this: openocd -f /interface/openocd-usb.cfg -f /target/lpc1768.cfg <br />-telnet to localhost:4444, then run the flash commands to run the .hex and .bin that I got building my project in G++.<br /><br />"With CodeSourcery g++ Lite as the compiler, Eclipse as the editor and H-JTAG as the debugger, it was a piece of cake to get code onto the chip. The debugger instantly recognized the chip and within a minute, I had my code on the chip with the LED now blinking. And viola ! Hello World project successful."<br /><br />Wow. I would like you to explain all these steps. It is not peace of cake for me.<br /><br />What I am now desperately searching on the internet:<br /><br />- H-JTAG does not recognise my lpc1768. No idea why.<br />- Can G++ lite do realtime debug on chip? No idea, nobody says how.<br />- Should I create a empty C project or should I reate an ARM project (LPC1768 is not in the available boards and setting cortexM3,it does not compile)<br /><br />Thanks for any help.<br /><br />CamiloAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-319977725441392717.post-85936552256077287532011-03-21T08:11:55.921-07:002011-03-21T08:11:55.921-07:00This post is not a tutorial per se. More of a reco...This post is not a tutorial per se. More of a record of my doings.<br /><br />As for setting up the software tools on the PC, you can see<br />http://gvworks.blogspot.com/2011/01/code-sourcery-g-lite-and-programmers.html<br /><br />If you're interested in JTAG, this one is pictorial and takes you step-by-step.<br />http://msys-mv.blogspot.com/2010/10/software-tools-required-to-work-with.html<br /><br />If you are more specific about what you are trying to do and where you are having trouble, I can offer directed suggestions.Sagarhttps://www.blogger.com/profile/15831013932411819192noreply@blogger.comtag:blogger.com,1999:blog-319977725441392717.post-85100075843385046762011-03-21T07:56:33.002-07:002011-03-21T07:56:33.002-07:00I just started with this but i dont understand man...I just started with this but i dont understand many of the steps (I wont say which). Please meke it more detailed for newers like me.Anonymousnoreply@blogger.com