Username:     
Password:     
            Register  

Projects
Circle OS 3.7
 
Update your CircleOS version to 3.7 !

Code size:22k Author:matloub
Source files included:yes Version:3.7
Use circleOS:no Creation date:2008-07-28 19:17:45
Hardware modification:no Modification date:2009-09-09 17:18:05
Based on the STM32 Primer:All
   
Downloads:6824 Views:10170
   
Vote:
Average ratings:2.96/5 (835 rates)

Download:    CircleOS-3.7.zip (962 KB)

Description:

Description

The STM32-Primer embeds the CircleOS operating system. It provides services that will help you develop your STM32-Primer applications:

  • Application management,
  • LCD graphic functions,
  • Mems functions,
  • LED,
  • Buzzer and Push Button functions,
  • Menu functions,
  • Scheduler task,
  • ...

The small footprint of CircleOS (only 22KB) allows you to keep up to 104 KB for the applications. The list of the available applications is stored in a table (FAT) at the top of the memory used by CircleOS. 

Each application is run by CircleOS when selected, has the full availability of the CPU and can use the entire RAM which is not used by CircleOS (i.e. 16KB in the memory address range from 2000000h to 20003FFFh). It will be scheduled by the CircleOS with full privileges on the device, until it explicitly quits.

Installation

Unzip in the directory "[Ride7_INSTALL_DIR]\Lib\ARM"

Documentation

The CircleOS documentation is available online or as a download in this ZIP file
Moreover, a work document describes the evolution from version 2.x to version 3.x .

 

 What's new ? 

 

Version V3.7

  • Full audio files support with 8, 16, 22 or 44 KHz, 8 or 16 bits, mono or stereo samples (with DMA tranfer),
  • Added FS_SetPathFilter() (path filter function when navigate into SDCard with the explorer),
  • Init SDIO IT in FS_Mount() SDCard function,
  • Add possibility of manage a popup menu into an application,
  • Fixed several minor bugs

Version V3.6 

  • Added SDCard command menu to navigate and download files from a PC explorer (mass storage mode),
  • Added DRAW_Putc and DRAW_Puts functions that implement "C" putc and puts functions,
  • Added functions to change the current font and ascii table extended up to character 255 ,
  • Added UTIL_GetAppAddress function, in order to get the address of an application.

Thanks to the contributor (Simon Markham)  for his character set extension !

Note: this version requires to update the program "Circle_Mgr.exe" : get the file at the root directory of the zip, and copy it to the "~/Ride/bin" directory of your PC.

Version V3.5

  • Include File System API,
  • Added SDCard command menu to navigate into the SDCard folders.

Thanks to the contributor (Sjoerd)  for his file system sources !

Version V3.4

  • Added some audio API functions for I2C registers access.

Version V3.3

  • Changed home page and toolbar icons with more fun pictures,
  • Added scroll application list,
  • Changed menu colors, and added touchscreen functionalities.

 Version V3.1

  • Now supports Primer2 (and Primer1 as well),
  • New functions for new features: audio, touchscreen, joystick, etc...
  • Improved power management for Primer2,
  • Add hardware tests for Primer2.

 Version V2.0

  • Compiled with the gcc/codesourcery version 4.2.3 to be compatible with RKit-ARM release of the 24.07.2008
  • Synchronize with the new version of the STM32 library from STMicroelectronics v2.0.1
  • Fix bugs reported in the forum www.STM32Circle.com

 Version V1.7

  • Vectorize the handlers in the scheduler (allow to disable/modify one of the handlers)
  • Added functions to Get/Set Scheduler Handlers
  • Add UTIL_GetTemp() function (Get temperature) and UTIL_SetTempMode(mode) to select Celcius(0) or Fahrenheit(1)
  • Add DRAW_Line() function (draw a line using the Bresenham algorithm)
  • Detect the doubleclick (in fact a "double-shock"),  store it in MEMS_Info that has been extended and use it in the menu selection to launch a command. The "double-shock"  can be done smoothly with one finger. 
  • Various fixes in Circle_Api.h

Thanks to the contributors (Dale Wheat, Bob Seabrook, Thomas Scherrer,...) for their sources and their suggestions !

