Any examples for I2C or SPI ?

Started by elvis_seventy_seven in LPC200016 years ago

I'm working with the KEIL DKARM Tools 1.2a, using the MCB2100 Evalboard with the KEIL ULINK USB Debugger. Are there any...

I'm working with the KEIL DKARM Tools 1.2a, using the MCB2100 Evalboard with the KEIL ULINK USB Debugger. Are there any example source codes for I2C or SPI implementations for the LPC2106 or LPC2129 ? I looked through several internet resources, but i haven't found any


C and ASM interworking - Compiler error

Started by Embedded Techie in LPC200011 years ago

When i compile a=A0 C code which has inline assembly code (i.e., =A0when i = place=A0 __asm { mov r15, r2;} in one of my C funtion) i am getting...

When i compile a=A0 C code which has inline assembly code (i.e., =A0when i = place=A0 __asm { mov r15, r2;} in one of my C funtion) i am getting the com= piler error as shown below. i have even seen the help but even then it seem= s i am missing some basic thing. can anyone point out the mistake? =A0 Build target 'ULINK' compiling main.c... main.c(78): warning:=A0 #111-D: statement is unrea...


Flash utility for downloading ...need a Help

Started by Haroun Ansari in LPC200014 years ago

Hi, I have a MBC2130 development kit for LPC2138 . I am able to download through JTAG-ULINK(KEIL) debuger. But i couldn't able to download...

Hi, I have a MBC2130 development kit for LPC2138 . I am able to download through JTAG-ULINK(KEIL) debuger. But i couldn't able to download through Philips Flash utility . Is there any special care has to be taken for downloading.. a special thanks in advance.. regards Haroun Ansari


LPC2888 starting problem.

Started by "prashant.medical" in LPC200010 years ago

Hi, I have just got this board from Olimex for LPC2888. Since we already have a ULINK-ME adapter, i tried to port the example code given in...

Hi, I have just got this board from Olimex for LPC2888. Since we already have a ULINK-ME adapter, i tried to port the example code given in the code bundle by NXP to simply toggle a port pin (P2.1). But it's not working. I have tried all possible options like configuring PLL (even though the startup file configures the main PLL). It gave "Cannot load flash programming algorithm" on a n...


Does IAR kickstart IDE support any other jtag dongles beside their?

Started by tinia0 in LPC200014 years ago 2 replies

Hi, I wonder if IAR Kickstart supports any other jtag dongles besideg their j-link. I've just bought MCB2100 (with ULINK JTAG dongle) from...

Hi, I wonder if IAR Kickstart supports any other jtag dongles besideg their j-link. I've just bought MCB2100 (with ULINK JTAG dongle) from Keil and would love to try IAR also. Thanks in advance, regards, Rob. Yahoo! Groups Links


JTAG Pull-up/Pull-down

Started by georgeioak in LPC200013 years ago 3 replies

Hello Everyone: We just started working on our first design based on the LPC2101 part. We have a Keil MDB2103 Eval Board and followed the...

Hello Everyone: We just started working on our first design based on the LPC2101 part. We have a Keil MDB2103 Eval Board and followed the reference design schematic for the JTAG interface which showed TCK and RTCK being pulled down. We had nothing but troubles trying to get the ULINK JTAG adapter communicating and only after we changed these 2 signals to being pull-ups did we successf...


IAP to read part ID

Started by Sridhar gadda in LPC200014 years ago

Hello Friends, I have written IAP to read PART IDENTIFICATION NUMBER for LPC2129. I am using ULINK to burn firmware and want to display...

Hello Friends, I have written IAP to read PART IDENTIFICATION NUMBER for LPC2129. I am using ULINK to burn firmware and want to display part ID on hyperterminal ...but unable to get succed ..am I doing error in my code ... #include #include struct iap_non_volatile { unsigned int cammand; unsigne


Looking for help to get started with Keil

Started by westgateminis in LPC200010 years ago

Hello, I am looking for some help to get started with LPC2378 and Keil uVision4. I have used PICs and the C18 compiler in the past. I am just...

Hello, I am looking for some help to get started with LPC2378 and Keil uVision4. I have used PICs and the C18 compiler in the past. I am just starting with ARM so I am trying to learn a new chip along with new IDE etc. This is what I have: -Bluescreen LPC2378 board from Thai Easy -USB JTAG ULINK ARM debugger -Keil uVision is downloaded and running in evaluation mode So far I have bee...


Re: (unknown) -> JTAG debugger code size constraints

Started by in LPC200014 years ago

Hello nieuw bericht (?), > Do the commercial debug solutions from keil etc have the same constraints, and if not, is it possible to use...

