EmbeddedRelated.com
The 2024 Embedded Online Conference

GPIO pin interrupts on LPC17xx

Started by Tim Mitchell in LPC200014 years ago 4 replies

On my LPC1754 I'm trying to set up a falling edge pin interrupt on P0.25. This is my first time with a cortex-m3 part, I am more used to the...

On my LPC1754 I'm trying to set up a falling edge pin interrupt on P0.25. This is my first time with a cortex-m3 part, I am more used to the ARM7's. I can't seem to get the interrupt to happen. Using Crossworks v2. I do this... IO0IntEnF|=(1 <


JTAG debugging fails in new target hardware

Started by life speed in LPC200017 years ago 2 replies

Hi, I am new to the world of ARM7, having previously used PICs. Now I need more processing power and high-precision math so I decided to...

Hi, I am new to the world of ARM7, having previously used PICs. Now I need more processing power and high-precision math so I decided to step up to the world of ARM. I worked with a software developer on a Phytec eval board using an LPC2294 to develop code using the IAR development environment and JTrace debugger which includes ETM debugging capabilities. When the actual target h...


Saving Memory in LPC2103

Started by Graham Jones in LPC200014 years ago 16 replies

Hello Group, I have been developing a program on ARM7 LPC2103 for a year. The project has grown steadily. I am driving UART1, LCD, and some...

Hello Group, I have been developing a program on ARM7 LPC2103 for a year. The project has grown steadily. I am driving UART1, LCD, and some GPIO ports. Recently I started to add code to save into flash and discovered that my program was already 31KB and almost at the limit of the CPU's flash. I am using Keil but in the last few days I downloaded CrossWorks eval and rebuilt the project but ...


Can’t seem to program a target with J-Link

Started by kender_a in LPC200015 years ago 3 replies

Colleagues, Apologies for the newbie question, it's my first attempt with IAR tools. I have a board with LPC2368. When I connect J-Link...

Colleagues, Apologies for the newbie question, it's my first attempt with IAR tools. I have a board with LPC2368. When I connect J-Link and run JLink.exe, it identifies one JTAG device and says that it's ARM7. It suggests that wiring of JTAG is correct. When I try to download a simple program from Embedded Bench into the chip, it doesn't verify and I get warnings: Verify error at ...


Access to SRAM(Read/Write)

Started by ashu...@kanalsolutions.com in LPC200015 years ago 7 replies

Hi, i am new to this group in one of my application i have to read/write external SRAM, i have initialised my emc settings,but being new to...

Hi, i am new to this group in one of my application i have to read/write external SRAM, i have initialised my emc settings,but being new to the ARM7 i do not know the routine to access SRAM. can anybody help me in this regard. I am using LPC2468 (NXP)//32bit microcontroller CY7C1061BV33(cypress)//2 MB external SRAM Regards Tripathi Ashutosh ------------------------------------ ...


Access to SRAM(Read/Write)]

Started by ashu...@kanalsolutions.com in LPC200015 years ago 4 replies

Hi, i am new to this group in one of my application i have to read/write external SRAM, i have initialised my emc settings,but being new to...

Hi, i am new to this group in one of my application i have to read/write external SRAM, i have initialised my emc settings,but being new to the ARM7 i do not know the routine to access SRAM. can anybody help me in this regard. I am using LPC2468 (NXP)//32bit microcontroller CY7C1061BV33(cypress)//2 MB external SRAM Regards Tripathi Ashutosh ------------------------------------ ...


Linker and startup file for LPC2387 / 88

Started by bartddgd in LPC200011 years ago 7 replies

Hi, I'm new to the ARM world, but have used AVR and AVR32 MCUs before with GNU and IAR compilers. Right now I'm trying to get started in the...

Hi, I'm new to the ARM world, but have used AVR and AVR32 MCUs before with GNU and IAR compilers. Right now I'm trying to get started in the ARM7 world using an already existing custom board that is populated with a LPC2387. My tool chain is Yagarto + Eclipse and I have a Segger J-Link EDU and a Olimex ARM-USB-OCD-H available. What I'm now looking for are linker control and startup files ...


