 | | From: | Roland Macho | | Subject: | ARM7 LPC2106 secondary JTAG interface | | Date: | Wed, 5 Jan 2005 13:04:30 +0100 |
|
|
 | Dear group members, Have an activation problem with the secondary JTAG interface. Using the Philips application note AN10255 I tried to convert the assembly code of their ARM assembler to the GNU assembler. The evaluation board is from Olimex (P1). CAD system is crossworks + McGraigor Wiggler as programming tool. The code is transferred via JTAG1 (standard) to the Flash memory and shows no errors doing that. But when changing connector to the JTAG2 interface (secondary) this is not activated by the new code. It seems to be a task of the right checksum. But I don't know how to calculate it.
Can somebody explain this to me ?
Here the converted Philips code :
..section .vectors, "ax" ..code 32 ..align 0
/********************************************************************* ******** * Exception Vectors *
********************************************************************** *******/ _vectors: ldr pc, [pc, #reset_handler_address - . - 8] /* reset */ ldr pc, [pc, #undef_handler_address - . - 8] /* undefined instruction */ ldr pc, [pc, #swi_handler_address - . - 8] /* swi handler */ ldr pc, [pc, #pabort_handler_address - . - 8] /* abort prefetch */ ldr pc, [pc, #dabort_handler_address - . - 8] /* abort data */ #ifdef VECTORED_IRQ_INTERRUPTS ..word 0xB9205F84 /* boot loader checksum */ ldr pc, [pc, #-0xFF0] /* irq handler */ #else ..word 0xB8A06F60 /* boot loader checksum */ ldr pc, [pc, #irq_handler_address - . - 8] /* irq handler */ #endif ldr pc, [pc, #fiq_handler_address - . - 8] /* fiq handler */
reset_handler_address: ..word reset_handler undef_handler_address: ..word undef_handler swi_handler_address: ..word swi_handler pabort_handler_address: ..word pabort_handler dabort_handler_address: ..word dabort_handler irq_handler_address: ..word irq_handler fiq_handler_address: ..word fiq_handler
..section .init, "ax" ..code 32 ..align 0
/********************************************************************* *********
* * * Default exception handlers *
* *
********************************************************************** ********/
reset_handler: LDR R0, JTAG2 /* Load R0 with 0x55400000 */ LDR R1, PINSEL1 /* Load R1 with oxE002C004 */ LDR R0, [R1] /* Load PINSEL1 with 0x55400000 */
loop: b loop
JTAG2: ..word 0x55400000 PINSEL1: ..word 0xE002C004
/********************************************************************* *********
* * * Default exception handlers * * These are declared weak symbols so they can be redefined in user code. *
* *
********************************************************************** ********/
undef_handler: b undef_handler
swi_handler: b swi_handler
pabort_handler: b pabort_handler
dabort_handler: b dabort_handler
irq_handler: b irq_handler
fiq_handler: b fiq_handler
..weak undef_handler, swi_handler, pabort_handler, dabort_handler, irq_handler, fiq_handler ..end
Thank's for your help.
Roland
|
|
 | | From: | Anton Erasmus | | Subject: | Re: ARM7 LPC2106 secondary JTAG interface | | Date: | Wed, 05 Jan 2005 16:18:17 +0200 |
|
|
 | On Wed, 5 Jan 2005 13:04:30 +0100, "Roland Macho" wrote:
>Dear group members, >Have an activation problem with the secondary JTAG interface. >Using the Philips application note AN10255 I tried to convert the >assembly code of their ARM assembler to the GNU assembler. The evaluation >board is from Olimex (P1). >CAD system is crossworks + McGraigor Wiggler as programming tool. >The code is transferred via JTAG1 (standard) to the Flash memory and shows >no errors doing that. >But when changing connector to the JTAG2 interface (secondary) this >is not activated by the new code. >It seems to be a task of the right checksum. >But I don't know how to calculate it. > >Can somebody explain this to me ? > [Code Snipped]
Check the archives of the LPC2000 Yahoo group. http://groups.yahoo.com/group/lpc2000/ There was some discussion regarding the secondary JTAG port some time ago.
Regards Anton Erasmus
|
|
 | | From: | developer | | Subject: | Re: ARM7 LPC2106 secondary JTAG interface | | Date: | Sat, 8 Jan 2005 11:50:01 +0800 |
|
|
 | you can buy Philips arm board from
http://arm.web7days.com for a good bargain price.
|
|
 | | From: | druck | | Subject: | Re: ARM7 LPC2106 secondary JTAG interface | | Date: | Sat, 08 Jan 2005 12:41:35 GMT |
|
|
 | On 8 Jan 2005 "developer" wrote:
> you can buy Philips arm board from > > > http://xxx.xxxxxxxx.xxx for a good bargain price. Unsolicited commercial advertising is not acceptible on usenet.
Do not buy from spammers.
---druck
|
|
 | | From: | druck | | Subject: | Re: ARM7 LPC2106 secondary JTAG interface | | Date: | Tue, 18 Jan 2005 18:31:48 GMT |
|
|
 | On 18 Jan 2005 "developer" wrote:
> Do not email to bastian42@yahoo.com, it's a spam-only account :-) > > Use @epost.de instead > > > > > look at the above and you got the answer always. I never email a letter to > outside world. I used qq.
[Snip previous messages]
A spammer, and a top poster.
---druck
-- The ARM Club Free Software - http://www.armclub.org.uk/free/ The 32bit Conversions Page - http://www.quantumsoft.co.uk/druck/
|
|
 | | From: | developer | | Subject: | Re: ARM7 LPC2106 secondary JTAG interface | | Date: | Sun, 16 Jan 2005 11:42:26 +0800 |
|
|
 | we are not spammer at all.
we design a number of products. solar power arm board development team
http://arm.web7days.com arm board http://www.web7days.com/led solar power control center http://www.web7days.com/farm farming
|
|
 | | From: | 42Bastian Schick | | Subject: | Re: ARM7 LPC2106 secondary JTAG interface | | Date: | Mon, 17 Jan 2005 08:53:13 GMT |
|
|
 | On Sun, 16 Jan 2005 11:42:26 +0800, "developer" wrote:
>we are not spammer at all. >
So why is your email changing constantly ?
You are one. And your new email is added tomy spam-filter -- 42Bastian Do not email to bastian42@yahoo.com, it's a spam-only account :-) Use @epost.de instead !
|
|
 | | From: | developer | | Subject: | Re: ARM7 LPC2106 secondary JTAG interface | | Date: | Wed, 19 Jan 2005 01:03:04 +0800 |
|
|
 | Do not email to bastian42@yahoo.com, it's a spam-only account :-) > Use @epost.de instead
look at the above and you got the answer always. I never email a letter to outside world. I used qq.
"42Bastian Schick" дÈëÓʼþ news:41eb7cc3.43406445@news.individual.de... > On Sun, 16 Jan 2005 11:42:26 +0800, "developer" > wrote: > > >we are not spammer at all. > > > > So why is your email changing constantly ? > > You are one. And your new email is added tomy spam-filter > -- > 42Bastian > Do not email to bastian42@yahoo.com, it's a spam-only account :-) > Use @epost.de instead !
|
|