Search found 9 matches

by fjarnjak
Wed Feb 08, 2012 4:24 pm
Forum: LPC Support
Topic: LPC1769 using LPCXpresso IDE
Replies: 23
Views: 90861

Re: LPC1769 using LPCXpresso IDE

FreeRTOS is being highly advertised on NXP and tightly integrated into the IDE if you ever download and import it into the workspace.
So when you select "New Project" apart from regular C/C++ project (select MCU and so on with project wizzard) you can also select a "FreeRTOS" project and it will ...
by fjarnjak
Wed Feb 08, 2012 2:57 pm
Forum: LPC Support
Topic: LPC1769 using LPCXpresso IDE
Replies: 23
Views: 90861

Re: LPC1769 using LPCXpresso IDE

I debugged some more and it seems after SysTick Handler is processed in epilogue when it hits:


if (chSchIsPreemptionRequired()) {
/* Preemption is required we need to enforce a context switch.*/
ctxp->pc = _port_switch_from_isr;


it goes to hard fault handler.


/**
* @brief Excludes ...
by fjarnjak
Wed Feb 08, 2012 2:47 pm
Forum: LPC Support
Topic: LPC1769 using LPCXpresso IDE
Replies: 23
Views: 90861

LPC1769 using LPCXpresso IDE

Hello all,

I haven't posted for a while due to being busy @ work and I see there is a new release out - cool

I am currently trying to run a ChibiOS on a LPCXpresso 1769 board using LPCXpresso IDE as a project management and build system.
There are some difficulties in organizing a project into ...
by fjarnjak
Thu Oct 13, 2011 8:52 am
Forum: Development and Feedback
Topic: NUC120 port
Replies: 1
Views: 3570

NUC120 port

Well, to let you know about my port of ChibiOS to NUC120 platform.
It is not complete (no HAL ports) but it manages to run code succesfully.

Port is for NUC120LE3AN MCU from Nuvoton on a NUC120-TINY-SDK board I have received from them some time back.
It is a Cortex M0.

So, basically I have ...
by fjarnjak
Tue Oct 11, 2011 2:14 pm
Forum: General Support
Topic: NUC120 port CM0 -> error compiling LPC11xx CM0 demo
Replies: 9
Views: 10383

Re: NUC120 port CM0 -> error compiling LPC11xx CM0 demo

I tried under Windows XP mode.

XP Mode doesn't have much software now at my PC so I:

Did a clean install of Yagarto tools and compiler.
Did a clean install (unpacked ChibiOS .zip) and went into demos/ARMCM0-LPC1114....

When I type make I get now:

C:\Eclipse-Projects\ChibiOS_2.2.7\demos\ARMCM0 ...
by fjarnjak
Tue Oct 11, 2011 12:27 pm
Forum: General Support
Topic: NUC120 port CM0 -> error compiling LPC11xx CM0 demo
Replies: 9
Views: 10383

Re: NUC120 port CM0 -> error compiling LPC11xx CM0 demo

At work we have to use Windows...due to other projects; embedded is just a small part of what I (only) do. At home life is simple

So now at work I have issues with WinAVR & Yagarto & etc each coming with their own set of binutils - so I need to add/remove things from the PATH not to use wrong ones ...
by fjarnjak
Tue Oct 11, 2011 12:03 pm
Forum: General Support
Topic: NUC120 port CM0 -> error compiling LPC11xx CM0 demo
Replies: 9
Views: 10383

Re: NUC120 port CM0 -> error compiling LPC11xx CM0 demo

You are right about that and I have been searching a bit on the web. It seems there is a problem running those ported compilers on Windows 7 64-bit which is a version which I use. Errors like below happen:

make all
AllocationBase 0x71560000, BaseAddress 0x71590000, RegionSize 0x4000, State 0x1000 ...
by fjarnjak
Tue Oct 11, 2011 9:41 am
Forum: General Support
Topic: NUC120 port CM0 -> error compiling LPC11xx CM0 demo
Replies: 9
Views: 10383

Re: NUC120 port CM0 -> error compiling LPC11xx CM0 demo

For my port I did all those changes, and point to correct (new) directories for the port, etc.

So I tried compiling official LPC11 demo and if it works I would track down the error.
But it also fails - so output I have shown is for the LPC11 demo I have also tried compiling and I get that .dep ...
by fjarnjak
Tue Oct 11, 2011 8:24 am
Forum: General Support
Topic: NUC120 port CM0 -> error compiling LPC11xx CM0 demo
Replies: 9
Views: 10383

NUC120 port CM0 -> error compiling LPC11xx CM0 demo

Hello,

I am trying to port ChibiOS to NUC120 series (specifically to NUC120LE3AN) because I got the development board from the manufacturer Nuvoton.
It is an ARM Cortex M0 core, so I have followed instructions and made subfolders from LPC11xx board/ os/port/ /demos/ and did some changes in path ...