EmbeddedRelated.com
Memfault Beyond the Launch

Is SSP Possible with SPI Flash Mem?

Started by sig5534 in LPC200016 years ago 3 replies

I'm trying to setup an SSP port as SPI to interface with a 4M SPI Flash memory chip, eg. M25P40. For a MEM write cycle, you must send 8 bit...

I'm trying to setup an SSP port as SPI to interface with a 4M SPI Flash memory chip, eg. M25P40. For a MEM write cycle, you must send 8 bit opcode, 24 bit adr, and 8 bit data. For a MEM read cycle, you send 8 bit opcode, 24 bit adr, and then read 8 bit data. How is this possible with the SSP/SPI setup of these LPC MCUs? They only have 1 reg setting for "data size", 4-16 bits. But th...


Problem with NicheLite TCP/IP stack

Started by tprochownik in LPC200016 years ago 1 reply

Hello. I have downloaded NicheLite TCP/IP stack for LPC200 from Inter Niche. I have compiled example project (included in source) with Keil...

Hello. I have downloaded NicheLite TCP/IP stack for LPC200 from Inter Niche. I have compiled example project (included in source) with Keil uVision and downloaded it into MCB2300 eval board. Let's start: NicheLite for LPC, v3.0 Copyright 1997-2006 by InterNiche Technologies. All rights reserved. Unable to open NV Parameters file "webport.nv" Creating sample file nv_defaults: s...


LPC2378 and ethernet problem

Started by Peter Kic in LPC200015 years ago 13 replies

Hi!! I have MCB2300 and I made a ethernet aplication with RTL. Its work fine. Then I made own hardware, that is similar to MCB2300,...

Hi!! I have MCB2300 and I made a ethernet aplication with RTL. Its work fine. Then I made own hardware, that is similar to MCB2300, ethernet part is the same. Software, that works on MCB2300 on my board don't work. At ethernet inicialization just crash. Than I can't reprogram board again, I have to run LPC in bootload (P2.10 low at start up). I looked disassemly and I notice that crash hap...


flash data storage on lpc

Started by zhli...@yahoo.com in LPC200016 years ago 12 replies

Hi, Has anyone used the flash on a LPC2468 as application data storage? I have a file system and wish to store files on the unused part of the...

Hi, Has anyone used the flash on a LPC2468 as application data storage? I have a file system and wish to store files on the unused part of the flash. What are the ways of gaining access? Thanks for your help. Regards, Zhao ------------------------------------


Remote NDIS over USB

Started by Bruce Paterson in LPC200016 years ago 1 reply

Haven't seen any mention of remote NDIS on the list so far. Has anyone implemented remote NDIS, perhaps on top of the lpcusb stack in...

Haven't seen any mention of remote NDIS on the list so far. Has anyone implemented remote NDIS, perhaps on top of the lpcusb stack in conjunction with a TCP/IP stack like lwIP ? Could be quite handy for configuring LPC devices that have USB, but not Ethernet, using a webserver on a PC or Linux box without any special drivers needed at the PC end. Is this a hopeless dream on a flash device...


write/read external Flash S29AL016D connected to LPC 2212

Started by fourati_khaled in LPC200016 years ago 2 replies

Hello, I use an NXP LPC2212 with an external Flash Spansion S29AL016D connected by Address bus and data bus I can't communicate with...

Hello, I use an NXP LPC2212 with an external Flash Spansion S29AL016D connected by Address bus and data bus I can't communicate with Flash. I can't read or write over this external Flash. Is it a problem of synchronisation? Can you help me please? ------------------------------------


pulses counter with LPC2378

Started by fablucas in LPC200016 years ago

We are trying to evaluate if the LPC 2378 could fit our application and I would need your expertise on this: We would like to capture an...

We are trying to evaluate if the LPC 2378 could fit our application and I would need your expertise on this: We would like to capture an external 4MHz signal clock. To do this we would configure the timer as counter. We would need to latch the counter value on an event from the capture input (frequency about 10 times lower than external clock) and this should generate an interrupt. My unders...


MCB2300 with LPC2387 - help: need freertos port

Started by nagik in LPC200016 years ago 10 replies

Dear All, I am looking for the freertos port for the MCB2300 with LPC2387. I tried with the version present in this group's (which was for...

Dear All, I am looking for the freertos port for the MCB2300 with LPC2387. I tried with the version present in this group's (which was for MCB2300 with LPC2378) 'file' list but it didn't work. I would be grateful if someone can share a working freertos port for LPC 2387. Alternately, if someone can suggest the changes to be carried out for converting the LPC2378 freertos port to LPC 238...


LPCUSB Serial Flow Control

Started by thirdshoedrops in LPC200016 years ago 4 replies

For Bertrik or anybody else who's familiar with LPCUSB: is there flow control built into USB and/or LPCUSB? I know a device can return "NAK" to...

For Bertrik or anybody else who's familiar with LPCUSB: is there flow control built into USB and/or LPCUSB? I know a device can return "NAK" to tell the host it can't accept/send data during a frame, so it seems like it would inherently handle buffer full, etc. I'm writing a USB bootloader for my Olimex LPC-H2148 board because it'll be installed in a system without an RS232 port. I have ...


Error on nichelite compilation for LPC2378

Started by cmay...@yahoo.com in LPC200016 years ago

Hi, I compiled the free Nichelite TCP IP version with the following errors copied bellow. Please, could somebody help me? Thanks for your...

Hi, I compiled the free Nichelite TCP IP version with the following errors copied bellow. Please, could somebody help me? Thanks for your attention. S.Maybisher Rebuilding configuration: nichelite_lpc23xx - IAR-LPC-P2378-SK Debug Updating build tree... 65 file(s) deleted. Updating build tree... eint0.c Error[Pe020]: identifier "VICADDRESS" is undefined D:\TCPIP_nicheLi...


