LPCxpresso: nice hardware made useless by bad software
Remember back in the mid-90s, when many of us used Microchip PICs for embedded control? Remember having to use a shoddy closed-source compiler, which only ran on one operating system/architecture? Remember having to use a particular set of tools, instead of whatever tools you were most comfortable with?
Fast-forward to 2010, and you can re-experience all these limitations with the NXP LPCxpresso board! This evaluation board for the NXP LPC ARM chips is...well, I'll let them speak for themselves:
This runs only on Windows, of course. Yes, folks, it's like 1995 all over again.Consensus among reverse engineers I've contacted is that the programming/debugging interface is cryptographically secured, to keep you from using it the way you want. (Edit: I've decided there's not enough evidence to support this claim.)
Not that Digikey tells you this before you buy, of course! At the time of this writing, even the LPCxpresso web site makes no mention of this, unless you drill down into the PDF Getting Started Guide. Fortunately, competing parts from both Atmel and ST Microelectronics have support for GCC and cross-platform programmers and debuggers. I'll be using these in my next design and sending the LPCxpresso back to the factory.
Update: Someone claiming to be from Code Red commented below, noting that they do have GCC support, but didn't address the other points (cross-platform compatibility being the main one). I based my initial complaints of "no command line compiler" and "no GCC support" on other users' summaries, since (not having Windows) I couldn't test that. My bad; these claims have been removed.
If Code Red does indeed provide cross-platform support (or OSS tools that could become cross-platform) I'll update this post!
Update 2: They do not, though they suggest I could run Windows in a VM. Missing the point, guys.
To be clear, I'm not a complete noob to embedded ARM systems, or Cortex-M3. Once I decided not to return this proprietary piece of circuit (because I'm terribly stubborn), I tried putting together a toolchain based on CS2009q3, writing a linker script, soldering on a USB connector, implementing the proprietary NXP checksum algorithm, chopping off the debug circuitry that I paid for and would sure like to use, etc. Never quite worked right - got consistent firmware corruption. My point is that I shouldn't have to do any of this stuff, or troll through forums trying to decide which contradictory answer is correct. I'm currently rather enamored with the mbed eval board, which, unlike the LPCxpresso, explicitly supports Mac and Linux out of the box.
Fast-forward to 2010, and you can re-experience all these limitations with the NXP LPCxpresso board! This evaluation board for the NXP LPC ARM chips is...well, I'll let them speak for themselves:
The LPCXpresso evaluation board is meant to be used only with the Code Red LPCXpresso, or Red Suite IDEs.
This runs only on Windows, of course. Yes, folks, it's like 1995 all over again.
Not that Digikey tells you this before you buy, of course! At the time of this writing, even the LPCxpresso web site makes no mention of this, unless you drill down into the PDF Getting Started Guide. Fortunately, competing parts from both Atmel and ST Microelectronics have support for GCC and cross-platform programmers and debuggers. I'll be using these in my next design and sending the LPCxpresso back to the factory.
Update: Someone claiming to be from Code Red commented below, noting that they do have GCC support, but didn't address the other points (cross-platform compatibility being the main one). I based my initial complaints of "no command line compiler" and "no GCC support" on other users' summaries, since (not having Windows) I couldn't test that. My bad; these claims have been removed.
If Code Red does indeed provide cross-platform support (or OSS tools that could become cross-platform) I'll update this post!
Update 2: They do not, though they suggest I could run Windows in a VM. Missing the point, guys.
To be clear, I'm not a complete noob to embedded ARM systems, or Cortex-M3. Once I decided not to return this proprietary piece of circuit (because I'm terribly stubborn), I tried putting together a toolchain based on CS2009q3, writing a linker script, soldering on a USB connector, implementing the proprietary NXP checksum algorithm, chopping off the debug circuitry that I paid for and would sure like to use, etc. Never quite worked right - got consistent firmware corruption. My point is that I shouldn't have to do any of this stuff, or troll through forums trying to decide which contradictory answer is correct. I'm currently rather enamored with the mbed eval board, which, unlike the LPCxpresso, explicitly supports Mac and Linux out of the box.
Labels: arm, lpc, proprietary