Hello nieuw bericht (?), > Do the commercial debug solutions from keil etc have the same constraints, and if not, is it possible to use a low-cost JTAG emulator (like Amontec's debug value pack) with gcc/gcb to program the lpc2000 processors with full freedom, to the maximum extent? < I use the Keil ARM package with their "ULINK&


Writing EXTINT register

Started by Rodrigo Cesar da Silva Martins in LPC200015 years ago

I've tried this piece of code to configure the EINT0 interrupt: PINSEL1 |= 1; // P0.16 as EINT0 EXTMODE=1; // EINT0 edge...

I've tried this piece of code to configure the EINT0 interrupt: PINSEL1 |= 1; // P0.16 as EINT0 EXTMODE=1; // EINT0 edge triggered EXTPOLAR=0;// falling edge EXTINT=1; //clear interrupt flag I'm using a LPC2129, with DKARM 1.3 (uVision + GNU) and ULINK


LPC2194 JTAG programming problems...

Started by gregdeuerling in LPC200015 years ago 1 reply

I've two Philips LPC designs. One uses a LPC2294 and the other a LPC2194. I've been working on the LPC2294 design for some time...

I've two Philips LPC designs. One uses a LPC2294 and the other a LPC2194. I've been working on the LPC2294 design for some time and have not had any problems at all. My LPC2194 design is a different story. I'm using the Keil DKARM (V1.4) and ULINK to program the LPC's via


Abort exception

Started by in LPC200014 years ago 1 reply

Dear All, Please teach me how to trap & debug abort exception. The only tool I have is ULINK.. Thank...

Dear All, Please teach me how to trap & debug abort exception. The only tool I have is ULINK.. Thank you. Octavius o...@yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> =20 Home is just a click away.=A0 Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/dN_tlB/TM -----------------------------------------------------------


using external sdram on phytec 2294

Started by wunny83 in LPC200015 years ago 5 replies

Hi im new at this but im having trouble storing data to the adress 0x81000000, while my program will run fine if internal memory is used. Im...

Hi im new at this but im having trouble storing data to the adress 0x81000000, while my program will run fine if internal memory is used. Im using keil and uvision ulink with the gcc compiler. I have set up the text start 0x80000000 and data start 0x81000000 in the linker while my top stack is 0x81010000 while I have tried many others because i dont know the exact value of the top stack ...


Re: Debugger for Keil

Started by Sagaert Johan in LPC20008 years ago 4 replies

try ebay i payed 55$ for an ulink2 on ebay ----- Original Message ----- From: Jorge Polar To: l...@yahoogroups.com Sent: Sunday,...

try ebay i payed 55$ for an ulink2 on ebay ----- Original Message ----- From: Jorge Polar To: l...@yahoogroups.com Sent: Sunday, July 10, 2011 6:45 PM Subject: [lpc2000] Debugger for Keil Hello friends, Does anybody knows if there is another HW debugger/emulator for the Keil and LPC2000/LPC1000 devices, besides the ULINK2 or ULINK-PRO? Something cheap...


LPC2131 SPI output drive and ULINK JTAG issues

Started by drb5599 in LPC200014 years ago 2 replies

Hello All, After several months of developing with the MCB2130 eval board I finally got my first prototype hardware. I am pretty excited,...

Hello All, After several months of developing with the MCB2130 eval board I finally got my first prototype hardware. I am pretty excited, but I have a couple issues. My first big issue is the SPI output signals. I am communicating with two other devices over an SPI bus where the LPC is the master. The signals coming out of the LPC are correct, e


LPC2138 will not come out of bootloader mode

Started by kennytrussell in LPC200013 years ago 3 replies

I have a board containing an LPC2138. I cannot get the chip to come out of bootloader mode or at least that is what I think is happening. I...

I have a board containing an LPC2138. I cannot get the chip to come out of bootloader mode or at least that is what I think is happening. I can load programs with no errors through a Keil ULINK but when I go into debug, the code I see starting at address 0 is not my code but instead is a mirror of the bootloader. I can also use the LPC2000 Flash Utility to load the chip, examine the buf...


Strange behaviour of bootloader

Started by Herbert Demmel in LPC200013 years ago 2 replies

Hi,, I've a very strange behaviour of the bootloader (LPC2148): * I can download a program via ULINK from Keil * I can run the ISP routines...

Hi,, I've a very strange behaviour of the bootloader (LPC2148): * I can download a program via ULINK from Keil * I can run the ISP routines via my program and they do what I expect from them * I can not enter the bootloader anymore (either via the Philips flash utility or via Flash Magic) Obviously pin P0.14 is not scanned anymore at startup (yes, I have checked that it is applied) ...


reg keil MCB2140 board and JTAG

Started by katta_sudhir in LPC200014 years ago 2 replies

hi does keil MCB2140 evaluation board supports standard JTAG or only Keil ULINK USB Interface Adapter should be used for keil MCB2140...

hi does keil MCB2140 evaluation board supports standard JTAG or only Keil ULINK USB Interface Adapter should be used for keil MCB2140 board bye sudhir


GPIO behavior

Started by gen_4p in LPC200013 years ago 3 replies

Hi, I am doing some development on Keil lpc2148 development board. I use P0.2,3 as GPIO out (slow GPIOs) ans set them high at certain point....

Hi, I am doing some development on Keil lpc2148 development board. I use P0.2,3 as GPIO out (slow GPIOs) ans set them high at certain point. At a breakpoint (ULINK) I see bits 2,3 set for this pins in both IODIR0 and IOSEL0, and see that they are set as GPIOs in Pin Select Block. Nevertheless a scope shows that pins are low. Could it be any other explanation for this behavior except that...


LPC2148 bulk/production programming

Started by Sutton Mehaffey in LPC20007 years ago 7 replies

I have Keil uVision software for development and a ULINK 2 for programming via a 20 pin JTAG on the circuit board (LPC2148). What is the...

I have Keil uVision software for development and a ULINK 2 for programming via a 20 pin JTAG on the circuit board (LPC2148). What is the easiest approach for initial production programming of these devices on circuit boards (we have SD card updates - but the board must be programmed with a bootloader and production code for the first time)? Meaning, I don't want to include the source f...