Commit Graph

45 Commits

Author SHA1 Message Date
Frank Voorburg e88477f0d4 Refs #962. Renamed UART to RS232.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@740 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2020-02-06 16:22:58 +00:00
Frank Voorburg 66cdc6543b Refs #734. Corrected preprocessor BOOT_COM_DEFERRED_INIT_ENABLE check in cpu.c.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@658 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2018-12-19 16:50:32 +00:00
Frank Voorburg d407f9b365 Refs #584. Reintegrated branch for DHCP support development back into the trunk.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@572 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2018-08-02 14:32:30 +00:00
Frank Voorburg 17beaf5802 Refs #579. Added CpuMemSet function to all ports and used it in XCP memory reads when the programming resource is locked.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@549 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2018-07-26 10:46:20 +00:00
Frank Voorburg 86562a934d Refs #564. Changed '\' to '/' in source file paths, located in the file comment headers.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@536 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2018-07-17 13:06:06 +00:00
Frank Voorburg 32d3ef07df Refs #400, #431. Added timeout functionality to break out of loops when waiting for hardware acknowledgements.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@482 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2018-04-25 13:49:24 +00:00
Frank Voorburg 6f80eb072f Refs #460. Added length parameter to the XCP packet reception functions.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@424 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2018-02-09 16:59:41 +00:00
Frank Voorburg 817212b60f Refs #477. Added extra check for the received XCP packet length on the UART and USB transport layers.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@423 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2018-02-09 10:12:04 +00:00
Frank Voorburg 59a909fca2 Refs #476. Added evaluation of the len-parameter in functions FlashErase and FlashWrite of all ports.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@422 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2018-02-05 16:43:55 +00:00
Frank Voorburg fc87eb708e Refs #104. Implemented configurable FlashCryptoDecryptDataHook() in all flash drivers. It can be used for implementing program code decryption logic.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@368 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2017-09-27 07:24:27 +00:00
Frank Voorburg c512848520 Refs #383. Refactored FLASH_VECTOR_TABLE_CS_OFFSET to BOOT_FLASH_VECTOR_TABLE_CS_OFFSET.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@363 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2017-09-11 11:28:39 +00:00
Frank Voorburg 605a788a5e Refs #311. Reworked compiler specific parts in the STM32F1 port.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@347 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2017-08-17 08:34:14 +00:00
Frank Voorburg 8da125391b Refs #311. Reworked compiler specific parts in the LM3S port.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@335 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2017-08-16 10:22:24 +00:00
Frank Voorburg 94ecd945a0 Refs #225. Added 29-bit CAN identifier support to the LM3S port.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@334 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2017-08-16 09:03:27 +00:00
Frank Voorburg d6046d1598 Refs# 312. Restructured the modules in the OpenBLT doxygen documentation.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@259 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2017-05-23 17:01:20 +00:00
Frank Voorburg bdb2f42bdd Refs #160. Updated FatFS library to the latest stable version (R0.12).
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@219 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2017-04-27 14:50:14 +00:00
Frank Voorburg 52c9a8d11b Refs #251. Removed deprecated function CpuReset().
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@215 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2017-04-24 08:54:53 +00:00
Frank Voorburg f97e662ca3 Refs #204. Added NvmReinit() API function that gets called at the start of each firmware update. This allows the flash block addresses to be reset.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@194 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-12-17 11:46:55 +00:00
Frank Voorburg f1f41b0923 Refs #164.
- Explicit stackpointer initialization in the demo bootloader programs for boards that use an ARM Cortex core.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@179 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-11-14 17:12:44 +00:00
Frank Voorburg 2cdee1a03e Refs #147.
- Corrected plausibility check on  macro FLASH_VECTOR_TABLE_CS_OFFSET.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@162 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-10-21 13:51:41 +00:00
Frank Voorburg 722ec2e59c Refs #141.
- Added support for a user provided flash layout table for all targets.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@159 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-10-18 13:06:56 +00:00
Frank Voorburg dea8e21945 Refs #140.
- Checksum location is now configurable for Cortex Mx targets, due to possible different size in vector tables.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@157 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-10-17 23:31:31 +00:00
Frank Voorburg 33599da5d2 Refs #81.
- Refactored the CPU module for all targets.
- Added automatic interrupt enabling for ARM Cortex M3/M4.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@156 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-10-17 23:08:45 +00:00
Frank Voorburg 1a13d87c54 - Corrected some comments to resolve doxygen warnings.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@150 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-08-09 11:25:40 +00:00
Frank Voorburg 6b909aa3d7 Refs #120. Updated version number and ran Astyle in preparation for release with STM32F2xx support.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@147 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-07-25 08:33:52 +00:00
Frank Voorburg 30ea2abffc - Updated the version number in preparation of the next release.
- Updated the description of the license model in the license file and all file headers.
- Cleaned up the build environment of the Microboot interface libraries.


