EmbeddedRelated.com
Memfault Beyond the Launch

Re: LPC2378 programming pitfalls

Started by egna...@yahoo.com.br in LPC200016 years ago 2 replies

Hello friends, I'm with the same problem. After uploading of a test software using H-JTAG, parallel j-tag (from Olimex) and LPC-E2294,...

Hello friends, I'm with the same problem. After uploading of a test software using H-JTAG, parallel j-tag (from Olimex) and LPC-E2294, the microcontroller seems to be damaged. When in the internal flash operation (boot0 and boot1 selected) the messages displayed is "can't halt target and make it enter DEBUG state". Curiously, when I change to 32-bit external memory (changing boot0 and boot 1...


Bootloader on LPC2294

Started by elta...@gmail.com in LPC200017 years ago 1 reply

Dears, It is my first time in RTOS world i am try to load uClinux on my development board (LPC-E2294) the problem that faced me that i can't load...

Dears, It is my first time in RTOS world i am try to load uClinux on my development board (LPC-E2294) the problem that faced me that i can't load any bootloader on my board , i tried to load (u-boot & blob) but 2 solution was failed Which bootloader that can i use ? and how to load it in my board? Thanks in advance Tanahy


Getting OpenOCD running with Olimex ARM-USB-OCD & LPC-E2294 board

Started by peter_lanius in LPC200014 years ago 2 replies

