EmbeddedRelated.com
Memfault Beyond the Launch

assembly tutorials

Started by anish n in LPC200018 years ago 6 replies

Hi, i am doing a project on LPC2138, we have to code in assembly. could any one please tell me a good assembly tutorial or some sort of ...

Hi, i am doing a project on LPC2138, we have to code in assembly. could any one please tell me a good assembly tutorial or some sort of link for that ? is there any linux program to upload the program to lpc2138 ??? thanks in advance bye --------------------------------- Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time.


LPC2138 ADC problem

Started by hus_kalydonios in LPC200016 years ago 4 replies

Hi all, I'm trying to test the ADC on the LPC2138 (using Rowley and Olimex evaluation board), but I can't get it to work and I can't figure...

Hi all, I'm trying to test the ADC on the LPC2138 (using Rowley and Olimex evaluation board), but I can't get it to work and I can't figure it out. The ADC conversion never completes and my code just blocks while waiting for the done bit to be set... Here's my code: //init //#define AD0CR (*((volatile unsigned long *) 0xE0034000)) //#define AD0DR (*((volatile u...


LPC2138 ISP Problem

Started by Rahul Gaikwad in LPC200016 years ago 3 replies

hi everyone, i have designed my own lpc2138 pcb=20 all the components are mounted on the pcb and are correct , i also have a switch at P0.14 to...

hi everyone, i have designed my own lpc2138 pcb=20 all the components are mounted on the pcb and are correct , i also have a switch at P0.14 to put the controller board . but the problem is that the controller is just not going into ISP mode . i am using LPC2000 Flash Utility V2.2.1. by PHILIPS=20 for communication purpose i have used MAX3232 and the capacitors on MAX3232= are 100nF each=2...


LPC2138 RTC

Started by drybak2000 in LPC200019 years ago 5 replies

I don't understand the idea of VBAT in LPC2138. I want to have RTC running in case of main power supply failure. I didn't find...

I don't understand the idea of VBAT in LPC2138. I want to have RTC running in case of main power supply failure. I didn't find any information about a battery backup switch in LPC. So if I connect a battery to VBAT, RTC is powered from the battery all the time. I'm afraid that the life of my battery will not be long. I can add an ex


LPC2138 another try on freertos

Started by Giuseppe Marullo in LPC200014 years ago 16 replies

