[Openocd-development] LPC2103 config file
The flash bank command in the LPC2103 configuration file(target/lpc2103.cfg) looks like the follwing: # 32kB of internal Flash, core clocked with 12MHz crystal # flash bank lpc2000 base size 0 0 target# variant clock [calc_checksum] flash bank lpc2000 0x0 0x8000 0 0 0 lpc2000_v2 12000 calc_checksum From OpenOcd online manual: — Flash Driver: *lpc2000* Most members of the LPC2000 microcontroller family from NXP include internal flash and use ARM7TDMI cores. The lpc2000 driver defines two mandatory and one optional parameters, which must appear in the following order: - variant ... required, may be lpc2000_v1 (older LPC21xx and LPC22xx) or lpc2000_v2 (LPC213x, LPC214x, LPC210[123], LPC23xx and LPC24xx) - clock_kHz ... the frequency, in kiloHertz, at which the core is running - calc_checksum ... optional (but you probably want to provide this!), telling the driver to calculate a valid checksum for the exception vector table. LPC flashes don't require the chip and bus width to be specified. flash bank lpc2000 0x0 0x7d000 0 0 $_TARGETNAME \ lpc2000_v2 14765 calc_checksum Based on the manual should the flash bank command contain lpc2000_v1 instead of lpc2000_v2? -Ananda ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] LPC2103 config file
No it is not.. LPC2103 is clearly listed as lpc2000_v1. See lpc2000_v1 (older LPC21xx and LPC22xx) When I use lpc2000_v1 and through telnet use command *flash info 0*, I get the following which I think a proper representation of LPC2106 flash. I say so because while loading through serial port using lpc2k_pgm, it seems to be using sector size of 8kB. #0 : lpc2000 at 0x, size 0x0002, buswidth 0, chipwidth 0 # 0: 0x (0x2000 8kB) protected # 1: 0x2000 (0x2000 8kB) protected # 2: 0x4000 (0x2000 8kB) protected # 3: 0x6000 (0x2000 8kB) protected # 4: 0x8000 (0x2000 8kB) protected # 5: 0xa000 (0x2000 8kB) protected # 6: 0xc000 (0x2000 8kB) protected # 7: 0xe000 (0x2000 8kB) protected # 8: 0x0001 (0x2000 8kB) protected # 9: 0x00012000 (0x2000 8kB) protected # 10: 0x00014000 (0x2000 8kB) protected # 11: 0x00016000 (0x2000 8kB) protected # 12: 0x00018000 (0x2000 8kB) protected # 13: 0x0001a000 (0x2000 8kB) protected # 14: 0x0001c000 (0x2000 8kB) protected # 15: 0x0001e000 (0x2000 8kB) protected lpc2000 flash driver variant: 1, clk: 14765 But if I use lpc2000_v2, and use the same command I get the following: #0 : lpc2000 at 0x, size 0x0002, buswidth 0, chipwidth 0 # 0: 0x (0x1000 4kB) protected # 1: 0x1000 (0x1000 4kB) protected # 2: 0x2000 (0x1000 4kB) protected # 3: 0x3000 (0x1000 4kB) protected # 4: 0x4000 (0x1000 4kB) protected # 5: 0x5000 (0x1000 4kB) protected # 6: 0x6000 (0x1000 4kB) protected # 7: 0x7000 (0x1000 4kB) protected # 8: 0x8000 (0x8000 32kB) protected # 9: 0x0001 (0x8000 32kB) protected # 10: 0x00018000 (0x8000 32kB) protected lpc2000 flash driver variant: 2, clk: 14765 In both cases though, it looks as if it is working. With lpc2000_v2, it is erratic and I could not step through the code in eclipse. But with lpc2000_v1, it seems more stable and I can step through the code in eclipse also. May be the strange issues you have described in your post Strange problem with LPC2103, is because of this difference. It might solve your problem because my problem kinda looked like yours. -Ananda On Sat, Aug 1, 2009 at 1:26 AM, Freddie Chopin freddie_cho...@op.pl wrote: Ananda Regmi pisze: Based on the manual should the flash bank command contain lpc2000_v1 instead of lpc2000_v2? ? LPC2103 is specifically listed as _v2... lpc2000_v2 (LPC213x, LPC214x, *LPC210[123]*, LPC23xx and LPC24xx) Moreover - this file works fine. 4\/3!! ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
[Openocd-development] Amontec JTAG LPC2103 JTAG tap error
Hello, I am using standard configuration files except for the crystal frequency which I have to set to 14675 to match my hardware and my openocd.cfg looks like the following: source [find interface/jtagkey-tiny.cfg] source [find target/lpc2103.cfg] Then when I run open openocd in the command prompt, I get the following message: Open On-Chip Debugger 0.2.0 (2009-07-24-13:04) Release $URL: http://svn.berlios.de/svnroot/repos/openocd/tags/openocd-0.2.0/src/openocd.c$ For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS jtag_nsrst_delay: 100 jtag_ntrst_delay: 100 Info : device: 4 Info : deviceID: 67358712 Info : SerialNumber: T1Q4RFW8 A Info : Description: Amontec JTAGkey A Info : JTAG tap: lpc2103.cpu tap/device found: 0xcf3f0f1f (mfg: 0x78f, part: 0xf3f0, ver: 0xc) Error: JTAG tap: lpc2103.cpu got: 0xcf3f0f1f (mfg: 0x78f, part: 0xf3f0, ver: 0xc) Error: JTAG tap: lpc2103.cpu expected 1 of 1: 0x4f1f0f0f (mfg: 0x787, part: 0xf1f0, ver: 0x4) Error: trying to validate configured JTAG chain anyway... Error: unknown EmbeddedICE version (comms ctrl: 0xc000) Any ideas what could be the problem. Thanks, Ananda ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
[Openocd-development] Amontec - Out of business?
Hello, Does anybody here know if Amontec - makers of JTAG Tiny - company went out of business or something? I know, this is an off topic question. But I have exhausted all my options before posting it here. Since, Amontec's SDK kit supports OpenOCD, I figured some of you might know their status. Here's the reason I asked. I bought a JTAG tiny from them like 3-4 weeks ago. The payment went through and I haven't heard back from them. I have tried to send multiple emails and I don't get any response back. If they are indeed out of business, I will have to buy another JTAG dongle. But, if they are still in business, I guess I don't have any other option than to warn people to not to deal with them. Well, I will wait for some of you to respond before I do that. Thanks, Ananda ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Amontec - Out of business?
Thanks Peter. I will wait for his reply. Thanks for the info about the versaloon debugger. I will definitely keep it in mind for my next dongle purchase. -Ananda On Fri, Oct 21, 2011 at 6:08 PM, Peter Stuge pe...@stuge.se wrote: Hi Ananda, Ananda Regmi wrote: Does anybody here know if Amontec - makers of JTAG Tiny - company went out of business or something? I guess it's possible, but company owner Laurent posted to this very mailing list a week or so ago. Here's the reason I asked. I bought a JTAG tiny from them like 3-4 weeks ago. The payment went through and I haven't heard back from them. I have tried to send multiple emails and I don't get any response back. If they are indeed out of business, I will have to buy another JTAG dongle. But, if they are still in business, I guess I don't have any other option than to warn people to not to deal with them. Thanks for the info. Laurent and a guy that he hired to do some development have participated on this mailing list before, so I think they should also receive this, and will hopefully get back to you soon. Personally I really like the Versaloon dongle, since it is fairly intelligent, and also open hardware, with open source firmware. http://www.versaloon.com/ It works great with OpenOCD for JTAG, SWD I (still :/ ) haven't tested yet. //Peter ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Amontec - Out of business?
Attila, I wouldn't mind giving them some time as long as they keep communicating with me. I am hitting a blank wall on Amontec's side. I have tried sending emails to their sales, customer service, their CEO and I don't get any thing back. Yegor, Thanks for your reply. I searched through this mail list, it seems like Laurent is active in this list. Unless he is out in vacation or in a similar situation, I can't imagine he hasn't seen this email yet. I will wait for couple of more days for him to come in touch with me. If I don't hear anything, I don't have any other option than to check if their is a way to cancel the credit card payment. It's not that I need it right away. I just need to know when will I get it. Why is it so difficult to tell your customer when the product they have already paid for would be shipped? -Ananda On Sun, Oct 23, 2011 at 6:21 AM, Yegor Yefremov yegorsli...@googlemail.comwrote: On Sat, Oct 22, 2011 at 12:10 AM, Ananda Regmi ananda.re...@sandia.aero wrote: Hello, Does anybody here know if Amontec - makers of JTAG Tiny - company went out of business or something? I know, this is an off topic question. But I have exhausted all my options before posting it here. Since, Amontec's SDK kit supports OpenOCD, I figured some of you might know their status. Here's the reason I asked. I bought a JTAG tiny from them like 3-4 weeks ago. The payment went through and I haven't heard back from them. I have tried to send multiple emails and I don't get any response back. If they are indeed out of business, I will have to buy another JTAG dongle. But, if they are still in business, I guess I don't have any other option than to warn people to not to deal with them. Well, I will wait for some of you to respond before I do that. I've also bought one debugger from Amontec and I found the service very disappointing. I've got my device after 2 month. I also got almost no answers to my e-mails or phone calls. Then I wrote to this list and got answer from Laurent, after that I got my device within some weeks. Yegor ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Amontec - Out of business?
Just wanted to let everybody know that I received my Amontec JTAGKey Tiny this morning. I never received any notification that it has been shipped or any replies to any of my inquiries but I did receive the item. -Ananda On Tue, Oct 25, 2011 at 8:49 AM, Ananda Regmi ananda.re...@sandia.aerowrote: Thanks for your input Christopher. Don't get me wrong. I have been using one right now and it's been working great. And I do already have the cable. The problem here is this cold, unresponsive customer service. -Ananda On Mon, Oct 24, 2011 at 3:06 PM, Christopher Harvey ch...@basementcode.com wrote: On Mon, 24 Oct 2011 14:53:33 -0600, Ananda Regmi wrote: Attila, I wouldn't mind giving them some time as long as they keep communicating with me. I am hitting a blank wall on Amontec's side. I have tried sending emails to their sales, customer service, their CEO and I don't get any thing back. Yegor, When I ordered my JTagKey2 I didn't receive any notification of shipment. I emailed them and Laurent got back to me within 24h saying that it was shipped. This was about 4 months ago. It took a couple of weeks for it to actually arrive. In the meantime you should check out 20 pin jtag connector cables since my JTagaKey2 didn't come with onebut otherwise it's a fine product. __**_ Openocd-development mailing list Openocd-development@lists.**berlios.deOpenocd-development@lists.berlios.de https://lists.berlios.de/**mailman/listinfo/openocd-**developmenthttps://lists.berlios.de/mailman/listinfo/openocd-development ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] Amontec - Out of business?
I was hoping I was done with Amontec Saga but unfortunately I have one more thing to report. Today, my boss informed me that that thing that I had ordered from Europe that cost 30 Euro, cost us $130.00 in shipping. After I placed my order only thing that was asked to me was my UPS account info. They never asked how soon I would like it to be shipped. If they had communicated with me, I would probably have been able to tell them that I don't need it immediately. Ship me the cheapest possible way. But for that they would have to read my email and reply to me. I guess, it was their revenge from me for complaining about them in public forum. But, whatta cheap shot. In bigger scheme of things $200 probably wouldn't matter. But, I did learn something on the way. *Never order from Amontec ever again.* -Ananda On Wed, Oct 26, 2011 at 11:01 AM, Ananda Regmi ananda.re...@sandia.aerowrote: Just wanted to let everybody know that I received my Amontec JTAGKey Tiny this morning. I never received any notification that it has been shipped or any replies to any of my inquiries but I did receive the item. -Ananda On Tue, Oct 25, 2011 at 8:49 AM, Ananda Regmi ananda.re...@sandia.aerowrote: Thanks for your input Christopher. Don't get me wrong. I have been using one right now and it's been working great. And I do already have the cable. The problem here is this cold, unresponsive customer service. -Ananda On Mon, Oct 24, 2011 at 3:06 PM, Christopher Harvey ch...@basementcode.com wrote: On Mon, 24 Oct 2011 14:53:33 -0600, Ananda Regmi wrote: Attila, I wouldn't mind giving them some time as long as they keep communicating with me. I am hitting a blank wall on Amontec's side. I have tried sending emails to their sales, customer service, their CEO and I don't get any thing back. Yegor, When I ordered my JTagKey2 I didn't receive any notification of shipment. I emailed them and Laurent got back to me within 24h saying that it was shipped. This was about 4 months ago. It took a couple of weeks for it to actually arrive. In the meantime you should check out 20 pin jtag connector cables since my JTagaKey2 didn't come with onebut otherwise it's a fine product. __**_ Openocd-development mailing list Openocd-development@lists.**berlios.deOpenocd-development@lists.berlios.de https://lists.berlios.de/**mailman/listinfo/openocd-**developmenthttps://lists.berlios.de/mailman/listinfo/openocd-development ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development