Hi, I am switching from Atmel AVR to LPC-22xx development and have to learn from scratch yet again ;( I am following James Lynch's tutorial...

Hi, I am switching from Atmel AVR to LPC-22xx development and have to learn from scratch yet again ;( I am following James Lynch's tutorial (Rev C) for getting up and running, but I am using the Olimex LPC-E2294 board. I am using the Olimex ARM-USB-OCD JTAG. I have successfully installed the Olimex ARM-USB-OCD drivers, OpenOCD 0.2, YAGARTO toolchain and Eclipse. The next step in the ...


Problem running FreeRTOS standalone on LPC-E2294

Started by plovell2 in LPC200017 years ago 4 replies

Hi All, I currently have a problem where I can't get my software to run standalone on the LPC-E2294 dev board from Olimex. Using the...

Hi All, I currently have a problem where I can't get my software to run standalone on the LPC-E2294 dev board from Olimex. Using the CrossWorks compiler and FreeRTOS, I have a simple application that creates a task to flash an LED every second. Everything works fine when I debug it using the CrossConnect JTAG interface. But the problem I'm having is, if I now download the hex file an...


LPC-E2294 and LPC200 flash utility

Started by Abbas Adel in LPC200017 years ago 1 reply

Dears, I have LPC-E2294 board. I want to download hex file using Philips LPC2000 flash utility but I always get "Couldn't communicate wit test...

Dears, I have LPC-E2294 board. I want to download hex file using Philips LPC2000 flash utility but I always get "Couldn't communicate wit test board" Any clue? Thanks in advance BISO


getting started lpc2294

Started by daniel_7144 in LPC200018 years ago 4 replies

i want to get started with the lpc2294 i have the lpc2000 flash utility instaled and lpc-e2294 development board can anyone tell me what...

i want to get started with the lpc2294 i have the lpc2000 flash utility instaled and lpc-e2294 development board can anyone tell me what software do i download to write code/compile programs? i currently use c/c++ for AVRs thanks, daniel


Stepper Motor Control using LPC-E2294 board

Started by arm_techie arm_user in LPC200017 years ago 1 reply

Hi all, For one of my applications, I have to control the stepper motors. I have procured LPC -E2294 REVB Board. I would like to...

Hi all, For one of my applications, I have to control the stepper motors. I have procured LPC -E2294 REVB Board. I would like to control stepper motors using ARM LPC-E2294 board. I came to know that for controlling more than one stepper motor, we can use parallel port in a computer. Now my question is, whether I can control multiple stepper motors using LPC-E2294 Board? -- With R...


Using external memory with LPC-2294

Started by jdauchot in LPC200017 years ago 5 replies

Hi I am using the OLIMEX LPC-E2294 board with external ram fitted. The development tools I am using are ECLIPSE and GNU tool chain and the...

Hi I am using the OLIMEX LPC-E2294 board with external ram fitted. The development tools I am using are ECLIPSE and GNU tool chain and the IAR Kick Start compiler. I would like to locate and map some but all the ram variables to the external ram as I am running out of internal ram space(16K). What do I do to the linker files to achieve this. I know that I need initialise the external...


CAN - problem with TX Error Counter

Started by miruffer in LPC200019 years ago 2 replies

Hi, I have the LPC-E2294 develpmentboard from olimex. The CAN-controllers work fine, but if I plug off the CAN-cable the CAN-controller...

Hi, I have the LPC-E2294 develpmentboard from olimex. The CAN-controllers work fine, but if I plug off the CAN-cable the CAN-controller should go into bus-off state, after the TX-ERROR Counter reachs 255. The error interrupts works fine and in the "Interrupt and Capture Register" the controller captured the "ACK Slot".


LPC24xx Ethernet (errata, reliability, compatibility to LPC23xx)

Started by Mark Butcher in LPC200015 years ago 10 replies

Hi All I have the following Ethernet problem with the LPC2478 (on Olimex LPC-2478-STK): - Note 1: the Ethernet driver is the same as the one...

Hi All I have the following Ethernet problem with the LPC2478 (on Olimex LPC-2478-STK): - Note 1: the Ethernet driver is the same as the one used for the LPC23XX (RMII mode) - Note 2: the same test works without any problems on the LPC2378 on Keil MCB2300 and Olimex LPC2378-STK (tested at 10M and 100M) - Note 3: the test can be seen at http://demo.uTasker.com (not on the LPC24XX at the momen...


Using Bit Field structures to access LPC-2000 registers

Started by jdauchot in LPC200015 years ago 35 replies

Hi All I see from IAR C code examples that they use bit field structures to access the LPC-2000 registers. This a neat idea. My knowledge of...

Hi All I see from IAR C code examples that they use bit field structures to access the LPC-2000 registers. This a neat idea. My knowledge of C does not go deep enough to understand the way IAR C code is written which is complicated enough as it goes very deep into lots of embedded include files. Has anyone used this technique using GCC/Yargarto tool chains. If so can anyone send me a samp...


Incorrect RTC Alarm(23:59:59) Issue in LPC2101

Started by prab...@yahoo.co.in in LPC200015 years ago 4 replies

Hi all, I am working on LPC2101 for past 4 months. I am facing one unexpected behavior when put LPC in to Powerdown mode long time and...

Hi all, I am working on LPC2101 for past 4 months. I am facing one unexpected behavior when put LPC in to Powerdown mode long time and wakeup using RTC Alarm. Sample code step: 1.Enable RTC Reset RTC clock in CCR register. then ILR = 0x03; CCR = 0x11; ...


RTC values reset to zero

Started by tayyaba_ch in LPC200015 years ago 4 replies

Hi i am working with LPC 2368 and using 32k external crystal for RTC and cell as RTC power supply. RTC is working fine, i can set and read RTC...

Hi i am working with LPC 2368 and using 32k external crystal for RTC and cell as RTC power supply. RTC is working fine, i can set and read RTC successfully, but some times it resets to 0(hour,minutes,seconds,day,week,month,year) randomly and by setting again its value it works properly. Regards ------------------------------------


RTOS and Interrupts on the 2148

Started by nishchay mhatre in LPC200015 years ago 10 replies

Hi, I am just getting started on the LPC 2148. Using a Keil uVision IDE demo version and serial port to download the code into flash. Should I...

Hi, I am just getting started on the LPC 2148. Using a Keil uVision IDE demo version and serial port to download the code into flash. Should I first port an RTOS to the 2148 before writing software for it (the application is to control a small solar power system)? If so which freely available RTOS is suitable (like FreeRTOS)? Also require help with using the interrupt controller on the 2148....


audio codec

Started by Michal Krestan in LPC200015 years ago 1 reply

Hello, does anyone have an idea how to make software speech compression with ratio at least 1:10 or better on ARM microcontroller? I have...

Hello, does anyone have an idea how to make software speech compression with ratio at least 1:10 or better on ARM microcontroller? I have 16kHz/16bit audio stream, which I need to compress and send over narrow band link, so MCU will not be doing almost anything else, than running speech codec. I'd appreciate porting of speex or something similar with 1:16 ratio, but I'm not sure, that LPC d...


LPC2478 loop and LED on Olimex SDK

Started by "jim.deas" in LPC200015 years ago 2 replies

I am new to the LPC series and using GCC compilers so please forgive me if this is a simple issue. I have managed to configure Eclipse and the...

I am new to the LPC series and using GCC compilers so please forgive me if this is a simple issue. I have managed to configure Eclipse and the associated tools to compile and download code to the Olimex card. After a few days of trial and error I found the following unexplainable operation. The two code fragments below should blink one of the LEDs on the PCB. The only difference is the first o...


Regarding IRQ interrupt

Started by chetan_r_prabhu in LPC200015 years ago 4 replies

Hi there, Please could you explain to me why the value -0x0FF0 is choosen for IRQ processing, in the startup.s file. I have read that for...

Hi there, Please could you explain to me why the value -0x0FF0 is choosen for IRQ processing, in the startup.s file. I have read that for earlier version of VIC used in LPC controllers this value was -0x0120 ;LDR PC, IRQ_Addr LDR PC, [PC, #-0x0FF0] ; Vector from VicVectAddr Regards, Chetan ------------------------------------


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...


LPC2378 KIT OLIMEX JTAG communication failure

Started by otomeran in LPC200015 years ago 2 replies

Hi all, I bought KIT LPC2378-STK http://www.olimex.com/dev/lpc-p2378.html and OLIMEX...

Hi all, I bought KIT LPC2378-STK http://www.olimex.com/dev/lpc-p2378.html and OLIMEX ARM-USB-OCD http://www.olimex.com/dev/arm-usb-ocd.html I installed enclosed Software pack with Eclipse, OCD and YAGARTO, and then installed drivers. Now, when i open lpc2378 project in eclipse, build it and try to run OpenOCD, this message appear: Open On-Chip Debugger 1.0 (2008-10-04-10:...


Final LPC Issue: External Reset happens randomly on LPC2101

Started by prab...@yahoo.co.in in LPC200015 years ago 6 replies

Hi, I am working on LPC2101.LPC is resetting randomly. I found the reset reason using RSIR registers.It shows external reset(Value is 2)....

Hi, I am working on LPC2101.LPC is resetting randomly. I found the reset reason using RSIR registers.It shows external reset(Value is 2). From user guide,assertion of reset pin makes LPC to reset. 1) What are the conditions in LPC2101 to assert reset line automatically? 2) How to debug this in Software level as well as Hardware level? 3) If anybody faced this issue in already, Pleas...



Memfault Beyond the Launch