EmbeddedRelated.com
The 2024 Embedded Online Conference

IAR Inline Assembly Error Unknown symbol

Started by Addison Mayberry in LPC200012 years ago 1 reply

I just upgraded to the latest version of IAR Kickstart (code-limited). When I tried recompiling my code (which includes a lot of inline assembly),...

I just upgraded to the latest version of IAR Kickstart (code-limited). When I tried recompiling my code (which includes a lot of inline assembly), I got a large number of errors where there were none before. I found the issue, and reproduced it in the simple program below: [code] int main() { asm("test_label:\n"); asm("jmp test_label\n"); return 0; } [/c


Need to learn CAN protocol using lpc 2129 and lpc 2378

Started by "Jayant K.p" in LPC200012 years ago 1 reply

Hello frnds, I'm interested to learn CAN protocol using lpc 2129 and lpc 2378.i was able to find the format of can protocol of how data is...

Hello frnds, I'm interested to learn CAN protocol using lpc 2129 and lpc 2378.i was able to find the format of can protocol of how data is transmitted but not how to program.and there also no application wise projects and schematics.so can anyone help me to learn can protocol.thank you


SD card in high speed mode

Started by scis...@gmail.com in LPC200012 years ago 4 replies

Hi I have question not involved with lpc2000, but I see that people in this group know the matter. I want to make me sure that I use CMD6...

Hi I have question not involved with lpc2000, but I see that people in this group know the matter. I want to make me sure that I use CMD6 correctly if I want to set SD card in High Speed mode. Card starts in Standard Speed and from secification I get that I should change Access mode from Standard to High. So this is what I send in hex: 4680000001CB as CMD6. 46 - conjunction of start bit a...


Reset after sleep

Started by xavierwork in LPC200012 years ago 9 replies

Hello all, I have an interesting issue with my LPC1768 design. I am using the CMSIS libs and the CTL RTOS. I have tasks running via timer...

Hello all, I have an interesting issue with my LPC1768 design. I am using the CMSIS libs and the CTL RTOS. I have tasks running via timer IRQ events all the time, and infrequent user external IRQ events. To save power when no active task is running, I put the processor to sleep by calling CLKPWR_Sleep() from main (in ctl main is the idle task). If the user has not done anything after a whil...


LPC2148 debugging a stack overflow problem - Keil

Started by Sutton Mehaffey in LPC200012 years ago 21 replies

After 2 days of debugging a possible stack overflow problem, I thought someone on the forum might have a suggestion for the problem I'm...

After 2 days of debugging a possible stack overflow problem, I thought someone on the forum might have a suggestion for the problem I'm seeing. I have simplified the code to be a very simple snippet that still exhibits the problem. Basically, 1. I setup the CPU for 12Mhz operation. This really entails setting VPBDIV = 1, since I have a 12MHZ crystal input. 2. I setup Timer 1 to ge...


LPC177x EMC timings confusing?

Started by teeysensei in LPC200012 years ago 2 replies

Hi everyone! I'm "new" here. I've been keeping in the shadows for some time, scourging the group for advice when noone was looking. I always...

Hi everyone! I'm "new" here. I've been keeping in the shadows for some time, scourging the group for advice when noone was looking. I always managed to find a piece of advice from you people to help me along. Many thanks for that. But now I think I've hit a wall. I'm working on a design with the LPC1776 with a slab of SDRAM along with it. This is my first "sorta" high-speed design. I've alre...


SD(HC) support on LPC21XX? Using pre-written driver, SC works but HC fails CRC16

Started by lawzaz in LPC200012 years ago 13 replies

Hi, I'm trying to log data to an SD card on the LPC2129. I have a good SPI driver written, and I can read/write regular SDSC and MMC cards...

Hi, I'm trying to log data to an SD card on the LPC2129. I have a good SPI driver written, and I can read/write regular SDSC and MMC cards using the driver here: https://github.com/vsergeev/embedded-drivers/blob/master/sd.c This seems to follow SD spec (with the possible exception of querying voltage using CMD58 early), and works great for standard capacity cards. However, anything high c...


Replace application at runtime with IAP and boot switch

Started by Anders Hvidgaard Poder in LPC200012 years ago 8 replies

I am developing a GSM based application using LPC1768 and Red Suite 3. I use FlashMagic for deployment (not debugging and test, I use...

I am developing a GSM based application using LPC1768 and Red Suite 3. I use FlashMagic for deployment (not debugging and test, I use a debugging link directly from Red Suite 3). The LPC1768 has got 512kbyte Flash. The main application uses about 150kbyte, so I am able to have two complete applications in Flash at the same time. Initially only one application exist, but the application is ...


lpc1769: can't access first 512 bytes of flash using ISP

Started by Triffid Hunter in LPC200012 years ago 11 replies

Hi, I've just started working with an LPC1769 and can't seem to access the first 512 bytes of flash using the built-in serial ISP. Has...

Hi, I've just started working with an LPC1769 and can't seem to access the first 512 bytes of flash using the built-in serial ISP. Has anyone ever encountered this before? Specifically, I can prepare, erase, write and copy to my heart's content but the first 512 bytes always read back the same data, check blank returns false for sector 0, and the verify routines also fail since the fir...


LPC2378 GIO pullups

Started by mjames_doveridge in LPC200012 years ago 1 reply

In order to be backards-compatible with old stuff, I have to interface an old-style keypad. It has an array of 16 switches in 4 rows of 4. Each...

In order to be backards-compatible with old stuff, I have to interface an old-style keypad. It has an array of 16 switches in 4 rows of 4. Each row of 4 has its own common input an each column of 4 has its own common output. A load of diodes prevent any 'feeding back'. Basically, I drive one row low, the others high, and check to see if any output line has gone low - if it has , I can debounce i...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright


The 2024 Embedded Online Conference