Search found 18 matches

by 4GlCoder
Tue Aug 30, 2011 6:04 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Not getting the right Frequency...
Replies: 5
Views: 36256

Re: Not getting the right Frequency...

Ok, Here we go again... MODULE SYS; IMPORT SYSTEM, LPC := LPC2378, Out; CONST HZ* = 1; KHZ* = 1000*HZ; MHZ* = 1000*KHZ; (* Available PCLK offsets on LPC2378 *) WDTPCLKOffset* =0; TIMER0PCLKOffset* =2; TIMER1PCLKOffset* =4; UART0PCLKOffset* =6; UART1PCLKOffset* =8; PWM0PCLKOffset* =10; PWM1PCLKOffset...
by 4GlCoder
Mon Aug 29, 2011 6:17 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Not getting the right Frequency...
Replies: 5
Views: 36256

Re: Not getting the right Frequency...

Forgot to mention that it seams the PLL is not locked, because Mul and Div always return 1. :?
by 4GlCoder
Mon Aug 29, 2011 6:14 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Not getting the right Frequency...
Replies: 5
Views: 36256

Not getting the right Frequency...

I'm implementing some code to verify the frequency of the board i'm playing with. Have tried to adapt some routines from Olimex C code. But result is not good. Below are 2 modules: 1) SYS.MOD gets frequency of board CPU / Periphery. 2) Test program to display some relevant values. Board is LPC2378-S...
by 4GlCoder
Mon Aug 15, 2011 1:51 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Request for Tools option in Converter
Replies: 2
Views: 21886

Re: Request for Tools option in Converter

:) I knew that. Also available in the scientific view of the calculator in Windows XP, so nobody should have a problem with that.
by 4GlCoder
Sun Aug 14, 2011 7:13 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Jump to (next) Errorline function key
Replies: 0
Views: 16559

Jump to (next) Errorline function key

I didn't find a Keyboard shortcut to find the errorline / next error line.

The current implementation specifically needs you to click the linenumber.

Thats gives a lot of hand-motion: keyboard - mouse - keyboard. Instead of a function to locate the (Next) error.
by 4GlCoder
Sun Aug 14, 2011 7:05 pm
Forum: Oberon Language
Topic: 'Simple' Assignment
Replies: 1
Views: 15853

'Simple' Assignment

MODULE test; IMPORT SYSTEM; CONST ByteV = 22; VAR aByte : SYSTEM.BYTE; BEGIN aByte := SYSTEM.VAL(SYSTEM.BYTE,ByteV); END test. The above code does work, but I find it hard to justify the needed SYSTEM.VAL type cast on a constant value. where aByte := ByteV should do. I think this just forces lazy/sl...
by 4GlCoder
Sun Aug 14, 2011 6:48 pm
Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
Topic: Request for Tools option in Converter
Replies: 2
Views: 21886

Request for Tools option in Converter

The converter in the tools bar allows you to convert a hex value to a bit set.
It would be nice to allow for toggling between hex/dec/bin.
by 4GlCoder
Fri Jul 22, 2011 4:29 pm
Forum: Oberon Language
Topic: STRUCTURE ALIGNMENT
Replies: 2
Views: 19955

STRUCTURE ALIGNMENT

Ok, I have a structure
ZAP* = RECORD
filename : ARRAY 11 OF SYSTEM.BYTE;
attr : SYSTEM.BYTE;
NTRes : SYSTEM.BYTE;
END;

While compiling I get the following: !Length rounded up

Do I run in trouble when reading this from an existing file ?
I need byte aligment and not INTEGER/WORD alignment.