git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@139 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-04-30 22:52:15 +00:00
Frank Voorburg 90b766c778 - Corrected whitespace formatting with Astyle tool.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@132 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-03-01 14:24:23 +00:00
Frank Voorburg 6ee735c904 - Moved redundant non-controller specific headers to a central place in the bootloader core. Refs #52.
- Set version to 1.2.0.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@129 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-02-25 13:51:12 +00:00
Frank Voorburg 390280d39d - Improved XCP packet reception for UART by adding a timeout monitor.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@122 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2015-11-27 15:41:22 +00:00
Frank Voorburg 3a7e6c9d8a - improved XCP packet synchronization for the UART and USB communication interfaces.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@109 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-09-15 08:17:44 +00:00
Frank Voorburg af60f400f8 - modified all demo programs so that bootloader activation is done by a software reset instead of just calling the bootloader's reset vector.
- refactored some code to make it easier to adjust the size of the bootloader. 
- improved informative text for certain Microboot interface dll's

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@97 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-22 14:53:07 +00:00
Frank Voorburg 7fe571d82e - added TCP/IP networking support to the STM32-E407 demo bootloader.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@96 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-22 09:26:57 +00:00
Frank Voorburg 677ebf8a15 - Implemented TCP/IP communication interface for the bootloader with support for the LM3S target. Demo program does not yet re-activate the bootloader.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@91 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-15 15:01:42 +00:00
Frank Voorburg c65bf28ee9 - It is now possible to have more than 1 communication interface configured.
- Fixed a bug where certain UART drivers did not work anymore when building with #define NDEBUG.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@89 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-05-26 23:14:30 +00:00
Frank Voorburg 754d8ecb5c - added support for booting from SD-card for the DK-TM4C123G demo.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@74 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-02-19 09:26:30 +00:00
Frank Voorburg 5bdefa6487 - added bootloader version macros to boot.h.
- added new hook functions to the NVM module to allow an application specific override for user program verification/checksum handling.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@54 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2013-08-01 07:44:55 +00:00
Frank Voorburg 284cfcae80 - Added support for automatically generating the source code documentation with Doxygen.
- Converted all comments to the Doxygen format.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@53 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2013-07-31 15:48:23 +00:00
Frank Voorburg f6830b5864 - Added support for firmware updates from a FATFS mounted file system
- Supported firmware updates from SD-card for EK-LM3S6965 demo
- Added CpuUserProgramStartHook() hook function
- Improved timer module so it can be used by all other modules, not just the backdoor


git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@42 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2013-05-22 13:37:47 +00:00
Frank Voorburg a21ee401c5 - Added support for the GCC and IAR compiler on target ARMCM3_LM3S, including demos.
- Enabled 'longcalls' compiler switch in the demo programs for ARM GCC.
- Enabled garbage collection for ARMCM3_LM3S/GCC boot programs and reduced bootloader size from 16 to 8kb.



git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@34 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2012-03-04 17:51:16 +00:00
Frank Voorburg ba4de8c1ba - Added a demo for the EK-LM3S8962 and Crossworks compiler with support for UART and CAN.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@33 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2012-03-04 12:34:40 +00:00
Frank Voorburg 89bf013a7b - Added support for the IAR compiler on target ARMCM3_EFM32, including demos.
- Added timer deinit call to ARMCM3 demo programs before the bootloader is activated.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@31 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2012-03-03 23:05:56 +00:00
Frank Voorburg a9563f6d39 - Added support for the GCC compiler on target ARMCM3_LM3S, including demos.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@29 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2012-03-03 20:39:31 +00:00
Frank Voorburg cddd66e0ba - Shrunk ARMCM3_LM3S bootloader for IAR from 16 to 8kb.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@28 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2012-03-03 17:55:13 +00:00
Frank Voorburg 3f4257e9b7 - Added support for the IAR compiler on target ARMCM3_LM3S, including demos.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@27 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2012-03-03 17:42:31 +00:00
Frank Voorburg 8cf7702a87 - Added support for the LM3S ARM CortexM3 family with a demo for the EK-LM3S6965 and Crossworks compiler
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@26 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2012-03-03 15:48:08 +00:00