EmbeddedRelated.com
The 2024 Embedded Online Conference

Re: Olimex LPC-E2468 JTAG Debug: Update

Started by michael brown in LPC200015 years ago 8 replies

Bruce Paterson wrote: > Hmmm > > All is still not fine with ARM-USB-OCD. For some reason I can't get it > to breakpoint on main reliably....

Bruce Paterson wrote: > Hmmm > > All is still not fine with ARM-USB-OCD. For some reason I can't get it > to breakpoint on main reliably. I usually set a temporary breakpoint > there as part of the startup of gdb, but if I do this, it never gets > there. If I just let it halt at random when gdb starts, then I can > put a breakpoint on main and it can get there OK. > Is there an openocd gu


flash write_image doesn't do anything

Started by "log...@sbcglobal.net" in LPC200013 years ago 5 replies

Hi I'm new to ARM processors and JTAG but have some previous experience with other micros like AVR's. I am currently trying to program my...

Hi I'm new to ARM processors and JTAG but have some previous experience with other micros like AVR's. I am currently trying to program my LPC2138 on my custom made board with an Olimex ARM-USB-TINY JTAG adapter. So far I've managed to get almost everything working, except for the config/script files for flashing to device with JTAG. When I tell it to program, the console outputs this: ...


Good places to find boot/crt.s and linker scripts.

Started by Delbert M in LPC200014 years ago 1 reply

Ive been out of the loop for 5 years now, I have come back to arm development in my spare time, looks like a few things have changed. Having...

Ive been out of the loop for 5 years now, I have come back to arm development in my spare time, looks like a few things have changed. Having issues getting interrupts to work, with sample code I found. Been awhile since Ive known exactly what to put in these files. Working with a Olimex lpc2214 header board, their examples don't compile with gcc, they must be using something else. would love to ge...


Re: Help, clarify the boot sequence and MEMMAP

Started by jpmarm2004 in LPC200020 years ago 8 replies

Hi: Since I do not have any special software ( I work from Linux and GCC and Olimex board ) from board manufacturers, I am unable...

Hi: Since I do not have any special software ( I work from Linux and GCC and Olimex board ) from board manufacturers, I am unable to understand the mystery of boot process and how it changes the execution from Flash to SRAM with help of MEMMAP: 1. If initially MEMMAP bits are &


Not returning from, or getting stuck in interrupts (maybe)

Started by kd7vn in LPC200017 years ago 5 replies

I'm new to arm and the tools, but have done some PIC in the past, and I could use some help. I have a OLIMEX board with a lpc2103, and doing...

I'm new to arm and the tools, but have done some PIC in the past, and I could use some help. I have a OLIMEX board with a lpc2103, and doing the developement with the GNU ARM tools. I have made two interrupt routines. One turns on an LED when I get a Uart0 interrupt, and the other prints "Philips" to the serial port when the button gets pushed (extint2). Both interrupt routines get...


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


Virtual com port bootloader on Olime LPC2148 board?

Started by lpcarmed in LPC200017 years ago 5 replies

I wonder how to use the Olimex LPC2148 board - it only has USB connector and no RS232. A virtual com port based bootloader would be nice. I'm...

I wonder how to use the Olimex LPC2148 board - it only has USB connector and no RS232. A virtual com port based bootloader would be nice. I'm not considering JTAG.


uIP checksum problem (LPC2378)

Started by Tim Mitchell in LPC200015 years ago 4 replies

I'm still struggling with getting uIP to work on LPC2378 (Olimex LPC2378STK board). I have got ARP working, but when I send a TCP packet the PC...

I'm still struggling with getting uIP to work on LPC2378 (Olimex LPC2378STK board). I have got ARP working, but when I send a TCP packet the PC shows a checksum error. I've gone through Paul's code for LPC2124 which helped with some structure packing issues, but unfortunately I started with the latest version of uIP which has changed quite a bit from that. I have checked with the FreeRTOS ...


LPC2148 identifyed as a LPC2138?

Started by tiltedkeyboard in LPC200018 years ago 17 replies

Is it normal for the Philips Flash Utility (2.2.3) to ID a LPC2148 as a LPC2138? I'm using a Olimex LPC-P2148 with a clearly marked and...

Is it normal for the Philips Flash Utility (2.2.3) to ID a LPC2148 as a LPC2138? I'm using a Olimex LPC-P2148 with a clearly marked and correcly identifyed LPC-2148 part (ID 196389). I know that they have equal amount of ROM & RAM, but since the LPC2148 *do exist* in the dropdown box *i assumed* it would be selected. One other thing.


Choosing ARM jtag

Started by Serdar Akkan in LPC200014 years ago 27 replies

Hello, I am newbie about ARM uCs. I have experience about uCs and i am interesting in ARM especially LPC's now. I've searched the jtags and...

Hello, I am newbie about ARM uCs. I have experience about uCs and i am interesting in ARM especially LPC's now. I've searched the jtags and dev. env. on google and i read some group messages but i do not know what i should buy as a jtag. I wanna focus on LPC2468 now. After that i will try an ARM9 based uC and then maybe on ARM11. Which jtag(ulink2, jlink, hlink, olimex's openocd etc.) and which...


LPC2148 External Interrupt Issues!

Started by Nils Tijtgat in LPC200014 years ago 2 replies

Hi, this is my first post here, steadily learning ARM but I have a lot of problems doing so :) I am trying to get external interrupt up and...