Version V1.6

  • Place the vector table in RAM for per-user customization of IRQ Handlers
  • Added functions to Get/Set IRQ Handlers

Version V1.5

  • Fix various bugs in mems.c and pointer.c (reported by Ron Miller and suggested in CircleOS-1.4rm)
  • Pointer stabilization again (jittery ok)
  • Better filtering of the MEMS information
  • Compiled with GCC version 4.2.1 (overall size is reduced) 

    WARNING: to fix a bug, the contents of the MEMS_INfo structure has been modified (some s16 types have been extended to s32). Therefore, the application projects must be recompiled. 
    All the projects available on the site have been recompiled and updated to comply with the release V1.5.

Version V1.4

  • Shutting down can be done by holding down the button.
  • Pointer stabilization.
  • Corrected time display.
  • MENU_Quit()  restores full context.

Version V1.3a

  • Removed the WFI mode in the main loop (causing locks when debugging).

Version V1.3

  • Optimized time display.
  • The MEMS handler is now launched from the TIMER2 interrupt handler instead of the systick interrupt,
  • The TIMER2 interrupt priority is higher than the systick interrupt priority (in order to guarantee a fixed frequency for the MEMS acquisition),
  • The frequency of the MEMS acquisition is increased (to read as many samples as possible),
  • Menu management is smoother and more stable,
  • A hardware reset is now performed when initializing the LCD monitor.
  • The source files are provided with the complete project.

Version V1.2

  • Typing error in Circle_api.h in LCD_SetBackLight define,
  • LCD_ReadRect changed in LCD_RectRead in CircleOS sources Circle_api.h definition.

Version V1.1

  • Quit option in menu Configuration,
  • Bug fixed in LCD_SetScreenOrientation,
  • POINTER_Save and POINTER_Restore accept now an height,
  • DRAW_SetLogo doesn't smash text color anymore,
  • LCD_SetBackLightOff and LCD_SetBackLightOff added.

Version V1.0

  •  First release.

 



Project comments

Version 3.3 for pirmer1 in latest 3.5 zip file                                                                                                             Please, log you to post a reply.
#1   2009-02-21 17:11:18
repzak
Member

Offline

Hello,

Is it correct the elf file for primer1 is version 3.3 still in this release?

Kasper

 
#2   2009-02-21 18:05:41
Francis
Administrator

Offline

Yes, it should be.

 
#3   2009-02-21 19:47:18
repzak
Member

Offline

Where can i get a project for the 3.3 version for primer1, in the zip file the primer1 project is emty, and the primer2 project seems not to compile, even when i change the CPU to the primer1, so the defines fit?

Thank you for the answer

 
#4   2009-02-21 20:07:48
Francis
Administrator

Offline

You are right... the Primer1 project in the ZIP file is corrupted. We will update it on Monday morning. sorry.

 
#5   2009-02-23 13:55:54
matloub
Administrator

Offline

Hi Repzak

I am surprised because I do have a project working.

I have downloaded the project from http://www.stm32circle.com/projects/dow … OS-3.5.zip

I found there a roject circle not empty.
Can you let me know the link you used to download this file and the path of the project that is empty.

Regards,
Matloub

 
#6   2009-02-23 18:57:46
matloub
Administrator

Offline

Hi

It seems that I could find the problem which was appearing differently depending on each machine.

I have posted a new project file that should be ok.

If you close ride7 and open another project than this one and after try to open the new file
it should be ok.

Let me know if it is not working

Regards,
Matloub

 
#7   2009-02-24 07:35:13
repzak
Member

Offline

Hello,

I am not sure either, but could be something about when i double click on the project ride opened, but did not alway read in the new project.. i am not sure, but working know

Kasper

 
#8   2009-02-24 09:09:47
Francis
Administrator

Offline

There was a problem with the Primer1 project, it has been fixed.

 
#9   2009-03-02 19:33:29
tomekkicaj
New member

Offline

Hello, it looks like the ZIP of CircleOS-3.5.zip (2153 KB)  i corrupted, can you please fix it?
Thank you!

 
#10   2009-03-02 19:43:31
tomekkicaj
New member