78 Comments:
I am from Code Red and we are always interested in feedback, but here are a couple of comments on your post:
1/ LPCXpresso does support GCC, it is shipped with GCC.
2/ LPCXpresso allows you to use the toolchain from the command line and even sets up the paths for you to do so.
3/ LPCXpresso is a free download
If you are having a real problem with this and it is not resolved by the NXP forum then please email our support through our website:
http://www.code-red-tech.com/support.php
By
codered, at 8:51 AM
Excellent, glad to hear you have GCC support! I must have missed the download link for Linux/OS X, or to the source code repository. All I could find is an exe file, which is of course useless on anything other than Windows. If you can point me to the link I missed so that I can install or build it on either of these operating systems, I'll edit the post to reflect that!
By
Cliff L. Biffle, at 10:54 PM
The LPCXpresso board can be used with any "JTAG" tool supporting the ARM Cortex SWD protocol. At this point OpenOCD does not support that protocol so it can't be used with most small ARM Cortex-based parts lacking a JTAG debug port. SWD supports fairly comprehensive real-time trace so hopefully it will get into the "free" OpenOCD/gdb soon. LPCXpresso comes with either the LPC1343 or LPC1114 which both have Serial and USB bootloaders in them that you can use to download GCC binaries. Check out the NXP LPCXpresso and LPC1000 Yahoo! forums for details on how to do this.
By
mrdonley, at 10:13 AM
Debuggers are usually platform dependent as you mentioned; New debuggers need people to port them.
BTW The "luminary micro" (now TI) cortex parts also use a new debugger protocol over jtag - good luck supporting it as well.
FYI it is only the low pin count LPC11xx and LPC13xx families that only use the new SWD debug rather than jtag. Someone just needs to port the SWD protocol to OCD for you, as they would for any new debugger.
The LPC17XX family does have JTAG (along with SWD); so if you have a cortex M3 compiler & jtag tools that work for you on your OS, you should be able to work with the LPC17XX.
I think the 128K compiler and xpresso board is a bargain at $30 and the tools are great.
By
x, at 2:35 PM
Give a fool enough rope and he will hang himself. ........................................
By
book, at 1:25 AM
Hi,
It would be nice if you shed some positive light on this board as well, because i think you're article misses the point. I've started with arms a while ago, had no idea where to begin, imported a jtag debugger from America (i live in holland) only to find i could not get it to work with openOCD. This board is ideal for me since it allows me to focus on developing arm applications without having to focus on all the other crap involved. Plus is costs about half of the jtag-debugger I ended up not using. Though i have to admit it would be nice to have linux support.
By
BigCheeze, at 5:31 PM
聰明的人喜歡猜心 雖然每次都猜對了卻失去了自己的心......................................................
By
RobinGallego0717俊毅, at 12:28 AM
TAHNKS FOR YOUR SHARING~~~VERY NICE ........................................
By
332wil0佳穎4burc_custis, at 2:37 AM
嗯~蠻不錯耶~~我喜歡 ∩ 3∩........................................
By
dare713llflagg0, at 12:52 PM
路過--你好嗎..很棒的BLOG..............................................
By
啟佐, at 11:01 PM
go2av免費影片sex 0401 影音 live 秀視訊聊天交友 色美眉台中援交aa 片試看 a免費視訊聊天網 情人34C波霸美女 香蕉鮑魚俱樂部,免費av 免費線上 aa 片試看 g點無碼a片 性愛姿勢 辣妹sex story 視訊聊天室 sex888免費看影片波霸美女寫真 視訊美女pixnet 成人交友hibb 4u成人視訊 情人080視訊網 私密論壇sex888免費看影片論壇 Show-live視訊聊天室 辣妹貼圖a片天堂 a片免費看 情色視訊禁地論壇 日本 a 片,無碼影片,美女,sexy,a片天堂 小魔女免費影城 視訊美女sogo 色論壇 s38live秀 卡通aa片免費看自拍天堂 洪爺免費線上歐美A片段觀看 亞洲東洋影片 0941 影音視訊聊天室 18成人85cc影城0204movie 成人漫畫區月光論壇 a片-情色成人影片 免費視訊toolbox 707網愛聊天室 1111辣妹貼圖,寫真集辣妹 av無碼月光論壇辣妹視訊 視訊辣妹主播脫衣秀 aio性愛dvd辣妹影片直播 黑澀會美眉 mv 高雄視訊,qq 美女貼圖片區 5i176 免費視訊秀 168論壇視訊辣妹 a片天堂s383視訊 bt電影下載,aa 片 sexy girl video movie 080cc成人色網 後官0951主入口 視訊聊天評比 視訊交友聊天室 no8 sogo論壇視訊辣妹
By
EmmieCollett, at 11:21 PM
愛情是一位偉大的導師,教我們重新作人..................................................
By
NedaD承蓁, at 12:40 PM
好熱鬧喔 大家踴躍的留言 讓部落格更有活力.........................
By
筠銘, at 1:30 AM
sex性愛85cc性愛紅爺性愛本土美女性愛免費線上性愛電影交友內容同志聊天室ut同志線上看吊帶襪美女圖后工后宮無碼圭賢七年間的愛歌詞圭賢圖片好色貼片區如何延遲射精如何做愛持久如何做愛最爽如何讓女生舒服宅女的幸福生活同志性愛片同志色網站同志色文學交援妹伊莉討論區小說伊莉貼圖區伊莉影片網伊莉論台伊葉情貼片區伊葉情貼圖全國俱樂部0401視訊美女sex女優影音視訊聊天室ut聊天室
By
SadeRa盈君iford0412, at 11:59 AM
友誼是人生的調味品,也是人生的止痛藥。......................................................................
By
林建隆, at 5:55 PM
支持好的blog~繼續加油~~. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
By
vickiekurt, at 9:46 PM
知識可以傳授,智慧卻不行。每個人必須成為他自己。......................................................................
By
陳淳, at 3:02 AM
成熟,就是有能力適應生活中的模糊。.................................................................
By
嘉惠, at 12:03 AM
人生是故事的創造與遺忘。............................................................
By
原秋原秋, at 3:29 AM
人生是故事的創造與遺忘。............................................................
By
LeatriceNay婉勇, at 3:29 AM
認清問題就等於已經解決了一半的問題。.................................................................
By
芸茂芸茂, at 8:36 PM
欣賞你的內容是美德~~支持你是最大回應..................................................................
By
JasonBirk佳琪, at 11:47 PM
不簡單..一路走來辛苦了-..................................................................
By
JasonBirk佳琪, at 1:07 AM
很不賴的分享!! 多謝啦!!◑0◐......................................................
By
吳婷婷, at 2:48 PM
你的努力我們都看見了--支持你............................................................
By
梁淑娟梁淑娟, at 12:14 AM
要用心經營哦~~祝福你~~
..................................................................
By
王美妹, at 1:51 AM
蛛絲馬跡皆學問、落花水面皆文章............................................................
By
洪勳華, at 11:21 PM
「仁慈」二個字,就能讓冬天三個月都溫暖。..................................................
By
黃子軒, at 10:08 PM
一棵樹除非在春天開了花,否則難望在秋天結果。............................................................
By
林惠萍, at 11:06 PM
人應該做自己認為對的事,而不是一味跟著群眾的建議走。..................................................
By
雅王任, at 1:20 AM
美麗的事物是永恆的快樂,它的可愛日有增加,不會消逝而去................................................
By
周俊許佳蓉安, at 7:27 PM
三分之一的人生,可以決定另外三分之二的人生!!共勉哦!............................................................
By
蕾蕾, at 7:54 AM
It is never too late to learn.......................................................................
By
信陳定, at 10:07 PM
培養健全孩子最好的方法是父母先成為健全的人。......................................................................
By
忠姜姜姜蓮, at 4:19 AM
文章不求沽名釣譽,率性就是真的..................................................................
By
洪涛, at 6:10 AM
加油-不論如何都期待您的新發表!..................................................................
By
阿袁袁袁袁華, at 5:43 PM
nice post,thanks for sharing.
Business Directory
By
Bikana, at 9:01 PM
So back in the 90's you used PIC for "embedded"?
and, oh, "consesus among the reverse engineers you've contacted ..blah blah blah?"
I doubt you could even progam the serial port, let appart some serious hacking to have conclusions withdrawn by yourself.
For the next time, do please either remove your useless blog from google's index, or read up on a subject before writing about it, so you don't waste people's time.
Thanks in the name of every internet user.
By
Eduardo, at 7:41 AM
LPCXpresso does have Linux support...check out the downloads section of the code red site.
I am no way affiliated with Code Red or NXP
By
Sayan, at 8:50 AM
Cuisinart TOB-195
Acne Conglobata
Acer 11.6 Netbook
500 payday loan
acne inversa
VIZIO M261VP
checkmate payday loans
By
Koon, at 12:28 AM
Counter Depth French Door Refrigerator
How to Get Into Acting
Breville Smart Oven
How to Impress Woman
Picking Lottery Numbers
Canon Powershot A800
Adidas Barricade
Adidas Barricade 6.0
Cuisinart TOB-195
Acne Conglobata
Acer 11.6 Netbook
500 payday loan
acne inversa
VIZIO M261VP
checkmate payday loans
Pengurusan Masa
By
name is not important, at 7:40 PM
Counter Depth French Door Refrigerator
How to Get Into Acting
Breville Smart Oven
How to Impress Woman
Picking Lottery Numbers
Canon Powershot A800
Adidas Barricade
Cuisinart TOB-195
Acne Conglobata
Acer 11.6 Netbook
500 payday loan
acne inversa
VIZIO M261VP
checkmate payday loans
Pengurusan Masa
How To Stop Panic Attacks
Didik anak
Langsing
Adidas Barricade 6.0
Adidas Barricade V
By
poh, at 5:01 PM
What the hell is wrong with these spammers ?
Party Poker Bonuscortsion
By
peter north, at 2:28 AM
Nice blog. Keep doing good work dude.
rushmore casino
By
peter north, at 2:29 AM
And at the end thank you for the post. Worth reading it.
party poker bonus code
By
peter north, at 2:30 AM
How it is possible? No one should check it out. Thanks for sharing.
Buy Indian domain
By
adol, at 12:32 AM
Really this is great information..its very nice topic..i like this..i read this and get some new idea & information..thanks for sharing here..
android developer
By
Gaurav, at 5:58 AM
It would be nice if you shed some positive light on this board as well, because i think you're article misses the point.
web designer perth
By
gaurav, at 5:59 AM
This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work.termite control brisbane
By
Edison Gerard, at 4:01 PM
This is my Second visit to this blog. We are starting a new initiative in the same niche as this blog. Your blog provided us with important information to work with. You have done a fantastic job
SEO Services
By
SEO Services, at 3:39 AM
LoLx...
Chinese spammers...!!!
online poker forum
By
peter north, at 3:33 AM
Its a long time to see a post from your side..
chanel
By
peter north, at 3:34 AM
I usually don't post in Blogs but your blog forced me to, awesome work, stunning! diamond for sale | internet marketing agency
By
Faith, at 9:27 PM
This is a great inspiring article. I am pretty much pleased with your good work. You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post.
prom dresses
prom dresses
evening dresses
By
Wailing Soul, at 8:05 PM
I'm so glad to have found your web page. My pal mentioned it to me before, yet never got around to checking it out until now. I must express, I'm floored. I really enjoyed reading through your posts and will absolutely be back to get more. diamond for sale | internet marketing agency
By
Wailing Soul, at 3:04 AM
The blog you shared is very informative and useful.I will share your blog with my friends.Thanks for sharing such a nice blog.
--------------------------------
phone casino
By
Aanya, at 12:53 AM
I found your blog is very imformativ e and interesting. Thank you share it.
------------------
Buy Dinar
By
Dinar Inc, at 12:04 AM
Hello,
Very nice post, I like your blogging techniques and have bookmarked this blog as found it very informative. Keep it up.
---------------------------
online poker community
By
Aanya, at 10:17 PM
Hello,
Very useful and informative content has been shared, I must say that your writing skills are very attractive. Moreover sharing information and acknowledging others is really very good job, keep it up.
-----------------------------
rushmore casino review
By
Aanya, at 10:43 PM
Really nice blog, very informative. Thanks dude for wonderful posting. Keep it up in the future as well.
-------------------------------
Party Casino Bonus
By
Aanya, at 10:56 PM
It is a very interesting topic that you’ve written here.
The truth is that I’m really related to this, and I think this is a good opportunity to learn more about it.
------------------------
http://www.poker-sign-up-bonus.com/poker-bonuses/
By
Aanya, at 11:13 PM
Interesting and important information. It is really beneficial for us. Thanks
---------------------------------
mobile bingo
By
Aanya, at 11:34 PM
Thanks for sharing such useful information. It seems that you did a lot of hard work for this article. Keep it up.
---------------------------------
phone slots
By
Aanya, at 12:02 AM
It’s a Good blog and congrats on having good Information, Keep it up! Thanks for sharing your knowledge with us!
----------------------------
play roulette
By
Aanya, at 12:24 AM
Nice post love your blog.This blog is awesome full of use full information that i was in dire need of. Thanks for this post. Keep it up.
---------------------------------
casino mobile
By
Aanya, at 1:25 AM
You write really good articles, very attractive, I feel very shocked. I hope you can continue with your work, come on!
--------------------------------
poker mobile
By
Aanya, at 1:47 AM
Wow. Fantastic article, it’s so nice and your blog is very good.
I've learned a lot from your blog here, you’re provided blog is very super perfect i really like it. Keep it up and Thanks you for sharing......!
------------------------------------
black jack games
By
Aanya, at 2:10 AM
It is a very interesting topic that you’ve written here.
The truth is that I’m really related to this, and I think this is a good opportunity to learn more about it.
------------------------
mobile phone bingo
By
Aanya, at 4:19 AM
Hello,
Very nice post. I like your blogging techniques and have bookmarked this blog as found it very informative. Keep it up.
---------------------------------
mobile slots
By
Aanya, at 9:33 PM
Hello,
Very useful and informative content has been shared, I must say that your writing skills are very attractive. Moreover sharing information and acknowledging others is really very good job, keep it up.
--------------------------------
roulette games
By
Aanya, at 9:51 PM
Intresting layout on your blog. Best wishes for you future blogging career.
----------------------------
play poker
By
Aanya, at 10:09 PM
Hello,
Very nice post, I like your blogging techniques and have bookmarked this blog as found it very informative. Keep it up.
---------------------------------
phone casino
By
Aanya, at 10:32 PM
Thanks a lot for sharing the tips in going for development.
------------------------------
black jack games
By
Aanya, at 10:52 PM
You write really good articles, very attractive, I feel very shocked. I hope you can continue with your work, come on!
----------------------------
Party Poker Bonus
By
Aanya, at 11:20 PM
Nice post love your blog.This blog is awesome full of use full information that i was in dire need of. Thanks for this post. Keep it up.
----------------------------
Party Casino Bonus
By
Aanya, at 11:40 PM
Hi,
Nice post! Your content is very valuable to me and just make it as my reference. Keep blogging with new post! Unique and useful to follower.
---------------------------------
rushmore casino
By
Aanya, at 12:25 AM
Hi,
Fantastic blog, Love your blog.
I will share your blog with my friends. Keep it up with good work. Thanks a lot.
--------------------------------
bwin poker
By
Aanya, at 12:50 AM
Hello,
Very nice post, I like your blogging techniques and have bookmarked this blog as found it very informative. Keep it up.
------------------
android roulette
By
sabreena, at 4:45 AM
Post a Comment
<< Home