UART multiplexing or switching

Started by Doug Sutherland in LPC200019 years ago 1 reply

I wonder if anyone has ideas or suggestions for uart multiplexing, or possibly switching. The solution I am trying to get to is this: I...

I wonder if anyone has ideas or suggestions for uart multiplexing, or possibly switching. The solution I am trying to get to is this: I have an x-scale host and I have an ARM7 that connects to various devices. Three of the devices require uart IO. I would like to find a way to switch modes such that each of these three devices connects to either of the ARM proces


installing GNUARM in Ubuntu

Started by "Ezequiel L. Aceto" in LPC200018 years ago

Hello, I have programmed arm7 in Windows, and now I'm moving to Linux Ubuntu. I have installed eclipse and other tools, but not the...

Hello, I have programmed arm7 in Windows, and now I'm moving to Linux Ubuntu. I have installed eclipse and other tools, but not the GNUARM toolchain, which I use to compile Philips LPC2000 MCU software. I have download the binary of GCC-3.4 toolchain, and extract it to /usr/share/gnuarm (binutils-2.15, gcc-3.4.3-c-c++-java, newlib-1.12.0, insight-6.1, TAR BZ2 [56.0MB]). I also put there th...


LPC2148 SSP with DAC TDA1543

Started by miguel labolida in LPC200015 years ago

Hi, Have some problem about SSP protocol with TDA1543 The problem appears as the last bits (low order) are unordered, giving a distortion for...

Hi, Have some problem about SSP protocol with TDA1543 The problem appears as the last bits (low order) are unordered, giving a distortion for low signals. I had trying lot of configuration combinations=20 without results. Follow the source. Appreciate any help. Tanks in advance. Miguel // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // spi1.c - ARM7 lpc2148 -=A0 DAC...


Crossworks & irq handlers in C

Started by Markus Zingg in LPC200016 years ago 7 replies

Hi all, I'm new to the Crossworks IDE/Envireonment and also to ARM7. I need to declare an IRQ handler function and I'm having troubles to do...

