EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Micrium UCOS-II

Started by jdauchot September 13, 2007
Hi Jean-Jacques,

> I have now got it all working OK now with V2.83
>
> Thanks for your help
>
> Can we re-publish the port?

Sure. But first I should rebuild the examples and update
the documentation.

I'll setup my laptop and take the keil board home tonight
to retest.

So the only thing you needed to change was that small
section of startup code, is that correct?

I'll take a look in the ARM reference manual and see what
the slight difference was in the startup instructions you
ended up using.

Did you ever create a small example that exhibited the
problem? It probably had to do with an empty section in
the elf file, however, without a specific example, I can't
be sure. If you don't have any example code that exhibits
the problem, I'll see if I can break one of the example.

Thanks,
Dave

An Engineer's Guide to the LPC2100 Series

Hi Dave

I am using a olimex LPC-2294 demo board

> So the only thing you needed to change was that small
> section of startup code, is that correct?

Yes, I used some other startup module from other examples

I have removed the PLL and MAM code out off the startup and placed it
in the C code initalisation module

I have added some code in the very start of the start.s to initialise
the 2294 external memory configuartion so that all my memory
variables can be mapped to external memory before the main code
starts. I ran out of memory (16K). Only the Stack pointers are now in
internal ram.

I have used your test4.c example and added loads of other tasks.
I am running two timers, 1ms timer0 for my I/O interface and 10ms
timer1 for the task switching. All interrupts are running using IRQ
including UART0 interrupts.

I had to move to V2.83 because the version from the book was unstable
for some reasons.

Would you like me to send you the relevant code modules etc

Regards

Jean-Jacques
--- In l..., David Hawkins wrote:
>
> Hi Jean-Jacques,
>
> > I have now got it all working OK now with V2.83
> >
> > Thanks for your help
> >
> > Can we re-publish the port?
>
> Sure. But first I should rebuild the examples and update
> the documentation.
>
> I'll setup my laptop and take the keil board home tonight
> to retest.
>
> So the only thing you needed to change was that small
> section of startup code, is that correct?
>
> I'll take a look in the ARM reference manual and see what
> the slight difference was in the startup instructions you
> ended up using.
>
> Did you ever create a small example that exhibited the
> problem? It probably had to do with an empty section in
> the elf file, however, without a specific example, I can't
> be sure. If you don't have any example code that exhibits
> the problem, I'll see if I can break one of the example.
>
> Thanks,
> Dave
>
Hi Jean-Jacques,

> Would you like me to send you the relevant code modules etc

Sure, just send them to me directly, off-list.

That way I can compare the code to the original. Perhaps
I'll create another example where the MAM setup etc is
moved into C code.

I left it in the startup code as it put the microcontroller
into 'top-speed' before clearing memory.

Cheers,
Dave

The 2024 Embedded Online Conference