19.4.2008 ========= This service pack adds SPI FLASH support (ATMEL and ST) and also firmware upload via Ethernet \Applications\uTaskerV1.3\application.c - 14.04.2008 Add optional LCD read test {18} \Applications\uTaskerV1.3\app_hw_lm3sxxxx.h - new SPi FLASH configuration \Applications\uTaskerV1.3\webInterface.c 11.04.2008 Add missing break {10} \Applications\uTaskerV1.3\TaskConfig.h 10.04.2008 Remove unused ADC task \Applications\uTaskerV1.3\LCD.c 14.04.2007 Add optional command before E_LCD_READ_RAM {4} \Applications\uTaskerV1.3\WebPages\WebPagesLM3Sxxxx\0Menu.HTM \Applications\uTaskerV1.3\WebPages\WebPagesLM3Sxxxx\FileSystem\FileSystemLM3SXXXX.doc 4.4.2008 0.01 – various corrections to first draft, including addresses of some blocks. \Hardware\LM3SXXXX\LM3SXXXXSim.c \Hardware\LM3SXXXX\LPC23XX_boot.c - New for Boot loader \Hardware\LM3SXXXX\LM3SXXXX.h \Hardware\LM3SXXXX\LM3SXXXX.c - New SPI FLASH support \Hardware\LM3SXXXX\SimLM3SXXXX.h \Hardware\LM3SXXXX\spi_flash_lm3s_stmicro.h - New for ST SPI FLASH \Hardware\LM3SXXXX\spi_flash_lm3s_atmel.h - New for ATMEL SPI FLASH \Hardware\hardware.h 10.04.2008 Add fnSetHardwareTimer() and fnStopHW_Timer() \uTasker\uFile.c 29.03.2008 Pass file pointer when closing an open line buffer {9} \uTasker\uTasker.h 10.04.2008 move fnSetHardwareTimer() to hardware.h \WinSim\WinSim.c 25.03.2008 Improve AT45DBXXX flash write accuracy by using & rather than copy {18} \Applications\uTaskerV1.3\Rowley_LM3SXXXX - Replacement project set up with new Bare Minimum Boot Loader target \Applications\uTaskerV1.3\Rowley_LM3SXXXX\Bare Minimum Boot Loader contains - BM-Convert.bat - uTaskerConvert.exe - uTaskerCombine.exe for generating uploadable files for firmware updates \Applications\uTaskerBoot - New boot loader project including Rowley GCC build Short guide =========== For normal FLASH operation use the define FLASH_FILE_SYSTEM only in config.h. For SPI FLASH operation set the defines FLASH_FILE_SYSTEM and SPI_FILE_SYSTEM in config.h. The type of SPI FLASH can be specified also (SPI_FLASH_ST or default ATMEL). Details of SPI FLASH size and connection can be set in app_hw_lm3sxxxx.h Firmware upload is supported from internal FLASH. The uTasker project must be built using the "bare minimumboot loader" target in the Rowley project. Using the bat file BM-Convert.bat in \uTaskerV1.3\Rowley_LM3SXXXX\Bare Minimum Boot Loader the boot software (from \Applications\uTaskerBoot\Rowley_LM3SXXXX\THUMB Flash Release) will be merged with the application code and converted to an uploadable format. The generated file (z_Upload.bin) can be transfered via HTTP on the administrator web page to the board, which will then perform the boot sequence and start with the new code. The boot and application can initially be loaded individually from Rowley Crossworks or the file uTaskerBM.bin (containing boot and application) can be loaded using Luminary Micro Flash Programmer. Once both have been installed, further application uploads are possible via Ethernet, using the file z_Upload.bin 10.9.2008 ========= This service pack adds Keil uVision projects for the demo and the boot loader. It also adds I2C and port interrupt support which can be tested in the simulator. The simulator contains improved port simulation capabilities and is prepared for USB. The file system configuration has been slightly changed to remove the parameter system from within the file system boundaries - this makes configuration more flexible. See the modified file system document FileSystemLM3S6xxx_160k.doc in Applications\uTaskerV1.3\WebPages\WebPagesLM3Sxxxx\FileSystem. See the comments in the individual files concerning modifications. Some files which are updated by the service pack may not have comments - in this case they have comment corrections or formatting improvements but no actual code changes. Notes: 1. If the simulation project doesn't compile due to a missing define, delete the file resource.h in \Applications\uTaskerV1.3\Simulator. This file is generated automatically when some changes are made to the menus but the one which is used by the project is in \WinSim - removing the one from the simulation folder will ensure that the correct one is used again. 2. The file \Applications\uTaskerV1.3\config_ref_lm3s_sp2.h was used to test the configuration. This will not overwrite the existing config.h file in your folder but it is advisable to either adapt your version to either integrate the additional configuration defines (and parameter system / file system separation) into your own, or else use the new one (renam it to config.h). 3. New bat files in \Applications\uTaskerV1.3\WebPages\WebPagesLM3Sxxxx allow ftp transfer of all web pages to be started by double clicking on Copy_all.bat and deleting all by double clicking on delete_all.bat. Make sure that the IP address in the bat file matches with your target - this allows fast updates without needing to worry about the FTP client - it uses DOS FTP. 4. If you use Keil uVision there are new projects in \Applications\uTaskerV1.3\uVision_LM3SXXXX and \Applications\uTaskerBoot\Keil_LM3SXXXX. These are configured to allow programming and debugging with the Luminary USB debugger built into the Luminary demo boards. See the new boot loader document for uVision for full details of working with the boot loader. Quick overview: When the uTaskerV1.3 target in the demo project is used the image can be loaded from Keil using the FLASH download utility. It is a standalong program which doesn't suppport software upgrades via Ethernet. When the target uTasker_bm_boot is used, post-build steps convert the generated image and mix it with the boot loader project to create an initial combined image called uTaskerBM.bin (\Applications\uTaskerV1.3\uVision_LM3SXXXX). This binary file needs to be loaded with the Luminary Micro LM Flash loader. In addition it generates a file called z_Upload.bin in \Applications\uTaskerV1.3\uVision_LM3SXXXX\Upload, which can be loaded via FTP or via HTTP POST to the board as software upgrade. Please review the uTasker Luminary forum for more information about this release, inclduing any patches and references to detaile documentation. 26.1.2009 ========= Beta - Service Pack 3 This intermediate version is planned as final Beta service pack before the official Luminary project release, which will contain additional USB CDC support. As well as updating the project to the present development state, with various LM3Sxxxx improvements, it specifically adds SPI FLASH based boot loader support (for ATMEL, ST and SST parts) with integrated builds for GCC (tested with CodeSourcery - Sourcery G++ Lite 2008q1-126 V4.2.3). 1. Install the LM3Sxxxx SP3 on top of SP2 (which needs to be installed on top of SP1...) 2. Delete the file resource.h from the directory \Applications\uTaskerV1.3 3. Rebuild with VS target: - "LM3SXXXX" for pure simulator build - "LM3SXXXX plus GNU" for simulator build plus GNU build (check that the bat file \Applications\uTaskerV1.3\GNU_LM3SXXXX\Build_LM3SXXXX.bat has path for local compile. This generates uTaskerV1.3.bin which is a stand-along application (without boot loader) - "LM3SXXXX BM plus GNU" for simulator build plus GNU 'bare-minimum' boot loader build (check that the bat file \Applications\uTaskerV1.3\GNU_LM3SXXXX\Build_BM_LM3SXXXX.bat has path for local compile. This needs the boot loader project to be already compiled and then links it with the application code as uTaskerBM.bin for simple download (eg with LM Flash Programmer). This also generates z_Upload.bin which can be loaded via Ethernet to the board. 4. The boot loader project can be build using \Applications\uTaskerBoot\GNU_LM3SXXXX\Build_LM3SXXXX_BOOT.bat 5. The file \Applications\uTaskerV1.3\config_sp3.h is supplied as reference to the latest configuration. To build the project as tested for the SP3 release simply rename it to config.h The settings were used to test firmware uploads using an SST SPI FLASH. 6. For full details concerning changes in each file review the header information.