Hi all, I'm new to the Crossworks IDE/Envireonment and also to ARM7. I need to declare an IRQ handler function and I'm having troubles to do so. I looked up the GCC docs (I'm also also new to GCC...) and found the __attribute__ instruction to do so. However, the following code does not seem to be accepted by the compiler. void Handler( void ) __attribute__ ((interrupt ("IRQ") )); { ...


Accurate delay routine in assembly for ARM7, CortexM3 and M0

Started by Alexan_e in LPC200012 years ago 44 replies

Hi I'm using uvision and I'm trying to find an accurate delay routine to be used for microsecond delays. I found the following file in the...

Hi I'm using uvision and I'm trying to find an accurate delay routine to be used for microsecond delays. I found the following file in the forum file area http://f1.grp.yahoofs.com/v1/cFHQTwKGMwfhFULEHzRNBD2QyQNeF258SofnvrkUx8xyLwhR6naRC3y-hmNhng5R4ma o10M40At4JVCPL8A_KnfahRaUevi5/delay.zip The core function in that file is the following four clock delay routine [code] static __inl


LPC2368 webserver FreeRtos

Started by cris...@diteltv.es in LPC200016 years ago 5 replies

Hello, I have downloaded FreeRtos software with some demos. I'm using it's webserver example under ARM7 LPC2368 Rowley. I'm trying to run the...

Hello, I have downloaded FreeRtos software with some demos. I'm using it's webserver example under ARM7 LPC2368 Rowley. I'm trying to run the webserver example with internet explorer and the next message appears: "Loading index.shtml. Click here if not automatically redirected. " Here is a link that i click for redirect to the index.shtml but it never works. What is the problem? ...


IAR LPC2468 getting started detail description

Started by aliarm7 in LPC200014 years ago 1 reply

i Everybody I have bought an evaluation board for LPC2468 from Embeddedartist and using IAR workbench as compiler and flash programing . I...

i Everybody I have bought an evaluation board for LPC2468 from Embeddedartist and using IAR workbench as compiler and flash programing . I am new to ARM7 and for practice started with getting started example of IAR system . I understood most of the main.c program , but I want to know is any description of line by line of files for this example . for example what is the description...


supporting files for lpc2129

Started by raju in LPC200014 years ago 17 replies

i started to work on lpc2129(previously i was with lpc2148) to exploring CAN.Initially i am testing my LPC2129 UART.UART code is...

i started to work on lpc2129(previously i was with lpc2148) to exploring CAN.Initially i am testing my LPC2129 UART.UART code is fine(compatable to lpc2148).i think no changes will done in startup file and linkerscript files.i am using GNU ARM gcc compiler with windows xp as O.S.i am posting the statup file(which is general for all arm7 boards),linker script(just changing the memory sizes of l...


LPC21xx Assembler Source Code - Reference Examples?

Started by tmasyl in LPC200017 years ago 1 reply

Greetings: I would like to find a repository of assembler source code examples specifically for the LPC21xx to have as a reference. Are there...

Greetings: I would like to find a repository of assembler source code examples specifically for the LPC21xx to have as a reference. Are there any web sites that have a good selection of example ARM assembler code routines applicable to the ARM7 TDMI? Many thanks in advance! Tom Alldread


ARM7 Local Bus vs AHB

Started by croquettegnu in LPC200018 years ago 1 reply

Hello, you have answered a post concerning the FAST I/O feature and told that the FAST GPIO were on the local bus because this bus is the...

Hello, you have answered a post concerning the FAST I/O feature and told that the FAST GPIO were on the local bus because this bus is the fastest on the chip and so faster than the AHB bus I would like to know the differences between these two busses because as the ARM Core is a ARM7TDMI-S, you should be able to access directly the AHB bus which for me was the fastest bus... Thanks a ...


Signed 64 bit 32.32 fixed point multiplication algorithm problem

Started by alastair2010 in LPC200016 years ago 4 replies

Hi does anyone know how to do signed 64 bit multiplication on an arm7-tdmi core (LCP2364) I only require the centre 32 bits of the result as...

Hi does anyone know how to do signed 64 bit multiplication on an arm7-tdmi core (LCP2364) I only require the centre 32 bits of the result as the values shouldn't roll into the upper 127 =96 95 bit and the lower 0 =96 31 precision bits can be discarded. I'm programming a digital filter using 32.32 fixed point arithmetic and trying to do the processing efficiently. So far I have the f...


Need example project for Rowley CrossWorks for ARM - C/C++

Started by "jim...@rocketmail.com" in LPC200015 years ago 4 replies

Hello everybody, I'm new to ARM7 development and I'm looking to compile and load my first test program on my Olimex LPC-P2138 development...

Hello everybody, I'm new to ARM7 development and I'm looking to compile and load my first test program on my Olimex LPC-P2138 development board. I'm evaluating the Rowley CrossWorks for ARM compiler/IDE. I've created a solution using the wizard and selected the MCU, Clock Speed etc and a project was created. However, I don't see a source file created the includes a stub for main(). So...


external interrupt (EINT1) problem.... plz help

Started by Balamurugan S in LPC200013 years ago 2 replies

Good day to every one, I do have a problem with external interrupt triggering (EINT1). Iam connecting EINT1 as a Vectored Interrupt source to...

Good day to every one, I do have a problem with external interrupt triggering (EINT1). Iam connecting EINT1 as a Vectored Interrupt source to slot 0. Once executing in the test board of LPC 2129 ARM7 controller, it is not getting triggered when EINT1 switch is pressed. Iam attaching the code: please help me in debugging the code:?: *************************************************************...



The 2024 Embedded Online Conference