Olimex LPC2148 Proto Board

You change it in the CrossWorks IDE. Look at the target properties, you should see Clock Divider. You could try increasing the value. There are also some other options you might need to change.

Have you tried contacting Rowley Support, they are very helpful.

Leon

leon_heller:
You change it in the CrossWorks IDE. Look at the target properties, you should see Clock Divider. You could try increasing the value. There are also some other options you might need to change.

I did finally find where to change the JTAG clock divider, but it wasn't due to any help from the documentation OR Rowley Support. I stumbled onto it by just plunking around the various windows to see what is there.

leon_heller:
Have you tried contacting Rowley Support, they are very helpful.

I am in contact with them now, but so far they have only referred me to the FAQ, which has not helped. I am apparrently supposed to have an option in the Target menu that I do not have even when I have a project (solution in Rowley-speak) open.

I am still hoping I can get this working because the Linux version runs under my Debian Etch setup and I would like to use that version instead of the Windows version. I have to figure out why it can’t set something with usb first though. If I can get the Linux version working completely with my JTAG USB OCD Tiny, then that is what I would purchase.

My goal is to get as much of my development stuff as possible running under Linux.

8-Dale

You could try the LPC2000 Yahoo group, you are more likely to find someone there who has the same hardware and software (nearly 6,000 members).

Leon

leon_heller:
You could try the LPC2000 Yahoo group, you are more likely to find someone there who has the same hardware and software (nearly 6,000 members).

Hmmmmmm. Generally I stay away from Yahoo groups as I usually end up getting majorly spammed. I suppose I could use a different e-mail address just for Yahoo groups. I'll give it a try.

8-Dale

Here is an update: I just discovered that I can not have the Olimex USB OCD Tiny connected to the JTAG port on my Olimex LPC-2148 Proto Board when I want to use the LPC2000 Flash Utility. I unplugged the JTAG unit and then I was able to flash the board using the flash utility.

Is this the normal way of things? Shouldn’t I be able to have the JTAG connected when I want to use the flash utility? I am going to try the same thing with my LPC2-148 Header Board soon, and I suspect it will work also now.

8-Dale

The target is halted after power up if the JTAG probe is present, at least it works this way with my USB probe.

gdisirio:
The target is halted after power up if the JTAG probe is present, at least it works this way with my USB probe.

I can not do anything with JTAG. I do not know what is wrong. I would prefer to use JTAG rather than the LPC Flash Utility to program my board.

8-Dale

I am simply using the Olimex CD that come with the USB JTAG, I just had to slow down the JTAG clock in the OpenOCD config file.

You should make sure that everything works correctly with the included software before trying other tools. This way you can at least rule out hardware problems.

gdisirio:
I am simply using the Olimex CD that come with the USB JTAG, I just had to slow down the JTAG clock in the OpenOCD config file.

I do not like Eclipse and find it completely frustrating to use, so I don't want to use it. I will try changing the JTAG clock in the config file again and see what happens.

gdisirio:
You should make sure that everything works correctly with the included software before trying other tools. This way you can at least rule out hardware problems.

I have an Eclipse environment set up that is based on Yagarto, with a toolchain that works fine. I have just never been able to get anything to work with JTAG. I have tried everything anyone has suggested.

8-Dale

linuxguy:
I did finally find where to change the JTAG clock divider, but it wasn’t due to any help from the documentation OR Rowley Support. I stumbled onto it by just plunking around the various windows to see what is there.

You are directed to the FAQs first; if you haven't had any success after lowering the JTAG clock frequency then you should come back to support and say so. You were not ignored at our helpdesk, were you?

The OCD-Tiny does work correctly, we’ve tested it. Whether it works on a particular setup with target hardware which varies significantly I can’t say. Perhaps we could do better than “target not responding”; this means that the IDE tried to read and write an ICEbreaker register and it didn’t read back what the value it wrote, so in essence the core isn’t responding.

paul_l_curtis:
You are directed to the FAQs first; if you haven’t had any success after lowering the JTAG clock frequency then you should come back to support and say so. You were not ignored at our helpdesk, were you?

Hi Paul!

