Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 10:13 02 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Programming microcontrollers in Pascal

Author Message
Olimex
Senior Member

Joined: 02/10/2011
Location: Bulgaria
Posts: 226
Posted: 05:35am 25 Apr 2012
Copy link to clipboard 
Print this post

Yet another great product from Australia
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1310
Posted: 06:21am 25 Apr 2012
Copy link to clipboard 
Print this post

  Olimex said   Yet another great product from Australia


We sell a lite edition with the purchase of selected Olimex boards for $1 extra:

http://www.dontronics-shop.com/astrobe-arm-software-developm ent-system.html

Cheers Don...
https://www.32v8.com/1
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3660
Posted: 07:47am 25 Apr 2012
Copy link to clipboard 
Print this post

If it's going to catch on it has a bit of a cliff to climb!

John
 
Olimex
Senior Member

Joined: 02/10/2011
Location: Bulgaria
Posts: 226
Posted: 08:12am 25 Apr 2012
Copy link to clipboard 
Print this post

What is remarkable is that the completely IDE installation is 2MB vs 100MB+ installation for the Arduino/Maple/Pinguino. I like this very much!

I saw the examples and the code generation is also impressive.

The Blnk LED example compiles in just 164 bytes of memory!

(just compare this again with Arduino/Pinguino/Maple code generation size )
 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 08:14am 25 Apr 2012
Copy link to clipboard 
Print this post

I want Oberon/Pascal for Olinuxuino

VK4MU MicroController Units

 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3660
Posted: 04:30pm 25 Apr 2012
Copy link to clipboard 
Print this post

  Olimex said   I saw the examples and the code generation is also impressive.

The Blnk LED example compiles in just 164 bytes of memory!

(just compare this again with Arduino/Pinguino/Maple code generation size )

Imagine almost any p-code type system. The compiled sample will be similarly tiny.

Or any true compiled system that uses shared libraries. C's main() compiles to a small size.

But in each case you're ignoring the other stuff that's needed at runtime.

There again, if you're happy using that language (Oberon/whatever), fine.

It doesn't appear to be open source, which some want - especially when the company behind it may or may not exist in a few years or may have moved to other products.

John
 
cfbsoftware
Newbie

Joined: 20/06/2012
Location: Australia
Posts: 3
Posted: 03:27am 20 Jun 2012
Copy link to clipboard 
Print this post

[quote]Imagine almost any p-code type system. The compiled sample will be similarly tiny.[/quote]
There is just no comparison with p-code systems as they are typically only 10% as efficient as native code compiled systems. The Oberon compiler used in Astrobe generates native 32-bit ARM code for the ARM7 targets or native Thumb2 code for Cortex-M3 targets.

If you want to learn about the architecture of the Oberon compiler and get some understanding of how it compiles so fast and still generates very compact code read Niklaus Wirth's document "An Oberon Compiler for the ARM Processor". He goes into great detail explaining the code that is generated for each language construct:

http://www.inf.ethz.ch/personal/wirth/Articles/Oberon.html

We have been working with Oberon systems since the early 1990's. Our original Astrobe work involved porting Wirth's ARM compiler to Windows for the ARM7 version back in 2008. More recently we have completed rewriting the code generator for the totally different Thumb-2 instruction set for the Cortex-M3 targets. As well as producing more compact code we are now seeing execution speeds about 3x faster.

Cheers,
Chris

Chris Burrows
http://www.astrobe.com
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 07:23pm 22 Jun 2012
Copy link to clipboard 
Print this post

Well, if you like Pascal, specially Turbo Passcal, here are two options for Microchip microcontrollers. One is commercial and I think anyone knows about it - mikroPascal, and another is about Pic Micro Pascal (PMP), free of charge and no limits imposed to the generated code. PMP is for PIC12-PIC18 only, and mikroe support also the other Microchip families, Atmel AVRs, 8051, ARM.

For 8051 microcontrollers, there is a very good Turbo Pascal like compiler, turbo51 (command line only, but you can use a third party editor or IDE).Edited by vasi 2012-06-24
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3660
Posted: 09:25pm 22 Jun 2012
Copy link to clipboard 
Print this post

For me, C beats all these hands down. YMMV.

John
 
cfbsoftware
Newbie

Joined: 20/06/2012
Location: Australia
Posts: 3
Posted: 01:02pm 29 Jun 2012
Copy link to clipboard 
Print this post

  vasi said  For 8051 microcontrollers, there is a very good Turbo Pascal like compiler, turbo51 (command line only, but you can use a third party editor or IDE).

There has also been an ISO Modula-2 (son of Pascal, father of Oberon) compiler available for some time for the 8051: mod51

Chris Burrows
http://www.astrobe.com
Edited by cfbsoftware 2012-06-30
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024