Author Topic: uTasker V1.4 SAM7X project  (Read 16509 times)

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3240
    • View Profile
    • uTasker
uTasker V1.4 SAM7X project
« on: August 03, 2009, 01:40:45 PM »
I would like to inform you that there is a new uTasker version V1.4 available for the SAM7X.
This version includes latest new features:
-   User files - http://www.utasker.com/docs/uTasker/uTaskerUserFiles.PDF
-   Graphical LCD - http://www.utasker.com/forum/index.php?topic=636.0
as well as many improvements which can be read in the file headers if necessary.
                                                                       
One of the reasons for creating a version V1.4 is due to slightly different formatted string routines, which is described here: http://www.utasker.com/forum/index.php?topic=641.0 but also due to the fact that V1.4 is a larger synchronization of all uTasker target projects to compatible state, with new port macros (aiding GPIO access and also easing moving between targets: see sam7x.h and search for “port macros” to see the macro set). All file headers have also be modified to reflect a new office address, whereby also newest sources have been integrated, improving code layout (more consistent) and corrected as many comment typos as have been found during the last year or so.
Specifically the file application.c was getting rather large and difficult to work with so a number of demos integrated into this file have been included via header files (such as application_lcd.h or Port_Interrupts.h). This makes application.c much smaller and easier to review but also keeps all peripheral tests, which have simply been removed to specific headers (containing code); it may appear a little strange at first but it does in fact work well like that after a small amount of practice.

The uTaskerV1.4 package also introduces a MODBUS extension pack which is compatible with this version (can be dropped in to work with (almost) all supported processors) – see http://www.utasker.com/forum/index.php?topic=635.0 and http://www.utasker.com/forum/index.php?topic=580.0 for more details and to review its user’s guide.

Finally there has been an addition to the supported processors which appears with the utaskerV1.4. This is the ATMEL AVR32, which is of particular interest to SAM7X users as explained here: http://www.utasker.com/forum/index.php?topic=643.0 If you would like to try it out simply apply at http://www.utasker.com/Licensing/request.html

All registered users will receive an email containing the link to the new package as well as a new password for the SAM7X project.

The uTasker SAM7X tutorial has been revised for the V1.4: http://www.utasker.com/docs/SAM7X/uTaskerV1-4_SAM7X.PDF
I hope that you find the new software of interest and use – just use the forum in case of problems, questions or and other comments.


Good luck

Regards

Mark

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3240
    • View Profile
    • uTasker
Re: uTasker V1.4 SAM7X project
« Reply #1 on: September 29, 2009, 09:08:32 PM »
Hi All

The following is the patch list for V1.4. Check whether these are solved in the version that you downloaded, else correct when needed:

1) Random number generator error can be corrected as pointed out by Dave here: http://www.utasker.com/forum/index.php?topic=702.msg3049#msg3049

2) Port Macro correction: The port macro to configure ports as outputs, including setting an initial value, had an error which meant that it set the ports always high. The correction is as follows (not in the _WINDOWS one) in sam7X.h:
- original
#define _CONFIG_DRIVE_PORT_OUTPUT_VALUE(ref, pins, value) PMC_PCER = PIO##ref; PIO_PER_##ref = pins; PIO_OWER_##ref = (pins); PIO_ODSR_##ref = (pins); PIO_OWER_##ref = 0; PIO_OER_##ref = (pins)

- new
#define _CONFIG_DRIVE_PORT_OUTPUT_VALUE(ref, pins, value) PMC_PCER = PIO##ref; PIO_PER_##ref = pins; PIO_OWER_##ref = (pins); PIO_ODSR_##ref = (value); PIO_OWER_##ref = 0; PIO_OER_##ref = (pins)

Regards

Mark
« Last Edit: September 29, 2009, 11:52:01 PM by mark »