Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Olimex mt2106 and IAR EWARM

Olimex mt2106 and IAR EWARM

2004-12-17 by rproveniers

Hello,

I have the following setup:
1-Olimex mt2106 board, you know with LCD display, relay and buttons..
2-IAR 32K limited Kickstart ARM EWARM
3-IAR i-link USB JTAG pod
4- PC with Windows XP prof.

I have tried to port the demo from Senz(@dreamlife) to the IAR compiler.
a- if i download original .hex file (from Senz) with Philips ISP.. it
 works
b- the IAR port , flash-debug settings, download with debugger to
flash,it works when i remove debug and bst jumpers, right out from
flash (after repower)
c- i cannot get it to work via the IAR debugger, not in ram or flash,
   i can activate relay, on/off and toggle leds, but cannot get         
   push-buttons and LCD screen to work??? In the IAR debugger there is 
   complete strange behavior, e.g. IOPIN is not refecting the actual   
   status!!!
d- when i make a .hex file with EWARM and download it with Philips ISP
   it works fine!!!

It looks like i am doing something wrong, but what????
I have the feeling that the IAR debugger is not working with I-LINK
JTAG pod...

Somebody has a clue??

Thanks in advance

Ron

Re: Olimex mt2106 and IAR EWARM

2004-12-17 by tsvetanusunov

Hello Ron,

> c- i cannot get it to work via the IAR debugger, not in ram or 
flash,
>    i can activate relay, on/off and toggle leds, but cannot 
get         
>    push-buttons and LCD screen to work??? In the IAR debugger there 
is 
>    complete strange behavior, e.g. IOPIN is not refecting the 
actual   
>    status!!!
> d- when i make a .hex file with EWARM and download it with Philips 
ISP
>    it works fine!!!

everything is fine :) just read the LPC2106 manual, when JTAG is 
enabled all ports above P0.16 are not available and set to secondary 
JTAG function, as LCD and buttons use ports above P0.16 you can't use 
them while you debug.

Best regards
Tsvetan
---
PCB prototypes for $26 at http://run.to/pcb 
(http://www.olimex.com/pcb)
PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
Development boards for ARM, AVR, PIC, and MSP430  
(http://www.olimex.com/dev)

Re: Olimex mt2106 and IAR EWARM

2004-12-19 by rproveniers

--- In lpc2000@yahoogroups.com, "tsvetanusunov" <tusunov@m...> wrote:
> 
> Hello Ron,
> 
> > c- i cannot get it to work via the IAR debugger, not in ram or 
> flash,
> >    i can activate relay, on/off and toggle leds, but cannot 
> get         
> >    push-buttons and LCD screen to work??? In the IAR debugger there 
> is 
> >    complete strange behavior, e.g. IOPIN is not refecting the 
> actual   
> >    status!!!
> > d- when i make a .hex file with EWARM and download it with Philips 
> ISP
> >    it works fine!!!
> 
> everything is fine :) just read the LPC2106 manual, when JTAG is 
> enabled all ports above P0.16 are not available and set to secondary 
> JTAG function, as LCD and buttons use ports above P0.16 you can't use 
> them while you debug.
> 
> Best regards
> Tsvetan
> ---
> PCB prototypes for $26 at http://run.to/pcb 
> (http://www.olimex.com/pcb)
> PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
> Development boards for ARM, AVR, PIC, and MSP430  
> (http://www.olimex.com/dev)



Tsvetan,


Thanks a lot, This will end my ethernal search.


regards


ron

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.