Offline

OOOOOps looks like my download accelerator has gone mad, everythong is OK, sorry for spamming...

 
#11   2009-06-28 19:24:49
Toley
New member

Offline

Francis Said :

There was a problem with the Primer1 project, it has been fixed.

There is also a bug with the Primer1 project in CircleOS3.7.
Can you please correct it ?

 
#12   2009-06-28 20:51:47
repzak
Member

Offline

Hello,

Maybe you can explain the problem??

Kasper

 
#13   2009-06-28 20:59:00
Toley
New member

Offline

The problem is the same reported in this thread. When I open the project in Ride7, the project windows is empty. Thank you for your help.

 
#14   2009-07-02 09:52:31
matloub
Administrator

Offline

Hi Toley

It seems there is indeed the same issue with this file.
It comes from the fact that empty application has been left in the project file.
I correct it for next version.

Here are some workaround

+ open an other Ride7 project
+ Close Ride7
+ Open circle project (it should open the previous project )
+ Open one more time the circle project (it open this porject and solves the issue)

Also you can edit circle.rprj to remove the following lines:

<ApplicationBuild Header="Hello" Extern=".\Applications\Hello\Hello.rapp" Path=".\Applications\Hello\Hello.rapp" OutputFile=".\Applications\Hello\obj\Hello.elf" sate="96" />

<ApplicationBuild Header="OS_Test" Extern=".\Applications\OS_test\OS_Test.rapp" Path=".\Applications\OS_test\OS_Test.rapp" OutputFile=".\Applications\OS_test\obj\OS_Test.elf" sate="0" />

<ApplicationBuild Header="Menu" Extern=".\Applications\Menu\Menu.rapp" Path=".\Applications\Menu\Menu.rapp" OutputFile=".\Applications\Menu\obj\Menu.elf" sate="96" />

 

circle_mgr problem                                                                                                             Please, log you to post a reply.
#1   2009-05-02 12:05:33
guystm32
New member

Offline

if I try to upload an application eg playwav with this OS v3.71 the circle_mgr give this error:

*** Launching : circle_mgr.exe AApplication.o L S

Circle_Mgr: software for managing CircleOS applications.
Copyright Raisonance 2007.

Connecting to RLink... OK
Connecting to target... OK
          Silicon Revision Id: 0x10016414.
          Option bytes: RDP=0xA5, USER=0xFF, WRP=0xFFFFFFFF
OK
Reading FAT table...
         !!! Error 103: Error reported by the DTC
Press any key to continue . . .

I build this OS using the Ride project provided in the zip. I just downloaded the playwav app to try it out without rebuilding it. I simply took the to_circle bat file provided.

Meanwhile I downloaded the latest ride 7.18 + rkit and all seems to work now !
So the ride7 that comes with the primer 2 CD is old and not goody everyone download the latest ride circle OS 3.7 is automatically provided in the tree.

-G

 
#2   2009-06-15 19:47:20
cederom
New member

Offline

Thanks dude! I have exactly the same problem!