Hi all, I am going to try again to port the freertos for this combination: - LPC2138 with just one uart (uart1) readily available (there is a...

Hi all, I am going to try again to port the freertos for this combination: - LPC2138 with just one uart (uart1) readily available (there is a fpga between uart1 and the serial port configured to forward data to the pc). Uart 0 pins are available and can be connected to the fpga as well but not both at the same time. - 24MHz fixed clock (slave from a FX2 chip), I would like to reach 48MH...


100 MHz clock using LPC2138

Started by sudip nag in LPC200019 years ago 13 replies

Dear All, I would like to generate 60 MHz to 100 MHz clock, in controlled step of 1 MHz, with 50% duty cycle using LPC2138. Any...

Dear All, I would like to generate 60 MHz to 100 MHz clock, in controlled step of 1 MHz, with 50% duty cycle using LPC2138. Any suggestion how to generate the same. Match functionality is inappropriate for generating such high frequency. Sudip --------------------------------- Free antispam, antivirus and 1GB to save all


LPC2138 ADC interrupt problem

Started by osaelhaggar in LPC200018 years ago 2 replies

hi all, i'm new in the group , but i hope i will be helpful with you & share my little knowledge with you. well, i'm working on the OLIMEX...

hi all, i'm new in the group , but i hope i will be helpful with you & share my little knowledge with you. well, i'm working on the OLIMEX LPC2138 evaluation board & ARM cross works compiler & debugger. i'm working on implementing a Voice Over Wifi phone. i want to run the ADC & get samples for the voice @8khz ,& i will put the samples in a frames to pass it for the compression cod...


FreeRTOS on LPC2138 with ADS 1.2 (CodeWarrior IDE + AXD)

Started by raymond in LPC200018 years ago 2 replies

Hi, I am a hardware engineer and just started to pickup the firmware development on RTOS. I find that the FreeRTOS could be useful for my...

Hi, I am a hardware engineer and just started to pickup the firmware development on RTOS. I find that the FreeRTOS could be useful for my remote network project. I am a beginer in using FreeRTOS and LPC2138 processor. It seems that for LPC series, there are only IAR, GCC, ROWLEY and KEIL available on the web. Does anyone here tried FreeRTOS in ADS 1.2 ? I am using the Codewarrior IDE w...


LPC2138 will not come out of bootloader mode

Started by kennytrussell in LPC200017 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...


TeraTerm, RTS, and Reset

Started by stephen_osborn_co in LPC200018 years ago 2 replies

I built a new board and put on the RTS controlled Reset feature so I could allow the Philips Flash programming utility to control DTR and RTS...

I built a new board and put on the RTS controlled Reset feature so I could allow the Philips Flash programming utility to control DTR and RTS to program the LPC2138. A problem happens with I bring up TeraTerm on the same serial port. TeraTerm sets the RTS line, which holds the LPC2138 in reset. Did I miss an applications note somewhere?


LPC2138 Flashing Help needed

Started by priyankvmaiya2 in LPC200014 years ago 6 replies

Hi, I newly started working on this board. I am trying to flash a hex file onto my lpc2138 board. But even though I flash different hex files, I...

Hi, I newly started working on this board. I am trying to flash a hex file onto my lpc2138 board. But even though I flash different hex files, I get the same output on the board. i.e. I see that the 2 LEDs glow on and off alternately. I am now confused whether my board has a problem or I am flashing incorrectly. I also suspect the Erase of the blocks is not happening properly. I am using Flash ...


interrupt handling GCC using LPC2138

Started by ravindra_lpc in LPC200018 years ago 6 replies

hi all , I m using LPC2138 with GCC .I hav tested timer interrupt & External Interrupt working .Previouosly I was using Keil ARM Tool for...

hi all , I m using LPC2138 with GCC .I hav tested timer interrupt & External Interrupt working .Previouosly I was using Keil ARM Tool for same borad. I had changed startup.s file for interrupts to work. In startup.s I changed as follows: ********************************************************************* Vectors: LDR PC, Reset_Addr LDR PC, Undef...


Debuging lpc2138 with GNU-arm-gdb

Started by soren_t_hansen in LPC200019 years ago 4 replies

I'm trying to establish a development enviroment to a lpc2138 on the Keil MCB2130 evaluation board. I'm using Eclipse and would like to ...

I'm trying to establish a development enviroment to a lpc2138 on the Keil MCB2130 evaluation board. I'm using Eclipse and would like to debug my program using the GNU-arm-gdb. To connect to the board I'm using the Raven OCDemon from Macraigor and their program OCDRemote to interface between JTAG and GDB. But so far I'm having some problems. At firs


LCD controller interface to LPC2138?

Started by matterama3444 in LPC200017 years ago 4 replies

Hi all, I'm looking to use an LPC2138 with an LCD controller to provide graphical output for my project. I'm looking for something on...

Hi all, I'm looking to use an LPC2138 with an LCD controller to provide graphical output for my project. I'm looking for something on the order of a 5 inch TMR / TFT LCD display. Can anyone point me to a site or combination of controller/LCD's/ARM's that you've used in the past that might make sense? I want to make some graphs, output data, standard stuff. I need about 5 inches to ...


regarding srf08(ultrasonic sensor) comm prob with lpc2138

Started by Viren Dobariya in LPC200015 years ago 13 replies

hi, i have interface srf08-ultrasonic sensor with i2c bus of lpc2138.but i am facing communication problem with this interfacing. can anybody...

hi, i have interface srf08-ultrasonic sensor with i2c bus of lpc2138.but i am facing communication problem with this interfacing. can anybody give me sample code of srf08-ultrasonic sensor with lpc21xx?? thanks viren Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ ------------------------------------


Interfacing LPC2148 with SD Card - EFSL (is an LPC2138 == LPC2148+USB?)

Started by Gaspar Pollano in LPC200016 years ago 2 replies

Hi forum! Im dealing with the implementation of "efsl Demo-Application for Philips LPC2138 ARM7TDMI-S" from Martin Thomas in a LPC2148 Olimex...

Hi forum! Im dealing with the implementation of "efsl Demo-Application for Philips LPC2138 ARM7TDMI-S" from Martin Thomas in a LPC2148 Olimex DevKit. (For those who dont know, is an example for using SPI/SSP port on the LPC for interfacing an SD/MMC with a FAT file system) found it here: http://www.siwawi.arubi.uni-kl.de/avr_projects. There is anybody outhere that have success with a...


LPC2138/01 won't run program

Started by tobi...@drschlegel.de in LPC200013 years ago 35 replies

Hi, sorry I know the Title sounds like a really trivial problem, but I tried everything I could find on the net, and now I'm a little clueless....

Hi, sorry I know the Title sounds like a really trivial problem, but I tried everything I could find on the net, and now I'm a little clueless. A while ago I designed a little board with a LPC2138FBD64/01; The schematic was based upon an olimex dev board with LPC2138 (http://www.olimex.com/dev/pdf/ARM/LPC/LPC-MT-2138%20-%20schematic.pdf). I managed to establish a JTAG-connection using the ...


LPC2138 INTERRUPT PROBLEM-- ISR NOT GETTING EXECUTED

Started by "KARTHICK, V.S. KARTHICK" in LPC200014 years ago 2 replies

hi all ???? I AM NEW TO LPC2138 AND I AM TRYING TO USE INTERRUPT IN MY PROJECTS. I VE READ THE USER MANUAL AND DID THE SETTINGS FOR THE EXTERNAL...

hi all ???? I AM NEW TO LPC2138 AND I AM TRYING TO USE INTERRUPT IN MY PROJECTS. I VE READ THE USER MANUAL AND DID THE SETTINGS FOR THE EXTERNAL INTERRUPT. FOR THE TIME BEING I AM JUS TRYING TO CONNECT A SWITCH TO ONE OF THE EXTINT PINS(P0.14 here) AND SWITCH ON AN LED.. THE CODE IS AS FOLLOWS.. THE PROBLEM WITH IT IS THAT THE ISR IS NOT GETTING EXECUTED EVEN WHEN THE SWITCH GOES ON OR EVEN OF...


SW Support for Interfacing BGW200 (WLAN) with LPC21xx thru SPI.

Started by ranjith_gda in LPC200018 years ago 5 replies

Dear All, I would like to interface Philips BGW200 (802.11 b)with LPC2138 thru serial interface. The Philips given the software support (...

Dear All, I would like to interface Philips BGW200 (802.11 b)with LPC2138 thru serial interface. The Philips given the software support ( Linux driver) for the device BGW200. But In LPC2138 (without OS),how can we make it work? If any one did the interface,pls post your valuable inputs. Thanks Ranjithkumar M.


RTOS + Scripting + Ethernet + Web + FAT + ... + N

Started by Boris Estudiez in LPC200017 years ago 7 replies

25/Mar/2007 - 02:31 PM Hi All, I'm planning to use the following software modules in my LPC2138 microcontroller: * Real Time Operating...

25/Mar/2007 - 02:31 PM Hi All, I'm planning to use the following software modules in my LPC2138 microcontroller: * Real Time Operating System (uCOS-II or FreeRTOS). * Ethernet (ENC28J60, drivers, protocol ...). * TCP/IP Stack + Web Server (lwIP). * Scripting (Virtual Machine -> Pawn Language). * Secure Digital Card (FAT16/32 -> EFSL). The LPC2138 has 512KB Flash / 32KB RAM and 60



Memfault Beyond the Launch