Hi, this is my first post here, steadily learning ARM but I have a lot of problems doing so :) I am trying to get external interrupt up and running on my Olimex LPC P2148 board (link). I am using ENT1 so I have a wire connected to P0.3 (SDA0 on the board) which I want to trigger an interrupt with if I short it to +3.3V (rising edge, eventually I want to trigger using a photodiode input but for...


undefined instruction exception caused by lsl instruction

Started by Kosta Kliakhandler in LPC200016 years ago 1 reply

Hi, I am developing code for an lpc2138 (currently using an olimex dev board). Right now I'm using gcc-4.2.4 and newlib-1.16 with -O1...

Hi, I am developing code for an lpc2138 (currently using an olimex dev board). Right now I'm using gcc-4.2.4 and newlib-1.16 with -O1 (-OO makes assembly which is hard to debug and some instructions seem to be executed incorrectly) I need to use sprintf to format floating point values for sending via uart, and the line in C produces an undefined instruction exception. Investigating furt...


Modifying LPCUSB HID Example

Started by Border Patrol in LPC200015 years ago 1 reply

All, I am currently using an LPC2148 based custom board with a USB circuit similar to the Olimex devel board, and am rather new to...

All, I am currently using an LPC2148 based custom board with a USB circuit similar to the Olimex devel board, and am rather new to USB firmware. I successfully started with the LPCUSB HID example, and have the following question: Why can't I replace: USBHwRegisterFrameHandler(HandleFrame); with USBHwRegisterEPIntHandler(INTR_IN_EP, Xmit); where Xmit is a function defined rough...


LPCUSB on LPC1343

Started by Mario Ivancic in LPC200010 years ago 2 replies

Hello, Does anyone have a success storry with this topic? I'm trying to implemnt USB-CDC on LPC1343 using LPCUSB stack. I maneged to pass...

Hello, Does anyone have a success storry with this topic? I'm trying to implemnt USB-CDC on LPC1343 using LPCUSB stack. I maneged to pass the enumeration but after that point I have interrupt flood. My setup is like this - Olimex LPC-P1343 board - Total Phase Beagle 12 USB analyser - arm-none-eabi-gcc v4.5.0 - CodeBlocks IDE (with custom Makefile) - debugging using printf (I have J-L...


LPC2478 and 480x272 24BPP

Started by Alberto de Martini in LPC200014 years ago 6 replies

Hello, I am trying to use and 480x272 24BPP TFT with the LPC2478 LCD DEMO code from Olimex kit and is happening something very strange, is not...

Hello, I am trying to use and 480x272 24BPP TFT with the LPC2478 LCD DEMO code from Olimex kit and is happening something very strange, is not appearing some part of the image, the original image is 480x272 and is appearing 480x160, this two images has the same number of pixels. can someone help me? thanks


LPC2106 unable to get Timer Interrupt

Started by abufadel in LPC200017 years ago 8 replies

Greetings, I am trying to get the Timers 0 and 1 to work with interrupts using the Olimex 2106 board, but cannot get the interrupts to work. ...

Greetings, I am trying to get the Timers 0 and 1 to work with interrupts using the Olimex 2106 board, but cannot get the interrupts to work. I am following the example code given in the CrossStudio help, which I provide below. I seem to be unable to get an interrupt? Is there a special way or trick for debugging with interrupts? How can I see what the Timer Counter is? Thank you i...


LPC2148 Olimex 2x16 LCD Code

Started by Jason in LPC200014 years ago 8 replies

Hey guys i will be trying to help out and post code snippets now and then. Here is my code for controlling a 2x16 LCD, 4-Bit mode using a...

Hey guys i will be trying to help out and post code snippets now and then. Here is my code for controlling a 2x16 LCD, 4-Bit mode using a LPC2148: http://atomsofttech.info/code/LCD.rar ------------------------------------


Re: LPCusb with crossworks

Started by pete...@esysr.com in LPC200015 years ago 10 replies

Hello everyone, > > I am attempting to use the lpcusb library available on sourceforge > with an Olimex LPC-P2148 board and crossworks. I...

Hello everyone, > > I am attempting to use the lpcusb library available on sourceforge > with an Olimex LPC-P2148 board and crossworks. I have been able to > set up a project that builds the virtual com example just fine and > shows the appropriate startup text on the console upon startup: > > Initialising USB stack > Registered handler for device status > Registered handler for EP 0x0 > Re


LPC2378 on Olimex board: IRQ understanding problem

Started by stefan_bluhm in LPC200012 years ago 3 replies

Dear all, I am struggling quite a bit in getting the IRQs to work. I am being a bit difficult on setting up the whole IRQ environment. FIQ as...

Dear all, I am struggling quite a bit in getting the IRQs to work. I am being a bit difficult on setting up the whole IRQ environment. FIQ as well as IRQ. I have successfully tested the software interrupt using the SWI assembler instructions. So I have no problems with that. Now this is what I am trying to do: setup he watchdog to generate an interrupt: a) FIQ and b) IRQ. I can't get ...


Using FatFS on Olimex LPC2148 board

Started by richdinoso in LPC200016 years ago 2 replies

How do I adapt FatFS (http://elm-chan.org/fsw/ff/00index_e.html) to my board? I would like to be able to read/write to the SD card on my...

How do I adapt FatFS (http://elm-chan.org/fsw/ff/00index_e.html) to my board? I would like to be able to read/write to the SD card on my board. The website I linked above says "It can be incorporated into cheap microcontrollers, such as 8051, PIC, AVR, SH, Z80, H8, ARM and etc..., without any change." How true is that statement? I assume I have to change the code some. How do I make Fat...



The 2024 Embedded Online Conference