EmbeddedRelated.com
Memfault Beyond the Launch

erase flash

Started by kd7vn in LPC200016 years ago

I'm working with a olimex lpc-p2387 dev board, openocd rev 568. Some how I have some memory in flash that I can't erase. I'm not sure if this...

I'm working with a olimex lpc-p2387 dev board, openocd rev 568. Some how I have some memory in flash that I can't erase. I'm not sure if this means anything but when I first telnet in and halt the target I get the following. target state: halted target halted in Thumb state due to debug request, current mode: Supervisor cpsr: 0xa00000f3 pc: 0x7fffe13c What is catches my eye is the "Thu...


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


EXTINT

Started by jdauchot in LPC200016 years ago 8 replies

Hi all I am resending this message again please can you help? I am having problems using external ints again. The code below works OK on...

Hi all I am resending this message again please can you help? I am having problems using external ints again. The code below works OK on a LPC2148 but NOT on a LPC2294 I use OLIMEX boards which has push button wired to EINT0 P0.16 on both boards When I push the button on the lpc2148 board works fine and the interrupt gets cleared. But on the lpc2294, the interrupt fires but never get...


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


Initializing LCD from LPC2478

Started by Alberto de Martini in LPC200015 years ago 3 replies

Hi, I=B4m working with Olimex Kit I would like to configure the LCD in a difere= nt way, for example, change the orientation. I know that...

Hi, I=B4m working with Olimex Kit I would like to configure the LCD in a difere= nt way, for example, change the orientation. I know that there are some registers that I need to set at the initialization, like Register 01H, but = I don=B4t know how to set it. I=B4m using the IAR software: \Program Files\IAR\ARM\examples\NXP\LPC24xx\IAR-LPC-2478\LDC_Demo The LCD is working very well, ...


UART transmit problem with GNU

Started by jesperkr123 in LPC200019 years ago 3 replies

Hey I'm trying to get the UART0 and UART1 working on my LPC2124 Olimex board. I use the WINARM GNU toolchain. I've wrote a simple...