Re: Demo Code for olimex LPC 2378 STK

Started by cmay...@yahoo.com in LPC200016 years ago

Hi, I solved it today. I looked for the registers in the LPC2378 user manual and I added the defines, using casting to pointer with their...

Hi, I solved it today. I looked for the registers in the LPC2378 user manual and I added the defines, using casting to pointer with their address. Shmuel. Hi, > I have the same problem. Did you solve it? > Thanks. > > S M > > 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? > >


new to LPC

Started by s76jensen in LPC200015 years ago 8 replies

Hi... I'm pretty new in the LPC world, so plan to follow this...

Hi... I'm pretty new in the LPC world, so plan to follow this tutorial: =20 http://www.sparkfun.com/tutorial/ARM/ARM_Cross_Development_with_Eclipse. pdf I am used to eclipse and GDB, but have never used LPC. So my Q: Is this the best/easyest way to get startet or is there=20 another way that i should try. Thanks=20 S=F8ren - DK =20=20=20 ------------------------------------ ...


RSTOUT pin (LPC2388) and DP83848I

Started by carlochiesa78 in LPC200014 years ago 7 replies

Hello all, I need more details on the \RSTOUT pin of the LPC2388. > From the user manual: "RSTOUT =97 This is a 3.3 V pin. LOW on this pin...

Hello all, I need more details on the \RSTOUT pin of the LPC2388. > From the user manual: "RSTOUT =97 This is a 3.3 V pin. LOW on this pin indicates LPC23xx being in Reset state." Is this pin an open-drain or push-pull output? I have seen a 10k pull-up resistor in some reference design... (i.e. LPC-2478STK and others) How does this pin work at power-up/down? My idea was to connect


LPC and LCD problem

Started by zanakca in LPC200015 years ago 1 reply

Hello community ! I D4 P0.5 -> D5 P0.6 -> D6 P0.7 -> D7 P4.15 -> E P4.27 -> RS P4.29 -> RW Code: #include...

Hello community ! I D4 P0.5 -> D5 P0.6 -> D6 P0.7 -> D7 P4.15 -> E P4.27 -> RS P4.29 -> RW Code: #include "lpc2468_registers.h" #include "lcd.h" #define BUSY_MASK 0x00000080 #define TRUE 1 #define FALSE 0 void InitLeds(void); vo


lpc2468 HID USB

Started by Martijn Broens in LPC200015 years ago 4 replies

Hi all, I know it's been here several times before buts o far i could not fin dan answer. I was wondering if there's some sample code for...

Hi all, I know it's been here several times before buts o far i could not fin dan answer. I was wondering if there's some sample code for setting up a USB HID in the LPC2468. perhaps that NXP has some code not yet published?? What I'd like to do is set the lpc as a generic hid device using USB_D1 (P0.30 and P0.29) I've already played with the lpc2148 works fine, but the lpc2468 is somet...


Compiling for lpc on linux system

Started by Aditya Bankar in LPC200015 years ago 4 replies

Hi, I want to know how to compile programs written in C and in assembly on Linux based host system. I don't want to use linux on my...

Hi, I want to know how to compile programs written in C and in assembly on Linux based host system. I don't want to use linux on my microcontroller. I saw that uClibc document. It seems that this library is for compiling software for ARM microcontroller running Linux on it. Say I just want to assemble the instruction: MOV R0, #10H And say I just want to compile the program: main() { in...


LPC2478 or LPC 2468 Bootloader Options / Questions

Started by robinsm123 in LPC200015 years ago 1 reply

I'm thinking of getting a developement board for either LPC2478 or LPC 2468. I just have a few questions regarding a bootloader. 1. Is it...

I'm thinking of getting a developement board for either LPC2478 or LPC 2468. I just have a few questions regarding a bootloader. 1. Is it possible to completely remove the Phillips boot loader and just use my own? 2. If not, Do I have to jump to sections of the phillips bootloader in order to write to flash, or can my bootloader be completely independant? 3. What are some good refer...


USB Secondary boot loader for LPC2378

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

I have been trying to get a USB secondary boot loader to work on my Olimex LPC-P2378 using CrossWorks tools. Since I am new to debugging USB...

I have been trying to get a USB secondary boot loader to work on my Olimex LPC-P2378 using CrossWorks tools. Since I am new to debugging USB and fairly new to CrossWorks I have been going in circles. Anyone know of a USB Bootloader for the LPC2378 that builds under CrossWorks? ------------------------------------


can bus error handle

Started by Peter Kic in LPC200015 years ago 2 replies

Hi!! I'm using lpc2378 and I have a problem with can bus. Sometimes happends that CAN bus is locked. I thought this happend because of...

Hi!! I'm using lpc2378 and I have a problem with can bus. Sometimes happends that CAN bus is locked. I thought this happend because of lpc bug - "In a Data Overrun condition, the CAN controller is locked from further message reception", but I monitor this with IRQ and this in not a reason. I notice that I have a lot of Receive errors (I get IRQ Error Status). How to control, if it's lo...


lpc2148, newlib-lpc, math functions...

Started by tahoe_nanci in LPC200015 years ago 14 replies

anyone? I posted a couple messages last week and no responses. Summarizing, I can compile, link, and download the bin/hex onto the lpc2148. ...

anyone? I posted a couple messages last week and no responses. Summarizing, I can compile, link, and download the bin/hex onto the lpc2148. All examples work, until I use math functions. My simple test is to simply calculate sin(PI) and dump to uart. Any hints? help? ------------------------------------



Memfault Beyond the Launch