NXP and their buddies EmbeddedArtists built an IDE called LPCXpresso, here :
http://www.embeddedartists.com/products/lpcxpresso
The debug/JTAG probe (LPC-Link2) is extremely cheap. I use this one, dunno if it's compatible with other probes.
Search found 8 matches
- Wed Oct 01, 2014 2:14 pm
- Forum: LPC Support
- Topic: LPC4330
- Replies: 15
- Views: 59870
- Tue Sep 02, 2014 3:54 pm
- Forum: LPC Support
- Topic: LPC4330
- Replies: 15
- Views: 59870
Re: LPC4330
There was a little mistake, I had left the NAK interrupt on, so the 19µs included about 4-5 useless IRQs. I fixed that.
Simplest USB request (OUT without data phase) is 7 µs... includes ISR waking thread via semaphore. That's 840 cycles total ! Crazy.
OUT with data phase has an extra context switch ...
Simplest USB request (OUT without data phase) is 7 µs... includes ISR waking thread via semaphore. That's 840 cycles total ! Crazy.
OUT with data phase has an extra context switch ...
- Mon Sep 01, 2014 6:17 pm
- Forum: LPC Support
- Topic: LPC4330
- Replies: 15
- Views: 59870
Re: LPC4330
OK !
My USB interrupt :
- Gets a SETUP packet,
- Wakes up a thread with a semaphore, which ...
- Parses the SETUP request
- Queues some buffers into the endpoint with the data to send
- The endpoint ISR returns "transfer completed" messages to the thread via a Mailbox
- The thread reads the ...
My USB interrupt :
- Gets a SETUP packet,
- Wakes up a thread with a semaphore, which ...
- Parses the SETUP request
- Queues some buffers into the endpoint with the data to send
- The endpoint ISR returns "transfer completed" messages to the thread via a Mailbox
- The thread reads the ...
- Sat Aug 09, 2014 4:40 pm
- Forum: LPC Support
- Topic: LPC4330
- Replies: 15
- Views: 59870
Re: LPC4330
Well ! It seems to work now !
I had to modify chcore_v7m.c, in _port_init() :
SCB_VTOR = CORTEX_VTOR_INIT;
The vectors are set by my startup code, so _port_init() was setting them back to 0... after commenting this line, it works.
I did the same benchmark as FreeRTOS, except I used mailboxes ...
I had to modify chcore_v7m.c, in _port_init() :
SCB_VTOR = CORTEX_VTOR_INIT;
The vectors are set by my startup code, so _port_init() was setting them back to 0... after commenting this line, it works.
I did the same benchmark as FreeRTOS, except I used mailboxes ...
- Sat Aug 09, 2014 10:19 am
- Forum: LPC Support
- Topic: LPC4330
- Replies: 15
- Views: 59870
Re: LPC4330
Yeah, I know. I've modified the LPCOpen headers to use proper defines.
I have also checked on my FreeRTOS numbers, they seem correct, asserts are not enabled etc, I don't see anything wrong in the config. A more precise measurement gives 11.4µs per context switch, and I can get it down to 10.9µs if ...
I have also checked on my FreeRTOS numbers, they seem correct, asserts are not enabled etc, I don't see anything wrong in the config. A more precise measurement gives 11.4µs per context switch, and I can get it down to 10.9µs if ...
- Fri Aug 08, 2014 11:42 am
- Forum: LPC Support
- Topic: LPC4330
- Replies: 15
- Views: 59870
Re: LPC4330
The project was set to std=c99, I set it to gnu99 which allows "asm" keyword.
Here's another funny one.
LPCOpen has : typedef enum {FALSE = 0, TRUE = !FALSE} Bool; (why not !)
ChibiOS uses #defines and #ifs as usual...
However...
typedef enum {F=0, T=1} foo;
#if T
#error TRUE is true
#else ...
Here's another funny one.
LPCOpen has : typedef enum {FALSE = 0, TRUE = !FALSE} Bool; (why not !)
ChibiOS uses #defines and #ifs as usual...
However...
typedef enum {F=0, T=1} foo;
#if T
#error TRUE is true
#else ...
- Fri Aug 08, 2014 9:32 am
- Forum: LPC Support
- Topic: LPC4330
- Replies: 15
- Views: 59870
Re: LPC4330
OK !
The application is a multichannel audio interface. It has USB2 high-speed, ethernet, and lots of IO.
It can act as a USB soundcard with digital audio IO. With two identical boards linked through ethernet, it will also be able to send the digital audio through ethernet, which is nice, since it ...
The application is a multichannel audio interface. It has USB2 high-speed, ethernet, and lots of IO.
It can act as a USB soundcard with digital audio IO. With two identical boards linked through ethernet, it will also be able to send the digital audio through ethernet, which is nice, since it ...
- Thu Aug 07, 2014 4:11 pm
- Forum: LPC Support
- Topic: LPC4330
- Replies: 15
- Views: 59870
LPC4330
Hello !
I'd like to use Chibios in my application, the chip will be a LPC4330. I have a LPC4330 Xplorer board.
I know it isn't officially supported...
Right now I only need a kernel and stuff like message passing and queues, no need for a HAL. I'm using FreeRTOS at the moment but I'd prefer ...
I'd like to use Chibios in my application, the chip will be a LPC4330. I have a LPC4330 Xplorer board.
I know it isn't officially supported...
Right now I only need a kernel and stuff like message passing and queues, no need for a HAL. I'm using FreeRTOS at the moment but I'd prefer ...