Hey I'm trying to get the UART0 and UART1 working on my LPC2124 Olimex board. I use the WINARM GNU toolchain. I've wrote a simple code to test the UART. But when i send a byte to my PC, the received byte is wrong. This is my test program: void SetUART(int baud){ unsigned int divisor = pCF / (16 * baud); PINSEL0 |= 0


How to remap a program to run it in external SDRAM

Started by Kuba Dorzak in LPC200013 years ago 12 replies

Hi Everybody, I have Olimex LPC-2478-STK board with 64MB SRAM. Using Uboot I'd like to run my whole application in the SDRAM. To achieve the...

Hi Everybody, I have Olimex LPC-2478-STK board with 64MB SRAM. Using Uboot I'd like to run my whole application in the SDRAM. To achieve the goal, I did the following: 1. I modified my linker script- all sections go to the SDRAM, which is defined as: MEMORY { sdram (rwx) : org = 0xA0000000, len = 64M } 2. I remaped the program to external memory: MEMMAP = MEMMAP_MAP...


LPC2148 vs AT91SAMS256 New in the ARM Wolrd: Need To choose!

Started by gasparpollano in LPC200017 years ago 5 replies

Hi Everybody! Im a new in the world of ARM, im previosly use 8051-compatible form Atmel, Z8000 & PIC's. I need to choose between NXP...

Hi Everybody! Im a new in the world of ARM, im previosly use 8051-compatible form Atmel, Z8000 & PIC's. I need to choose between NXP LPC2148 and ATMEL AT91SAMS256, two uC that seems to be very similar. I live in Argentina (by the way, sorry for my bad English!), and the cost of OLIMEX Starters Kits are similar for the two options. One thing I love from ATMEL is th LOW Prices, but...


Demo Code for olimex LPC 2378 STK

Started by jdauchot in LPC200016 years ago

Hi I have the code for the LPC 2378 but this happens when I compile it What are those variables are they 2378 Registers or globle variables?...

Hi I have the code for the LPC 2378 but this happens when I compile it What are those variables are they 2378 Registers or globle variables? ------------------------------------------------------------ Building configuration: adc - Flash_Debug_2378-SK Updating build tree... adc.c Error[Pe020]: identifier "VICADDRESS" is undefined F:\LPC2378- DEMO\arm\examples\NXP\LPC23xx\IAR...


I2C in LPC2103 doesn't work

Started by Artem in LPC200014 years ago 23 replies

Hello. I'm trying to get work I2C0 on Olimex LPC-H2103 board. I'm using: Eclipse Zylin Embedded CDT debug plugin 4.10.1 (for gdb...

Hello. I'm trying to get work I2C0 on Olimex LPC-H2103 board. I'm using: Eclipse Zylin Embedded CDT debug plugin 4.10.1 (for gdb debugging) YAGARTO GNU ARM toolchain, build 23.12.2009 (Binutils-2.20, Newlib-1.18.0, GCC-4.4.2, GDB-7.0.1) OpenOCD 0.4.0 I can't even pass start-byte condition ! I initialize I2C0, send start bit and waiting for state change. Because of my such simple wish I ev...


LPC2148 5V tolerant ports - analog modem

Started by koutote in LPC200012 years ago 17 replies

Hi guys, According to the user guide the ports are 5V tolerant. On my hobby project I want to connect a 5V analog modem to...

Hi guys, According to the user guide the ports are 5V tolerant. On my hobby project I want to connect a 5V analog modem to LPC2148. Should I connect them or should I place a level shifter (which come in SMD cases and I can't do it directly). And another question: On OLIMEX P2148 board the two ports for hardware flow control (RTS/CTS) are connected to 2 leds. Is there any clever way...


Problem with Olimex LPC-H2888 board

Started by Bogdan Marinescu in LPC200016 years ago 2 replies

Hello all, I've been using the LPC-H2888 board for quite a while now, programming it using the USB DFU method. Recently I got a new computer,...

Hello all, I've been using the LPC-H2888 board for quite a while now, programming it using the USB DFU method. Recently I got a new computer, and I tried to reinstall the DFU drivers from Philips, but in vain. I'm using Windows XP, and when I connect the board (setup for "USB download") the system either reports that "USB device was not recognized", or it finds an "unknown device" that is ...


Philips Flash Utility for LPC2148?

Started by skyspyco in LPC200018 years ago 6 replies

I recently switched development boards from the Olimex LPC2138 to the LPC2148. Now it seems that the standard Philips Flash Utility (ver....

I recently switched development boards from the Olimex LPC2138 to the LPC2148. Now it seems that the standard Philips Flash Utility (ver. 2.2.0) that I was using for the LPC2138 does not include the LPC2148 in its supported devices list. What are you using to program the flash on the LPC2148? Is Lpc21isp the only free Win tool for flash programming on the LPC2148? Thanks, Paul


C++ debugging with OpenODC and eclipse

Started by marc...@free.fr in LPC200014 years ago 6 replies

Hi, I am getting less and less hair... I try to debug C++ whit Eclipse, OpenOCD (0.3.1), zylincdt (4.10.1) and a OLIMEX ARM USB jtag. with...

Hi, I am getting less and less hair... I try to debug C++ whit Eclipse, OpenOCD (0.3.1), zylincdt (4.10.1) and a OLIMEX ARM USB jtag. with c files everythin is working fine, and I can do start/stop step by step and everything in the source code. But with a cpp source it complains that the source fine is not available. (debugging at assembly level is working) Error message No source a...


IAR J-Link JTAG debugger + Linux + GCC

Started by jcwren in LPC200017 years ago 3 replies

I've hit the wall where printf() debugging isn't going to fix a problem I've run into. I've got a USB IAR J-Link dongle, the Olimex LPC-P2148...

I've hit the wall where printf() debugging isn't going to fix a problem I've run into. I've got a USB IAR J-Link dongle, the Olimex LPC-P2148 board, arm-elf-gcc, and a Linux box. Can I make this stuff play together? Got a pointer to a guide on making this work? I've been Googling, but so far I've mostly found Windows solutions. Running the IAR software is not an option. If I *have* t...


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


Crossworks - loader communication buffer too small

Started by Markus Zingg in LPC200014 years ago 2 replies

Hi all, I started to work on an olimex LPC2478 board and intend to write some proprietary firmware using Crossworks. I sucessfully did some...

Hi all, I started to work on an olimex LPC2478 board and intend to write some proprietary firmware using Crossworks. I sucessfully did some projects with the Amontec JTAG tiny, and can connect to the board from within Crossworks. However, when I try to download my code to start debugging, a "loader communication buffer too small" error message apears. The Output window does not show a...


Matrix keypad on port0 not work ?

Started by pas4arm in LPC200014 years ago 1 reply

Hi. I had to my Olimex LPC-P2138 a matrix keypad 4x4, connected on port1 (Rows on P1.16 to P1.19, and Columns on P1.20 to P1.23), and it works...

Hi. I had to my Olimex LPC-P2138 a matrix keypad 4x4, connected on port1 (Rows on P1.16 to P1.19, and Columns on P1.20 to P1.23), and it works fine ! Now, i want to connect this keypad on port0, for example rows on P0.3 to P0.6, and columns on P0.7 to P0.10, and it doesn't work... the keypad have a strange behaviour... So it's a normal thing, i can't use it on port0 ? (be indulgent, i'm a newbi...


LPC2106 Timer0 configuration & Interrupt ..newbie..!

Started by gtpats in LPC200015 years ago 8 replies

Hi I am trying to configure timer0 and get an interrupt on match. Using LPC2106 olimex board. 14.7456MHz crystal. I am not able to get into...

Hi I am trying to configure timer0 and get an interrupt on match. Using LPC2106 olimex board. 14.7456MHz crystal. I am not able to get into the ISR where i am trying to ON a LED. Please let me know what I must do, here is the code #define VICINTSEL (*((volatile unsigned long *) 0xFFFFF00C)) #define VICINTEN (*((volatile unsigned long *) 0xFFFFF010)) #define VICCNTL0 ...


LPC-2378-STK board LCD Screen using Crossworks.

Started by jasuk1970 in LPC200016 years ago 13 replies

Hi, Hopefully by the weekend I should be up and running with Crossworks and my Olimex LPC-2378-STK Board. One of the things I would like to...

Hi, Hopefully by the weekend I should be up and running with Crossworks and my Olimex LPC-2378-STK Board. One of the things I would like to be able to do is start using the Nokia Screen on the device. Does anyone have a basic examples of using the screen with the Crossworks compiler? I am new to Arm programming but If I could basically Initialise/power up the screen and send data to i...



Memfault Beyond the Launch