No, I was not ignored on the help desk. In fact, I think the response to my questions has been better than I would have expected for one who is just evaluating Crossworks. :slight_smile:

I just didn’t realize you had posted an additional response because I didn’t get an e-mail notification of it, or perhap I just missed it. I found your new response and replied to it when I went exploring the Rowley site again this morning. Otherwise I would not have known it was there.

paul_l_curtis:
The OCD-Tiny does work correctly, we’ve tested it. Whether it works on a particular setup with target hardware which varies significantly I can’t say.

I believe I have a bad Olimex USB OCD Tiny. :( :( I am new to the ARM world and I did not realize it was the JTAG unit causing me the problems until just recently. I kept blaming myself for not getting settings right or not doing something right, but I don't think that was the case now.

paul_l_curtis:
Perhaps we could do better than “target not responding”; this means that the IDE tried to read and write an ICEbreaker register and it didn’t read back what the value it wrote, so in essence the core isn’t responding.

I do think that error message could be more clear as to what the exact problem is. That might help beginners with ARM, like me know when there is something wrong with a JTAG unit.

I am sending my request off to Rowley so I can get a personal license and will be ordering my copy of Crossworks for ARM (Linux version) in two weeks. I think Crossworks will work out very well for me, and I will probably end up getting the AVR version at some point also.

Thank you very much for your excellent support!

8-Dale

Responses from Rowley support are automatically emailed as well as an immediate acknowledgment, you must have missed it.

A parallel port JTAG interface is very easy to make, a PCB design of mine is in the Yahoo LPC2000 group Files section. Although I have a CrossConnect I sometimes use my I/F if I have JTAG problems to eliminate one possible cause.

Leon

Dale,

linuxguy:
No, I was not ignored on the help desk. In fact, I think the response to my questions has been better than I would have expected for one who is just evaluating Crossworks. :slight_smile:

We treat all evaluators and customers equally; however, we obviously have some users roll up at the helpdesk who haven't ever bothered to register or pay for our product and this siphons our life blood (supporting a leech is not my idea of a great way to spend our cash).

We could probably do more to detect JTAG failures. In fact I have implemented a STAPL compiler and player and it does a great job. I expect I’ll document the STAPL engine in an upcoming release of CrossWorks (it’s in the V2 builds now). Using STAPL you can probe your chain and see what’s up. I believe that this should resolve a number of customer’s problems with JTAG.

Believe me, I wish I could get customers to purchase our hardware and software for an easy ride, but they don’t. They’d rather purchase something that’s not quite up to the job. The FT2232C-based devices might look good on paper, but they really are not the way to go if you want a professional product. The CrossConnect Lite does an amazing job, you would not believe the amount of work that went into getting that thing up and ready. The new CrossConnect Pro is going to blow other competing devices away.

I aspire being the “Apple” of the development tools world: having great software paired with great hardware for an unbeatable development experience. Unfortunately, the FTDI devices are the equivalent of a PC, they’re all the same and they’re all pretty much substandard. Just my view!

paul_l_curtis:
We treat all evaluators and customers equally; however, we obviously have some users roll up at the helpdesk who haven’t ever bothered to register or pay for our product and this siphons our life blood (supporting a leech is not my idea of a great way to spend our cash).

Well, I would not have registered and gotten the evaluation license if I weren't serious about buying Crossworks. I have gotten too frustrated with the tools I have access too now, and want something I can depend on that has great support. I am on a fixed income, so am usually *very* careful where I spend my money, especially on software, because I have been burned a few times.

I have not heard anything bad about Crossworks though, and I like the way everything works in it. :slight_smile: I just don’t care for Eclipse as an IDE, but Crossworks works well for me, and I am going to dig into it deeper and learn how to use it better.

paul_l_curtis:
We could probably do more to detect JTAG failures. In fact I have implemented a STAPL compiler and player and it does a great job. I expect I’ll document the STAPL engine in an upcoming release of CrossWorks (it’s in the V2 builds now). Using STAPL you can probe your chain and see what’s up. I believe that this should resolve a number of customer’s problems with JTAG.

This sounds very nice! I am one of those that if you put a feature in, I will eventually use it if only to see what it does. :) I love to tinker!

paul_l_curtis:
Believe me, I wish I could get customers to purchase our hardware and software for an easy ride, but they don’t. They’d rather purchase something that’s not quite up to the job. The FT2232C-based devices might look good on paper, but they really are not the way to go if you want a professional product.

I'm affraid my purchase of the Olimex USB OCD Tiny was driven mostly by price. I am disabled and on a fixed income, so I don't have much to spend on stuff like this each month. I was fortunate that [[Alibre](http://www.alibre.com)(Alibre Design 3D CAD) has a direct purchase plan where I could pay for it over a 12 month period by a recurring charge to my debit card. I got the big package - Alibre Design Expert, which retails at $1995.00 (I paid only $1495.00 and got two years of maintenance instead of just one). I just got it paid for in September. :D

paul_l_curtis:
The CrossConnect Lite does an amazing job, you would not believe the amount of work that went into getting that thing up and ready. The new CrossConnect Pro is going to blow other competing devices away.

I do believe it. :) I have done electronic assembly, computer programming, as well as Q/A and Q/C. I always worked on the new product and prototype teams. I would like to see more software companies follow Alibre's lead on this direct purchase idea. I'll be purchasing a Personal License for Crossworks for ARM because I can't afford the Professional License. I have to get my agreement filled out and send it off to Rowley Associates.

paul_l_curtis:
I aspire being the “Apple” of the development tools world: having great software paired with great hardware for an unbeatable development experience. Unfortunately, the FTDI devices are the equivalent of a PC, they’re all the same and they’re all pretty much substandard. Just my view!

I know that one generally gets what one pays for, especially with hardware. I normally wait until I can afford the best I can get, but I did not do that this time. :( I was too eager to get to learning about ARM MCUs, and this is going to be part of the new brain for my current robot. I will have to check out the new CrossConnect when it is available. I am also looking at the [[Signalyzer Tool](http://www.xverve.com/development-tools/programming-tools/dt-usb-st---signalyzer-tool.html) to replace my Olimex unit. I not only want a solid development environment I can depend on to not cause more problems when debugging, but I NEED that. It's really hard to find and fix tough bugs if you don't trust your development environment.

I am also planning to jump into the AVR world at some point, and maybe even the MPS430 world. If the FREE tools don’t pan out for me, I will check out the Crossworks packages.

8-Dale](http://www.xverve.com/development-tools/programming-tools/dt-usb-st---signalyzer-tool.html)](http://www.alibre.com)

Here is a small update:

I got an evaluation license for the Linux version of Crossworks for ARM, and got my first clean compile with it (the uip-e2124 software). I know this isn’t a real major accomplishment, but it verified that I have the correct bsp installed and everything works correctly.

I can hardly wait to get Crossworks for ARM next month! This is all your fault, Paul… :D:D You did very good helping me out.

Besides, I am interested in using the uip software on my LPC-2148 Proto Board, and header board if it is still alive. I haven’t checked my header board out since I got the proto board working again. One of my first hardware projectes with my proto board is going to be adding a 10/100 ethernet and USB 2.0 Host connections to it.

8-Dale

Here is a small update:

I have installed Ubuntu 7.10 Desktop Linux in place of Debian Etch, and have gotten the CrossConnect Lite to work with CrossWorks for Arm (Linux version). I just followed the installation instructions for Ubuntu 6.06 LTS on the Rowley Associates website, and Crossworks recognized it and connected to it perfectly. I was able to build the Rowley port of uip (for the LPC2124) and program my LPC-2148 Proto Board. :smiley: I know my proto board doesn’t have an ethernet port, but it still blinks one of the LEDs after I programmed it, so I know it was programmed by Crossworks using the CrossConnect Lite.

My next project will be to see if I can get Crossworks for Arm and the CrossConnect Lite working under regular Debian (Lenny). I still have a Debian Etch box I can try this on also.

8-Dale

I also have the CrossConnect Lite working under Debian 4.0R1 Linux now, using the same Ubuntu instructions. Ubuntu is based on Debian.

I am quite happy about this!

8-Dale