![]() |
![]() |
This is the header file for Secondar Boot Loader which exposes the configurable parameters. More...
#include <stdint.h>#include <stddef.h>#include <ti/common/mmwave_error.h>Macros | |
| #define | SBL_EOK (0) |
| No Error. | |
| #define | SBL_EINVAL (MMWAVE_ERRNO_SBL_BASE-1) |
| Error Code: Invalid argument. | |
| #define | SBL_ESYNC (MMWAVE_ERRNO_SBL_BASE-2) |
| Error Code: Too many synchronization errors. | |
| #define | SBL_ERETRANS (MMWAVE_ERRNO_SBL_BASE-3) |
| Error Code: Too many unsuccessful retransmissions. | |
| #define | SBL_ECANCEL (MMWAVE_ERRNO_SBL_BASE-4) |
| Error Code: Cancelled by remote peer. | |
| #define | SBL_ENOMEM (MMWAVE_ERRNO_SBL_BASE-5) |
| Error Code: Out of memory. | |
| #define | SBL_EMAXMEM (MMWAVE_ERRNO_SBL_BASE-6) |
| Error Code: Exceeds maximum file size. | |
| #define | SBL_AUTOBOOT_COUNT 20U |
| Number of seconds the SBL will wait before autobooting the existing image. This allows the user to press a key to stop the autoboot and flash a new image. | |
| #define | SBL_METAIMAGE_OFFSET (256U * 1024U) |
| This is offset in flash at which the application metaimage will be stored. | |
| #define | SBL_MAX_METAIMAGE_SIZE (1024U * 1024U) |
| This is the maximum size of the application metaimage which the SBL will attempt to flash. This define protects against erraneously overwriting the backup default image. | |
| #define | SBL_BACKUP_IMAGE_OFFSET 0x00180000U |
| This is the backup default image offset. Note: SBL only reads from this location. It does not modify the factory default backup image. | |
This is the header file for Secondar Boot Loader which exposes the configurable parameters.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.