Commit Graph

454 Commits

Author SHA1 Message Date
Frank Voorburg fbfa8dfd31 - Resolved compiler warning by initializing local parse_result in FileTask().
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@127 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-02-23 10:56:02 +00:00
Frank Voorburg e4379d241a - Moved #include "xcp.h" from boot.h to com.h" to resolve compile error for missing include, when using only the file system and no communication interfaces.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@126 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2016-02-22 09:15:51 +00:00
Frank Voorburg 590809ca28 - Disabled echo that Linux responds to the MCU (SerialBoot).
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@125 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2015-12-11 11:16:08 +00:00
Frank Voorburg f2be8d132e - minor code clean-up by removing some commented out code.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@124 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2015-12-07 09:48:25 +00:00
Frank Voorburg e255cf5df8 - Increased default backdoor time to 500 for improved compatibility with all communication interfaces.
- Increased maximum supported COM-port number from 8 to 30.


git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@123 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2015-12-04 10:57:58 +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 a2f8c31a55 - Reverted Microboot com-port support back to just 8.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@121 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2015-11-27 12:18:18 +00:00
Frank Voorburg 54241d3108 - Added support up to COM30 (Microboot)
- Added COM port disconnect/connect during backdoor entry (Microboot).

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@120 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2015-11-27 11:44:01 +00:00
Frank Voorburg 7c6400ea81 - manually added the Nucleo-F103RB demo.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@119 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2015-08-12 15:48:40 +00:00
Frank Voorburg 673474c79d - removed Nuclue STM32 demo due to incomplete patch.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@118 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2015-08-12 15:46:49 +00:00
Frank Voorburg 647108b959 - Applied patch with support for the STM32 Nucleo F1 board.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@117 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2015-08-11 17:12:44 +00:00
Frank Voorburg 74334a7d65 - minor refactoring regarding data type usage.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@116 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2015-03-30 09:20:44 +00:00
Frank Voorburg e02caf47e9 - Fixed bug to prevent loop if an SD-card is not formatted correctly or if the file system is corrupt. Applies to STM32F4xx-SDIO.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@115 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2015-01-22 16:48:04 +00:00
Frank Voorburg 83206d7fac - Updated the USB VID/PID to the official one assigned by OpenMoko.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@113 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-12-16 16:22:18 +00:00
Frank Voorburg db9cf3a96c - Added USB support to the STM32CM4 target and the Olimex STM32-E407 demos.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@112 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-11-27 14:26:13 +00:00
Frank Voorburg c48ea6b571 - Fixed registry saving of last used interface so it now also works on Windows 8.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@110 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-10-16 07:57:54 +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 b03abb2baf - resolved compiler error when net interface is disabled in the configuration header file.
- start user program directly after firmware update instead of resetting the system to bypass unnecessary backdoor timer delay.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@108 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-08-26 08:43:18 +00:00
Frank Voorburg 8fb9cf627d - updated default bootloader configuration in doxygen config file.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@106 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-24 13:16:22 +00:00
Frank Voorburg 3ff4642d27 - updated doxygen configuration file to exclude third party libraries.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@105 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-24 12:43:20 +00:00
Frank Voorburg 51d430da40 - updated bootloader version information. getting ready for v 1.0.0 release.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@104 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-24 09:52:07 +00:00
Frank Voorburg 2cb723ee26 - updated some doxygen text.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@103 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-24 09:32:56 +00:00
Frank Voorburg c975878037 - added seed/key security functionality.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@102 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-24 09:31:17 +00:00
Frank Voorburg 24e3a16dce - improved backdoor functionality when using CAN with no additional network nodes.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@101 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-23 21:51:44 +00:00
Frank Voorburg 6844a08742 - reverted the change in the Peak CAN interface dll (for bus off recovery) as it does not work reliably.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@100 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-23 15:29:19 +00:00
Frank Voorburg 706e582e63 - Added automatic bus off recovery to the Peak CAN communication interface for Microboot.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@99 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-23 08:27:06 +00:00
Frank Voorburg 3f4bc7dd69 - removed interrupt disable from demo bootloader initialization. no longer needed because reactivation from user program is done via software reset.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@98 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-23 05:19:22 +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 0ca620b3ac - added gateway address configuration for TCP/IP communication interface.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@95 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-18 13:21:19 +00:00
Frank Voorburg 1483e686bb - improved openblt_net.dll implementation by adding configurable feature for automatic socket connection retry.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@94 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-18 10:55:23 +00:00
Frank Voorburg 523961a7de - improved ethernet initialization order for LM3S.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@93 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-17 08:36:41 +00:00
Frank Voorburg da0194b0ac - added uIP to LM3S demo programs to test bootloader reactivation. still needs some improvements.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@92 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-07-17 07:11:41 +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 0d4b8dd196 - Changed Microboot USB driver for Windows 8 compatibility.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@90 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-05-27 07:53:25 +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 459beb13ce - Changed version number to 0.97.03, which now includes Serialboot.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@85 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-05-23 11:46:44 +00:00
Frank Voorburg d07c3d783a Added SerialBoot, a command line program written in C for both Windows and Linux to perform firmware updates through the PC's serial port using the OpenBLT bootloader.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@84 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-05-23 09:32:19 +00:00
Frank Voorburg e5e739f85a Moved MicroBoot sources to seperate directory.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@83 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-05-21 06:39:40 +00:00
Frank Voorburg 1f16ffddd6 git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@82 5dc33758-31d5-4daf-9ae8-b24bf3d40d73 2014-05-21 06:38:33 +00:00
Frank Voorburg 9416b19ccc - added support for custom XCP CTO and DTO data length configuration.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@80 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-03-10 07:31:02 +00:00
Frank Voorburg f930f1a355 - updated version number for new release with TI TM4C support.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@77 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-03-10 07:04:35 +00:00
Frank Voorburg 7eddb6d0cf - Set default communication interface to UART for the DK-TM4C123G demo.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@76 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-02-28 17:00:01 +00:00
Frank Voorburg e8ed20a6d4 - implemented USB bulk device support for ARMCM4_TM4C.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@75 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-02-28 16:57:25 +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 603dbb19e2 - completed the flash driver for the TM4C so now the bootloader works using UART.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@73 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-02-19 08:49:15 +00:00
Frank Voorburg abfc06cef3 - added framework port for TM4C with dummy flash driver.
- added demo bootloader for DK-TM4C123G board.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@72 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-02-19 07:11:03 +00:00
Frank Voorburg 82acb8d718 - added demo user program for the DK-TM4C123G board.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@71 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-02-18 13:59:18 +00:00
Frank Voorburg 13d786ac33 - Use system reset to reactivate the bootloader from the demo user programs for Cortex Mx.
- Use cs-make/cs-rm in GCC demos.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@70 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-02-06 14:37:04 +00:00
Frank Voorburg 7c4819c3bd - Supported NET communication module for future TCP/IP support.
- Implemented XCP connect hook function for the mode. Could be used as node id in a multi XCP slave network.
- Reworked communication module so that it builds even if no internally supported communication module is configured. This allows a custom communication module to be added that could even use XCP if desired.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@69 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
2014-02-06 14:01:02 +00:00