I really dont like the way raisonance prepared the Primer2 - not working with OpenOCD (cannot be programmed under unix), lot of bugs in design, lot of bugs in attached stuff :-(

I have bought two of them and one is dead after one hour. This realy does not convince me to the Raisonance products not stm32 family :-(

 
#3   2009-06-15 19:57:26
cederom
New member

Offline

I have found another solution:
-after flashing new os is working off the box but its not configured
-turn off the power for a while by removing the jumper
-turn on the power and configure device
-type "circle_mgr e*" at command prompt to format flash area that stores the program data
-now you can upload programs

 

touchscreen:(                                                                                                             Please, log you to post a reply.
#1   2009-03-12 11:43:00
ashleypeters
New member

Offline

hey guys
was just wondering if anyone has re-programmed/reconfigured the 4 touchscreen menu buttons on the stm32 primer2(e module:rectangular) to do specific things or go into another menu which i would like to specify. Can anybody help? sad

 
#2   2009-03-12 13:58:39
yrt
Administrator

Offline

Hi Ashley,
The 4 touchscreen menu buttons form the "toolbar", managed by the TOOLBAR handler, and the CircleOS provides some API functions to modify it :
- TOOLBAR_Set(@ new toolbar) : change the current toolbar to the new one described by the structure passed through parameter (tToolbar type, with pointer to new icons),
- TOOLBAR_SetDafaultToolbar : restore the factory toolbar.

You also can modify only one button with the function : TOOLBAR_ChangeButton(button, @ new icon, @ new function).


I recommend you to take a look at the online documentation :
http://www.stm32circle.com/circleos_doc/index.html
http://www.stm32circle.com/resources/do … _v2_v3.pdf

Regards,
Yves

 

3.5 on primer1                                                                                                             Please, log you to post a reply.
#1   2009-03-02 00:51:31
sfrickey
New member

Offline

Is 3.5 suppose to be able to run on the primer1? When I build with the Circle.rprj, and try to load it, I get and OPI Driver error - code size limit exceeded.
Should that be the case?

 
#2   2009-03-02 07:58:23
Francis
Administrator

Offline

You can load it, you can debug your application but you cannot debug the initialization routines of the project itself. However, the routines called via the API can be debugged from your application.

 

circleos_doc.zip is broken                                                                                                             Please, log you to post a reply.
#1   2009-02-10 08:03:44
Hardworker01
New member

Offline

Hi there, after download i try to extract the File (191.090 Bytes) but it doesn't work. Maybe the Archive is damage. Please fix the File.

Many Thanks !!

Uli

 
#2   2009-02-10 08:52:26
Francis
Administrator

Offline

Yes...  still have stupid problems with our new servers. It will be fixed as soon as possible.

 
#3   2009-02-10 09:47:07
Francis
Administrator

Offline

It works now (ok for all ZIP files).

 
#4   2009-02-10 10:06:38
Hardworker01
New member

Offline

Thanks for such a fast service!!! Kind regards to the Moderator-Crew ;-)

Uli

 

link to circleos_doc in zip file is brocken                                                                                                             Please, log you to post a reply.
#1   2009-01-14 14:46:44
grosmimi
New member

Offline

link to circleos_doc in zip file is brocken PLEASE CORRECT.

 
#2   2009-01-14 14:47:59
grosmimi
New member

Offline

link to circleos_doc in zip file is brocken PLEASE CORRECT.

 
#3   2009-01-14 16:33:02
Francis
Administrator

Offline

Fixed. Thank you

 

CircleOS-2.0.zip                                                                                                             Please, log you to post a reply.
#1   2008-12-30 22:47:39
zwieblum
Member

Offline

Is "CircleOS-2.0.zip" in fact "CircleOS-3.1".zip?
Is "circleos_doc_v1_7.zip" in fact "circleos_doc_v3_1.zip"?

If not, where can I get it?

 
#2   2008-12-31 04:06:08
Francis
Administrator

Offline

Yes, it. We have a problem with renaming the attachment, but it will be done.

 
#3   2009-01-10 09:32:37
zwieblum
Member

Offline

Is it possible to get older versions of CircleOS?

 
#4   2009-01-11 10:16:15
zwieblum
Member

Offline

Why does CircleOS 3.1 present itself as "V3.2" when installed?
It seams that circle_mgr does not work with this version, any attemt to upload an application locks the primer (1&2) on different stages (depending if I use RIDE from the Prime1 or Primer2-cd), but circle_mgr does not throw an error.

 


To add comments, please register you.



replica handbags Wholesale China Replica Purses Louis Vuitton Handbags Burberry handbags louis vuitton replica handbags Replica LOUIS VUITTON Gucci Handbags Prada Handbags Burberry Handbag Hermes Handbags Hermes Belts Gucci Belts Louis Vuitton Belts Louis Vuitton Wallets Hermes Wallets Gucci Wallets Burberry ScarfLouis Vuitton ScarfHermes Scarf Louis Vuitton Bracelets Louis Vuitton handbags Gucci handbags Prada handbags Prada Wallets Louis Vuitton Wallets Gucci Wallets Prada Wallets Wholesale Jewelry Replica handbags replica watches Louis Vuitton Bikini Burberry BikiniMiu Miu Handbags Hermes Bracelets