21 Commits

Author SHA1 Message Date
Razvalyaev
c61c438b8c uart для платы вэп + структурирован чуть проект и описан бутлоадер
Но надо еще его дорабатывать

+ заготовка для протокола приема (не работает скорее всего, просто из чатгпт вставил)
2025-09-19 13:38:29 +03:00
Razvalyaev
0e834dfe3d структуризирован бутлоадер. работает
надо по протоколу подумать еще, доработать его и описать
2025-09-15 14:48:13 +03:00
Razvalyaev
fbd36705f1 работает но не стабильно 2025-09-12 12:22:17 +03:00
Razvalyaev
320cce09ec сделано (проверено на can):
отправка ошибок бутлоадера по uart/can
проверка crc принятой страницы
проверка на бесконечное попадание в hardfault

в целом структура бута все еще в процессе разработки
2025-09-11 16:57:20 +03:00
Razvalyaev
05e069441c Что-то работает, но много чего еще надо сделать 2025-09-10 16:53:31 +03:00
Razvalyaev
d82a525a82 boot test init
в добавок сделано считывание частоты и скважности сети. можно по скважности определить какая фаза оборвана (в теории)

+ нормальный гитигнор
2025-09-08 12:55:30 +03:00
c46dde7c5c Прием посылок CAN. Расчет скважностей по TIM4 2025-08-28 12:44:48 +03:00
f2b52210e9 добавил freeze iwdg для debug 2025-08-25 16:48:19 +03:00
9ff61f7825 игнор проектных настроек 2025-08-25 16:46:14 +03:00
ed3ac12f75 перенес IWDG что бы инициализировался раньше 2025-08-25 16:28:23 +03:00
Razvalyaev
d9c19bf743 Исправлен id по can: был std, теперь ext (бит IDE в msgHeaderSend)
Сделано моргание диодом только по успешной отправке по CAN
2025-08-25 16:03:37 +03:00
327f65e16b add to gitingore 2025-08-22 18:43:55 +03:00
0699aee653 nothing 2025-08-22 18:36:06 +03:00
c2b7720886 add gitignore 2025-08-22 18:34:01 +03:00
072f042fe3 невыжные файлы 2025-08-22 18:33:03 +03:00
b9db537db1 потерял функцию millisecond подписал комментарии к функциям 2025-08-22 18:32:37 +03:00
a7d6faca8b смена кодировки 2025-08-22 18:25:51 +03:00
d6c3e5d7be перенес все файлы Димы в пересобраный проект 2025-08-22 17:31:23 +03:00
120ec1cd90 не значимые изменения 2025-08-22 16:14:23 +03:00
370a0a98e6 обозвал порты как в КЛГИ 2025-08-22 16:13:03 +03:00
4bf3fcd9ce create new proj 2025-08-22 14:51:02 +03:00
161 changed files with 4275 additions and 32434 deletions

143
.gitignore vendored Normal file
View File

@@ -0,0 +1,143 @@
# ---> uVision
# git ignore file for Keil µVision Project
# µVision 5 and µVision 4 Project screen layout file
*.uvguix.*
*.uvgui.*
*.uvoptx.*
# Listing Files
*.i
*.lst
*.m51
*.m66
*.map
# Object Files
*.axf
*.b[0-2][0-9]
*.b3[0-1]
*.bak
*.build_log.htm
*.crf
*.d
*.dep
*.elf
*.htm
*.iex
*.lnp
*.o
*.obj
*.sbr
# Firmware Files
*.bin
*.h86
*.hex
# Build Files
.bat
# Debugger Files
.ini
# JLink Files
JLinkLog.txt
# Other Files
# ---> Qt
# C++ objects and libs
*.slo
*.lo
*.o
*.a
*.la
*.lai
*.so
*.so.*
*.dll
*.dylib
# Qt-es
object_script.*.Release
object_script.*.Debug
*_plugin_import.cpp
/.qmake.cache
/.qmake.stash
*.pro.user
*.pro.user.*
*.qbs.user
*.qbs.user.*
*.moc
moc_*.cpp
moc_*.h
qrc_*.cpp
ui_*.h
*.qmlc
*.jsc
Makefile*
*build-*
*.qm
*.prl
# Qt unit tests
target_wrapper.*
# QtCreator
*.autosave
# QtCreator Qml
*.qmlproject.user
*.qmlproject.user.*
# QtCreator CMake
CMakeLists.txt.user*
# QtCreator 4.8< compilation database
compile_commands.json
# QtCreator local machine specific files for imported projects
*creator.user*
*_qmlcache.qrc
# ---> MATLAB
# Windows default autosave extension
*.asv
# OSX / *nix default autosave extension
*.m~
# Compiled MEX binaries (all platforms)
*.mex*
# Packaged app and toolbox files
*.mlappinstall
*.mltbx
# Generated helpsearch folders
helpsearch*/
# Simulink code generation folders
slprj/
sccprj/
# Matlab code generation folders
codegen/
# Simulink autosave extension
*.autosave
# Simulink cache files
*.slxc
# Octave session info
octave-workspace
/MDK-ARM/uksvep_2_2_v1/
/MDK-ARM/JLinkSettings.ini

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,20 @@
#ifndef __BOOT_CAN_H
#define __BOOT_CAN_H
#include "bootloader.h"
extern CAN_HandleTypeDef hcan_boot;
extern CAN_TxHeaderTypeDef TxHeaderBoot;
extern CAN_RxHeaderTypeDef RxHeaderBoot;
extern uint32_t TxMailBoxBoot;
extern uint8_t TXDataBoot[8];
/* Инициализация CAN */
void MX_BOOT_CAN_Init(void);
/* Приём команды по CAN по протоколу */
BootloaderCommand_t Bootloader_CAN_Receive(Bootloader_t *bl);
/* Приём CAN: страница + CRC */
void Bootloader_CAN_Receive_Page(Bootloader_t *bl);
#endif //__BOOT_CAN_H

View File

@@ -0,0 +1,14 @@
#ifndef __BOOT_FLASH_H
#define __BOOT_FLASH_H
#include "bootloader.h"
// FOR APP FLASHING
HAL_StatusTypeDef FLASH_Erase_App(void);
HAL_StatusTypeDef FLASH_Write_Page(uint32_t *Address, uint8_t *Data, int Data_size);
// SERVICE
HAL_StatusTypeDef FLASH_Write_Word(uint32_t Address, uint64_t Data);
#endif //__BOOT_FLASH_H

View File

@@ -0,0 +1,14 @@
#ifndef __BOOT_GPIO_H
#define __BOOT_GPIO_H
#include "bootloader.h"
#define LED_BOOT_ON() CLEAR_BIT(LED_BOOT_GPIO_Port->ODR, LED_BOOT_Pin)
#define LED_BOOT_OFF() SET_BIT(LED_BOOT_GPIO_Port->ODR, LED_BOOT_Pin)
#define LED_BOOT_TOOGLE() LED_BOOT_GPIO_Port->ODR ^= LED_BOOT_Pin
void MX_BOOT_GPIO_Init(void);
#endif //__BOOT_GPIO_H

View File

@@ -0,0 +1,26 @@
#ifndef __BOOT_JUMP_H
#define __BOOT_JUMP_H
#include "bootloader.h"
/* Инициализация приложения */
void App_Init(void);
/* Переход в бутлоадер */
void JumpToBootloader(void);
/* Переход к основному приложению */
void JumpToApplocation(void);
/* Сброс ключа BOOT в Flash */
void ResetKey(void);
/* Установка ключа BOOT в Flash */
void SetKey(void);
/* Чтение ключа BOOT из Flash */
uint32_t ReadKey(void);
/* Стирание ключа BOOT в Flash */
void EraseKey(void);
/* Проверка валидности прошивки перед переходом к приложению */
HAL_StatusTypeDef Verify_Firmware(void);
#endif //__BOOT_JUMP_H

View File

@@ -0,0 +1,73 @@
#ifndef __BOOT_SETUP_H
#define __BOOT_SETUP_H
#include "stm32f1xx_hal.h"
// ======================== BOOTLOADER CONFIG ========================
// ---------- MAIN APPLICATION defines ----------
// Адрес и страницы Flash для основного приложения
// MAIN_APP_START_ADR начало кода основного приложения
#define MAIN_APP_START_ADR (uint32_t)0x0800C000UL
#define MAIN_APP_PAGE 21 // страница, с которой начинается приложение
#define MAIN_APP_NUM_OF_PAGE 250-MAIN_APP_PAGE // количество страниц, отведённых под приложение
// ---------- KEY defines ----------
// Адрес и страница Flash для хранения ключа бутлоадера
// Ключ используется для проверки, записано ли приложение корректно
#define BOOTLOADER_KEY_ADR (uint32_t)0x08009800UL // физический адрес ключа
#define BOOTLOADER_KEY_PAGE 20 // страница флеш, на которой хранится ключ
// ---------- RECEIVE defines ----------
// Настройки приёма прошивки
#define FW_RECEIVE_TIMEOUT_MS 500 // таймаут приёма одного байта прошивки (мс)
#define PAGE_SIZE 2048 // размер блока (страницы) прошивки для приёма и записи в Flash
// должен быть таким, чтобы размер страниц Flash был кратен ему
// ---------- LED defines ----------
#define LED_BOOT_Pin GPIO_PIN_5
#define LED_BOOT_GPIO_Port GPIOB
// ======================== RCC (CLOCK) defines ========================
// Макросы для включения тактирования периферии бутлоадера
#define __RCC_LED_BOOT_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() // тактирование UART
#define __RCC_UART_BOOT_CLK_ENABLE() __HAL_RCC_UART4_CLK_ENABLE() // тактирование UART
#define __RCC_UART_PORT_CLK_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE() // тактирование порта UART
#define __RCC_CAN_BOOT_CLK_ENABLE() __HAL_RCC_CAN1_CLK_ENABLE() // тактирование CAN
#define __RCC_CAN_PORT_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE() // тактирование порта CAN
// ======================== UART defines ========================
// Аппаратный UART и скорость передачи
#define UART_BOOT UART4
#define UART_SPEED 115200
// Порт и пины UART
#define UART_PORT GPIOC
#define UART_PIN_TX GPIO_PIN_10
#define UART_PIN_RX GPIO_PIN_11
// ======================== CAN defines ========================
// Аппаратный CAN и режим работы
#define CAN_BOOT CAN1
#define CAN_MODE CAN_MODE_NORMAL
// Настройка скорости CAN при 8 MHz
// ------------|-----------|-----------|-----------
// CAN speed | Prescaler | BS1 | BS2
// ------------|-----------|-----------|-----------
// 125 kbps | 4 | 13TQ | 2TQ
// 250 kbps | 2 | 13TQ | 2TQ
// 500 kbps | 1 | 13TQ | 2TQ
#define CAN_SPEED_PRESCALER 4
#define CAN_SPEED_BS1 CAN_BS1_13TQ
#define CAN_SPEED_BS2 CAN_BS2_2TQ
// Порт и пины CAN
#define CAN_PORT GPIOA
#define CAN_PIN_RX GPIO_PIN_11
#define CAN_PIN_TX GPIO_PIN_12
#endif //__BOOT_SETUP_H

View File

@@ -0,0 +1,15 @@
#ifndef __BOOT_UART_H
#define __BOOT_UART_H
#include "bootloader.h"
extern UART_HandleTypeDef huart_boot;
/* Инициализация UART */
void MX_BOOT_UART_Init(void);
/* Приём команды по UART по протоколу */
BootloaderCommand_t Bootloader_UART_Receive(Bootloader_t *bl);
/* Приём UART: страница + CRC */
void Bootloader_UART_Receive_Page(Bootloader_t *bl);
#endif //__BOOT_UART_H

View File

@@ -0,0 +1,150 @@
#ifndef __BOOTLOADER_H
#define __BOOTLOADER_H
#include "boot_project_setup.h"
#include "string.h"
/* --- Настройка: подставьте значения для вашей MCU --- */
/* Адрес начала приложения (используется в вашем коде) */
#ifndef MAIN_APP_START_ADR
#error "MAIN_APP_START_ADR must be defined"
#endif
/* Flash boundaries: подставьте реальные границы флеш-памяти вашего MCU */
#ifndef FLASH_START_ADR
#define FLASH_START_ADR MAIN_APP_START_ADR
#endif
#ifndef FLASH_END_ADR
#define FLASH_END_ADR FLASH_BASE + (*((uint16_t*)FLASHSIZE_BASE) * 1024U)
#endif
/* SRAM boundaries: подставьте реальные адреса SRAM вашей MCU */
#ifndef SRAM_START_ADR
#define SRAM_START_ADR 0x20000000UL
#endif
#ifndef SRAM_END_ADR
#define SRAM_END_ADR 0x2003FFFFUL
#endif
/**
* @brief Значение ключа, указывающее что основное приложение записано
*/
#define BL_KEY_APP_WRITTEN 0xAAAA5555
/** @brief Получить сохранённый код ошибки из BKP */
#define GetErrorCode() BKP->DR1
/** @brief Получить счетчик ошибок из BKP */
#define GetErrorCnt() BKP->DR2
/**
* @brief Сохранение кода ошибки и инкремент счетчика
* @param code Код ошибки
* @details
* Включаем тактирование PWR и BKP (APB1) и разрешаем доступ к BKP domain
* Записываем напрямую в регистры RCC/APB1ENR и PWR->CR
* Записываем код ошибки и счётчик ошибок
*/
#define SaveErrorCode(code) do{ \
RCC->APB1ENR |= (RCC_APB1ENR_PWREN | RCC_APB1ENR_BKPEN); \
PWR->CR |= PWR_CR_DBP; \
GetErrorCode() = code; \
GetErrorCnt() = GetErrorCnt() + 1; \
}while(0u);
/**
* @brief Очистка кода ошибки и счетчика ошибок
*/
#define ClearErrorCode(code) do{ \
RCC->APB1ENR |= (RCC_APB1ENR_PWREN | RCC_APB1ENR_BKPEN); \
PWR->CR |= PWR_CR_DBP; \
GetErrorCode() = 0; \
GetErrorCnt() = 0; \
}while(0u);
/**
* @brief Команды для управления бутлоадером
*/
typedef enum {
NO_CMD = 0x00, ///< Нет комманды
CMD_ERASE = 0x01, ///< Команда на стирание прошивки
CMD_START_RECEIVE, ///< Команда на старт приема прошивки
CMD_WRITE, ///< Команда на запись блока прошивки
CMD_GOTOAPP, ///< Команда на переход в приложение
CMD_RESET, ///< Команда на переход в приложение
CMD_GOTOBOOT, ///< Команда на переход в приложение
CMD_PING = 0xAA, ///< Команда на пинг
}BootloaderCommand_t;
/**
* @brief Состояния конечного автомата бутлоадера
*/
typedef enum {
BL_STATE_INIT = 0, ///< Состояние: инициализация
BL_STATE_JUMP_TO_APP, ///< Состояние: запуск приложения
BL_STATE_IDLE, ///< Состояние: ожидание команд
BL_STATE_ERASE, ///< Состояние: стирание флеша
BL_STATE_RECEIVE_UART, ///< Состояние: прием прошивки по UART
BL_STATE_RECEIVE_CAN, ///< Состояние: прием прошивки по CAN
BL_STATE_WRITE, ///< Состояние: запись данных
BL_STATE_ERROR, ///< Состояние: ошибка
BL_STATE_RESET, ///< Состояние: сброс контролллера
BL_STATE_JUMP_TO_BOOT, ///< Состояние: запуск приложения
} BootloaderState_t;
/**
* @brief Ошибки бутлоадера
*/
typedef union {
uint16_t all; ///< Все ошибки одним числом
struct {
unsigned hardfault_cycle:1; ///< Прерывание HardFault
unsigned memmanage_cycle:1; ///< Прерывание MemManage
unsigned watchdog_reset:1; ///< Watchdog сброс
unsigned unknown_cmd:1; ///< Неизвестная команда
unsigned erase_err:1; ///< Ошибка стирания
unsigned write_err:1; ///< Ошибка записи
unsigned verify_err:1; ///< Ошибка проверки прошивки
unsigned overflow:1; ///< Слишком много данных
unsigned timeout_receive:1; ///< Таймаут приёма
unsigned crc_err:1; ///< Ошибка CRC
} bit;
} BootloaderError_t;
/**
* @brief Дескриптор бутлоадера
*/
typedef struct {
BootloaderState_t state; ///< текущее состояние бутлоадера
BootloaderError_t error; ///< ошибки бутлоадера
uint32_t addr; ///< текущий адрес прошивки
uint8_t fw_size; ///< размер прошивки
uint8_t fw_buffer[PAGE_SIZE]; ///< буфер для приема прошивки (UART/CAN)
uint32_t fw_len; ///< длина принятого пакета
uint32_t fw_crc; ///< контрольная сумма прошивки
UART_HandleTypeDef *huart; ///< хендлер UART
CAN_HandleTypeDef *hcan; ///< хендер CAN
CAN_TxHeaderTypeDef TxHeader; ///< Заголовок CAN сообщения для отправки
BootloaderState_t prev_state; ///< предыдущее состояние бутлоадера
} Bootloader_t;
/* Основная задача бутлоадера */
void Bootloader_Task(Bootloader_t *bl);
/* Настройка тактирования */
void Boot_SystemClock_Config(void);
/* Хендлер ошибки */
void Error_Handler(void);
/* CRC */
uint32_t CRC32_Compute(const uint8_t* data, uint32_t length);
#endif //__BOOTLOADER_H

View File

@@ -0,0 +1,162 @@
#include "boot_can.h"
#include "boot_gpio.h"
CAN_HandleTypeDef hcan_boot;
CAN_TxHeaderTypeDef TxHeaderBoot;
CAN_RxHeaderTypeDef RxHeaderBoot;
uint32_t TxMailBoxBoot = 0;
uint8_t TXDataBoot[8] = {0};
/**
* @brief Инициализация CAN для бутлоадера
*/
void MX_BOOT_CAN_Init(void)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
CAN_FilterTypeDef sFilterConfig;
/* Включаем тактирование */
__RCC_CAN_BOOT_CLK_ENABLE();
__RCC_CAN_PORT_CLK_ENABLE();
/* Настройка пинов RX/TX */
GPIO_InitStruct.Pin = CAN_PIN_RX;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(CAN_PORT, &GPIO_InitStruct);
GPIO_InitStruct.Pin = CAN_PIN_TX;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(CAN_PORT, &GPIO_InitStruct);
/* Настройка CAN */
hcan_boot.Instance = CAN_BOOT;
hcan_boot.Init.Prescaler = CAN_SPEED_PRESCALER;
hcan_boot.Init.Mode = CAN_MODE;
hcan_boot.Init.SyncJumpWidth = CAN_SJW_1TQ;
hcan_boot.Init.TimeSeg1 = CAN_SPEED_BS1;
hcan_boot.Init.TimeSeg2 = CAN_SPEED_BS2;
hcan_boot.Init.TimeTriggeredMode = DISABLE;
hcan_boot.Init.AutoBusOff = DISABLE;
hcan_boot.Init.AutoWakeUp = DISABLE;
hcan_boot.Init.AutoRetransmission = ENABLE;
hcan_boot.Init.ReceiveFifoLocked = DISABLE;
hcan_boot.Init.TransmitFifoPriority = DISABLE;
if (HAL_CAN_Init(&hcan_boot) != HAL_OK)
{
Error_Handler();
}
/* Настройка фильтра: пропускать все сообщения */
sFilterConfig.FilterBank = 0;
sFilterConfig.FilterMode = CAN_FILTERMODE_IDMASK;
sFilterConfig.FilterScale = CAN_FILTERSCALE_32BIT;
sFilterConfig.FilterIdHigh = 0x0000;
sFilterConfig.FilterIdLow = 0x0000;
sFilterConfig.FilterMaskIdHigh = 0x0000;
sFilterConfig.FilterMaskIdLow = 0x0000;
sFilterConfig.FilterFIFOAssignment = CAN_FILTER_FIFO0;
sFilterConfig.FilterActivation = ENABLE;
if (HAL_CAN_ConfigFilter(&hcan_boot, &sFilterConfig) != HAL_OK)
{
Error_Handler();
}
/* Запускаем CAN */
if (HAL_CAN_Start(&hcan_boot) != HAL_OK)
{
Error_Handler();
}
}
/**
* @brief Приём команды по CAN по протоколу:
* @param bl: указатель на структуру бутлоадера
* @retval BootloaderCommand_t — принятая команда или NO_CMD
*/
BootloaderCommand_t Bootloader_CAN_Receive(Bootloader_t *bl)
{
BootloaderCommand_t cmd = NO_CMD;
uint8_t canData[8];
if (HAL_CAN_GetRxFifoFillLevel(bl->hcan, CAN_RX_FIFO0) > 0)
{
if (HAL_CAN_GetRxMessage(bl->hcan, CAN_RX_FIFO0, &RxHeaderBoot, canData) == HAL_OK)
{
cmd = canData[0]; // предполагаем, что команда в первом байте
}
}
return cmd;
}
/**
* @brief Приём CAN: страница + CRC
* @param bl: указатель на структуру бутлоадера
*/
void Bootloader_CAN_Receive_Page(Bootloader_t *bl)
{
uint16_t bytes_received = 0;
CAN_RxHeaderTypeDef canHeader;
uint8_t canData[8];
uint32_t start_tick = HAL_GetTick();
// Приём страницы прошивки
while(bytes_received < PAGE_SIZE)
{
if(HAL_CAN_GetRxFifoFillLevel(bl->hcan, CAN_RX_FIFO0) > 0)
{
if(HAL_CAN_GetRxMessage(bl->hcan, CAN_RX_FIFO0, &canHeader, canData) == HAL_OK)
{
uint8_t len = canHeader.DLC;
if(bytes_received + len > PAGE_SIZE)
len = PAGE_SIZE - bytes_received;
memcpy(&bl->fw_buffer[bytes_received], canData, len);
bytes_received += len;
start_tick = HAL_GetTick(); // сброс таймаута
LED_BOOT_TOOGLE();
}
}
// проверка таймаута
if(HAL_GetTick() - start_tick >= FW_RECEIVE_TIMEOUT_MS)
{
bl->error.bit.timeout_receive = 1;
bl->state = BL_STATE_ERROR;
return;
}
}
// Приём CRC (4 байта)
start_tick = HAL_GetTick(); // сброс таймаута
while(1)
{
if(HAL_CAN_GetRxFifoFillLevel(bl->hcan, CAN_RX_FIFO0) > 0)
{
if(HAL_CAN_GetRxMessage(bl->hcan, CAN_RX_FIFO0, &canHeader, canData) == HAL_OK)
{
// CRC в первых 4 байтах пакета
bl->fw_crc = (canData[0] << 24) |
(canData[1] << 16) |
(canData[2] << 8) |
canData[3];
break;
}
}
// Таймаут
if(HAL_GetTick() - start_tick >= FW_RECEIVE_TIMEOUT_MS)
{
bl->error.bit.timeout_receive = 1;
bl->state = BL_STATE_ERROR;
return;
}
}
bl->fw_len = PAGE_SIZE;
bl->state = BL_STATE_IDLE;
}

View File

@@ -0,0 +1,92 @@
#include "boot_flash.h"
uint32_t word_data;
HAL_StatusTypeDef FLASH_Erase_App(void) //
{
HAL_StatusTypeDef res;
uint32_t PageError = 0x00;
res = HAL_FLASH_Unlock();
if (res != HAL_OK) return res;
FLASH_EraseInitTypeDef EraseInitStruct;
EraseInitStruct.TypeErase = FLASH_TYPEERASE_PAGES;// erase pages
EraseInitStruct.Banks = 1;
EraseInitStruct.PageAddress = MAIN_APP_START_ADR; //address
EraseInitStruct.NbPages = MAIN_APP_NUM_OF_PAGE;// num of erased pages
res = HAL_FLASHEx_Erase(&EraseInitStruct, &PageError);
if (res != HAL_OK) return res;
res = HAL_FLASH_Lock();
return res;
}
HAL_StatusTypeDef FLASH_Write_Page(uint32_t *Address, uint8_t *Data, int Data_size)
{
//GPIOB->ODR^=(0x2000);
// GPIOB->ODR|=0x4000;
HAL_StatusTypeDef res;
int data_cnt = 0;
uint32_t adr;
res = HAL_FLASH_Unlock();
if (res != HAL_OK) return res;
for (adr = *Address; adr < *Address + Data_size; adr = adr+4)
{
word_data = (
Data[data_cnt]|
Data[data_cnt+1]<<8|
Data[data_cnt+2]<<16|
Data[data_cnt+3]<<24);
res = HAL_FLASH_Program(FLASH_TYPEPROGRAM_WORD, adr, word_data);
if (res != HAL_OK) return res;
data_cnt +=4;
}
*Address += Data_size;
res = HAL_FLASH_Lock();
return res;
}
HAL_StatusTypeDef FLASH_Write_Word(uint32_t Address, uint64_t Data) //Куда записывать
{
HAL_StatusTypeDef res;
res = HAL_FLASH_Unlock();
if (res != HAL_OK) return res;
res = HAL_FLASH_Program(FLASH_TYPEPROGRAM_WORD, Address, (uint32_t)(Data));
if (res != HAL_OK) return res;
res = HAL_FLASH_Lock();
return res;
}

View File

@@ -0,0 +1,24 @@
#include "boot_gpio.h"
/**
* @brief Инициализация GPIO для бутлоадера
*/
void MX_BOOT_GPIO_Init(void)
{
__RCC_LED_BOOT_CLK_ENABLE();
GPIO_InitTypeDef GPIO_InitStruct = {0};
GPIO_InitStruct.Pin = LED_BOOT_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; // Push-Pull выход
GPIO_InitStruct.Pull = GPIO_NOPULL; // Без подтяжки
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; // Низкая скорость
HAL_GPIO_Init(LED_BOOT_GPIO_Port, &GPIO_InitStruct);
for(int cnt = 0; cnt < 5; cnt++)
{
LED_BOOT_ON();
for(int delay = 0; delay < 10000; delay++);
LED_BOOT_OFF();
for(int delay = 0; delay < 10000; delay++);
}
}

View File

@@ -0,0 +1,150 @@
/**
* @file boot_jump.c
* @brief Функции для перехода между бутлоадером и основным приложением,
* управление ключом BOOT и проверка прошивки.
*
* Основные возможности:
* - Настройка вектора прерываний для запуска приложения
* - Управление ключом BOOT в Flash
* - Проверка корректности прошивки перед прыжком
* - Функции прыжка: Bootloader <-> Application
*/
#include "boot_jump.h"
/**
* @brief Инициализация приложения.
* Устанавливает вектор прерываний на начало основного приложения.
*/
void App_Init(void)
{
__disable_irq();
SCB->VTOR = MAIN_APP_START_ADR;
__enable_irq();
}
/**
* @brief Переход в бутлоадер.
* Сбрасывает ключ BOOT и выполняет системный сброс.
*/
void JumpToBootloader(void)
{
// jump to boot
ResetKey(); // сброс ключа (не erase, просто битый ключ)
NVIC_SystemReset(); // сброс и переход в бутлоадер (т.к. нет ключа)
}
/**
* @brief Переход к основному приложению.
* Настраивает стек и переход к ResetHandler приложения.
*/
void JumpToApplocation(void)
{
//Деинициализация HAL
HAL_DeInit();
//Перенос вектора прерываний на начало зашитой программы
__disable_irq();
__set_MSP(*((volatile uint32_t*)MAIN_APP_START_ADR));
__enable_irq();
//Переход к выполнению зашитой программы
__ASM volatile(
"ldr r0, [%0, #4]\n" // r0 = *(MAIN_APP_START_ADR + 4)
"bx r0\n" // переход по адресу в r0
:
: "r"(MAIN_APP_START_ADR)
: "r0"
);
//Note: asm потому что при O0 компилятор делал локальные переменные,
// из-за чего при смене стека он не мог получить адрес для прыжка
}
/**
* @brief Сброс ключа BOOT в Flash.
* Делает ключ «битым», чтобы MCU остался в бутлоадере при следующем перезапуске.
*/
void ResetKey(void)
{
HAL_FLASH_Unlock();
HAL_FLASH_Program(FLASH_TYPEPROGRAM_WORD, BOOTLOADER_KEY_ADR, 0);
HAL_FLASH_Lock();
}
/**
* @brief Установка ключа BOOT в Flash.
* Указывает, что прошивка записана корректно.
*/
void SetKey(void)
{
HAL_FLASH_Unlock();
HAL_FLASH_Program(FLASH_TYPEPROGRAM_WORD, BOOTLOADER_KEY_ADR, BL_KEY_APP_WRITTEN);
HAL_FLASH_Lock();
}
/**
* @brief Чтение ключа BOOT из Flash.
* @retval Значение ключа
*/
uint32_t ReadKey(void)
{
return (*(__IO uint32_t*)BOOTLOADER_KEY_ADR);
}
/**
* @brief Стирание ключа BOOT в Flash (одна страница).
*/
void EraseKey(void)
{
FLASH_EraseInitTypeDef EraseInitStruct;
HAL_FLASH_Unlock();
uint32_t PageError = 0x00;
EraseInitStruct.TypeErase = FLASH_TYPEERASE_PAGES;// erase pages
EraseInitStruct.PageAddress = BOOTLOADER_KEY_ADR; //address
EraseInitStruct.NbPages = 0x01;// num of erased pages
HAL_FLASHEx_Erase(&EraseInitStruct, &PageError);
HAL_FLASH_Lock();
}
/**
* @brief Проверка валидности прошивки перед переходом к приложению.
* Проверяет MSP и ResetHandler.
* @retval HAL_OK - прошивка валидна
* HAL_ERROR - прошивка повреждена или некорректна
*/
HAL_StatusTypeDef Verify_Firmware(void)
{
uint32_t msp = *((volatile uint32_t*)(MAIN_APP_START_ADR));
uint32_t reset = *((volatile uint32_t*)(MAIN_APP_START_ADR + 4));
/* 1) Проверка MSP: должен быть указателем в SRAM */
if ((msp < SRAM_START_ADR) || (msp > SRAM_END_ADR))
{
/* Некорректный стек — прошивка невалидна */
return HAL_ERROR;
}
/* 2) Проверка reset handler:
- бит0 должен быть 1 (Thumb)
- адрес без бита0 должен лежать в пределах flash (MAIN_APP_START_ADR .. FLASH_END_ADR)
*/
if ((reset & 0x1) == 0)
{
/* Не Thumb-при-старте — подозрительно */
return HAL_ERROR;
}
uint32_t reset_addr = (reset & (~1U)); /* выравненный адрес */
if ((reset_addr < FLASH_START_ADR) || (reset_addr > FLASH_END_ADR))
{
/* Reset handler вне flash */
return HAL_ERROR;
}
return HAL_OK;
}

View File

@@ -0,0 +1,189 @@
#include "bootloader.h"
Bootloader_t boot = {0};
int main()
{
__disable_irq();
SCB->VTOR = FLASH_BASE;
__enable_irq();
boot.state = BL_STATE_INIT;
while (1)
{
Bootloader_Task(&boot);
}
}
/**
* @brief This function handles System tick timer.
*/
void SysTick_Handler(void)
{
/* USER CODE BEGIN SysTick_IRQn 0 */
/* USER CODE END SysTick_IRQn 0 */
HAL_IncTick();
/* USER CODE BEGIN SysTick_IRQn 1 */
/* USER CODE END SysTick_IRQn 1 */
}
void Boot_SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
/* Включаем внутренний генератор HSI */
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_OFF; // без PLL
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
{
Error_Handler();
}
/* Настройка шин AHB/APB */
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI; // HSI = 8 MHz
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; // HCLK = 8 MHz
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; // PCLK1 = 8 MHz
RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; // PCLK2 = 8 MHz
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
{
Error_Handler();
}
}
/******************************************************************************/
/* Cortex-M3 Processor Interruption and Exception Handlers */
/******************************************************************************/
/**
* @brief This function handles Non maskable interrupt.
*/
void NMI_Handler(void)
{
/* USER CODE BEGIN NonMaskableInt_IRQn 0 */
/* USER CODE END NonMaskableInt_IRQn 0 */
/* USER CODE BEGIN NonMaskableInt_IRQn 1 */
while (1)
{
}
/* USER CODE END NonMaskableInt_IRQn 1 */
}
/**
* @brief This function handles Hard fault interrupt.
*/
void HardFault_Handler(void)
{
/* USER CODE BEGIN HardFault_IRQn 0 */
/* Включаем тактирование PWR и BKP (APB1) и разрешаем доступ к BKP domain */
/* Записываем напрямую в регистры RCC/APB1ENR и PWR->CR */
SaveErrorCode(0xDEAD);
NVIC_SystemReset();
/* USER CODE END HardFault_IRQn 0 */
while (1)
{
/* USER CODE BEGIN W1_HardFault_IRQn 0 */
/* USER CODE END W1_HardFault_IRQn 0 */
}
}
/**
* @brief This function handles Memory management fault.
*/
void MemManage_Handler(void)
{
/* USER CODE BEGIN MemoryManagement_IRQn 0 */
SaveErrorCode(0xBEEF);
NVIC_SystemReset();
/* USER CODE END MemoryManagement_IRQn 0 */
while (1)
{
/* USER CODE BEGIN W1_MemoryManagement_IRQn 0 */
/* USER CODE END W1_MemoryManagement_IRQn 0 */
}
}
/**
* @brief This function handles Prefetch fault, memory access fault.
*/
void BusFault_Handler(void)
{
/* USER CODE BEGIN BusFault_IRQn 0 */
/* USER CODE END BusFault_IRQn 0 */
while (1)
{
/* USER CODE BEGIN W1_BusFault_IRQn 0 */
/* USER CODE END W1_BusFault_IRQn 0 */
}
}
/**
* @brief This function handles Undefined instruction or illegal state.
*/
void UsageFault_Handler(void)
{
/* USER CODE BEGIN UsageFault_IRQn 0 */
/* USER CODE END UsageFault_IRQn 0 */
while (1)
{
/* USER CODE BEGIN W1_UsageFault_IRQn 0 */
/* USER CODE END W1_UsageFault_IRQn 0 */
}
}
/**
* @brief This function handles System service call via SWI instruction.
*/
void SVC_Handler(void)
{
/* USER CODE BEGIN SVCall_IRQn 0 */
/* USER CODE END SVCall_IRQn 0 */
/* USER CODE BEGIN SVCall_IRQn 1 */
/* USER CODE END SVCall_IRQn 1 */
}
/**
* @brief This function handles Debug monitor.
*/
void DebugMon_Handler(void)
{
/* USER CODE BEGIN DebugMonitor_IRQn 0 */
/* USER CODE END DebugMonitor_IRQn 0 */
/* USER CODE BEGIN DebugMonitor_IRQn 1 */
/* USER CODE END DebugMonitor_IRQn 1 */
}
/**
* @brief This function handles Pendable request for system service.
*/
void PendSV_Handler(void)
{
/* USER CODE BEGIN PendSV_IRQn 0 */
/* USER CODE END PendSV_IRQn 0 */
/* USER CODE BEGIN PendSV_IRQn 1 */
/* USER CODE END PendSV_IRQn 1 */
}
void Error_Handler(void)
{
NVIC_SystemReset();
}

View File

@@ -0,0 +1,182 @@
#include "boot_uart.h"
#include "boot_gpio.h"
UART_HandleTypeDef huart_boot;
/**
* @brief Инициализация UART для бутлоадера
*/
void MX_BOOT_UART_Init(void)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
/* Включаем тактирование */
__RCC_UART_BOOT_CLK_ENABLE();
__RCC_UART_PORT_CLK_ENABLE();
/* Настройка GPIO TX/RX */
GPIO_InitStruct.Pin = UART_PIN_TX;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(UART_PORT, &GPIO_InitStruct);
GPIO_InitStruct.Pin = UART_PIN_RX;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(UART_PORT, &GPIO_InitStruct);
/* Настройка UART */
huart_boot.Instance = UART_BOOT;
huart_boot.Init.BaudRate = UART_SPEED;
huart_boot.Init.WordLength = UART_WORDLENGTH_8B;
huart_boot.Init.StopBits = UART_STOPBITS_1;
huart_boot.Init.Parity = UART_PARITY_NONE;
huart_boot.Init.Mode = UART_MODE_TX_RX;
huart_boot.Init.HwFlowCtl = UART_HWCONTROL_NONE;
huart_boot.Init.OverSampling = UART_OVERSAMPLING_16;
if (HAL_UART_Init(&huart_boot) != HAL_OK)
{
Error_Handler(); // твоя функция обработки ошибок
}
}
/**
* @brief Приём команды по UART по протоколу:
* [SOH][CMD][LEN_H][LEN_L][DATA ...][CRC32_H..CRC32_L]
* Idle — не блокируется до SOH
* После SOH — блокирующий приём всего пакета
* @param bl: указатель на структуру бутлоадера
* @retval BootloaderCommand_t — принятая команда или NO_CMD
*/
BootloaderCommand_t Bootloader_UART_Receive(Bootloader_t *bl)
{
BootloaderCommand_t cmd;
uint8_t byte = 0;
HAL_StatusTypeDef res;
// -----------------------------
// 1. Ждём SOH в неблокирующем режиме
res = HAL_UART_Receive(bl->huart, &byte, 1, 1); // 1 ms таймаут
if(res != HAL_OK)
return NO_CMD; // пакета нет
if(byte != 0xAA)
return NO_CMD; // игнорируем мусор
// -----------------------------
// 2. Блокирующий приём CMD + LEN_H + LEN_L
uint8_t header[3];
res = HAL_UART_Receive(bl->huart, header, 3, FW_RECEIVE_TIMEOUT_MS);
if(res != HAL_OK)
{
bl->error.bit.timeout_receive = 1;
bl->state = BL_STATE_ERROR;
return NO_CMD;
}
cmd = (BootloaderCommand_t)header[0];
bl->fw_len = ((uint16_t)header[1] << 8) | header[2];
if(bl->fw_len > PAGE_SIZE)
{
bl->error.bit.overflow = 1;
bl->state = BL_STATE_ERROR;
return NO_CMD;
}
// -----------------------------
// 3. Блокирующий приём DATA
for(uint16_t i = 0; i < bl->fw_len; i++)
{
res = HAL_UART_Receive(bl->huart, &bl->fw_buffer[i], 1, FW_RECEIVE_TIMEOUT_MS);
if(res != HAL_OK)
{
bl->error.bit.timeout_receive = 1;
bl->state = BL_STATE_ERROR;
return NO_CMD;
}
}
// -----------------------------
// 4. Приём CRC32
uint8_t crc_buf[4];
res = HAL_UART_Receive(bl->huart, crc_buf, 4, FW_RECEIVE_TIMEOUT_MS);
if(res != HAL_OK)
{
bl->error.bit.timeout_receive = 1;
bl->state = BL_STATE_ERROR;
return NO_CMD;
}
bl->fw_crc = (crc_buf[0]<<24) | (crc_buf[1]<<16) | (crc_buf[2]<<8) | crc_buf[3];
// -----------------------------
// 5. Проверка CRC по всему пакету (CMD + LEN + DATA)
uint32_t crc_calc = CRC32_Compute(header, 3); // CMD + LEN
crc_calc = CRC32_Compute(bl->fw_buffer, bl->fw_len) ^ crc_calc; // DATA
if(crc_calc != bl->fw_crc)
{
bl->error.bit.crc_err = 1;
bl->state = BL_STATE_ERROR;
return NO_CMD;
}
// -----------------------------
// 6. Всё верно — возвращаем команду
return cmd;
}
/**
* @brief Приём UART: страница + CRC
* @param bl: указатель на структуру бутлоадера
*/
void Bootloader_UART_Receive_Page(Bootloader_t *bl)
{
uint16_t bytes_received = 0;
uint8_t crc_buf[4];
HAL_StatusTypeDef res;
uint32_t start_tick = HAL_GetTick(); // старт таймера
// Приём данных страницы
while(bytes_received < PAGE_SIZE)
{
uint8_t byte = 0;
res = HAL_UART_Receive(bl->huart, &byte, 1, FW_RECEIVE_TIMEOUT_MS); // блокирующий приём 100ms
if(res == HAL_OK)
{
bl->fw_buffer[bytes_received++] = byte;
start_tick = HAL_GetTick(); // сброс таймера при успешном приёме
LED_BOOT_TOOGLE();
}
else
{
bl->error.bit.timeout_receive = 1;
bl->state = BL_STATE_ERROR; // превышен таймаут
return;
}
}
// Приём CRC (4 байта)
for(uint8_t i = 0; i < 4; i++)
{
res = HAL_UART_Receive(bl->huart, &crc_buf[i], 1, FW_RECEIVE_TIMEOUT_MS);
if(res == HAL_OK)
{
start_tick = HAL_GetTick(); // сброс таймера
}
else
{
bl->error.bit.timeout_receive = 1;
bl->state = BL_STATE_ERROR;
return;
}
}
// Сохраняем CRC в структуру
bl->fw_crc = (crc_buf[0] << 24) | (crc_buf[1] << 16) | (crc_buf[2] << 8) | crc_buf[3];
bl->fw_len = bytes_received;
bl->state = BL_STATE_IDLE;
}

View File

@@ -0,0 +1,487 @@
/******************************************************************************
* @file bootloader.c
* @brief Бутлоадер STM32 — реализован как конечный автомат (state machine).
*
* @details
* Логика работы:
* - Структура Bootloader_t содержит текущее состояние и ошибки.
* - После сброса проверяются предыдущие ошибки.
* - Проверяется BOOT KEY, чтобы определить: запускать основное приложение или оставаться в бутлоадере.
* - Основной цикл — state machine:
* INIT — проверка ключа, инициализация периферии
* IDLE — ожидание команд по UART/CAN
* RECEIVE_UART/RECEIVE_CAN — приём страницы прошивки
* WRITE — запись страницы во Flash
* ERASE — стирание приложения
* JUMP_TO_APP — проверка прошивки и переход к приложению
* JUMP_TO_BOOT— возврат в бутлоадер
* RESET — программный сброс
* ERROR — обработка ошибок и уведомление внешнего интерфейса
* - Команды прошивки (BootloaderCommand_t) обрабатываются через Receive_FW_Command().
* - Проверка целостности данных осуществляется через CRC32.
*
* Подключение бутлоадера в основном приложении:
* 0) Подключить boot_jump.h и boot_jump.c для взаимодействия с бутлоадером:
* @code #include "boot_jump.h" @endcode
* 1) В начале main() вызвать App_Init(), чтобы установить VTOR на
* начало приложения:
* @code App_Init(); @endcode
* 2) Для перехода в бутлоадер (например, при ошибке или обновлении):
* @code JumpToBootloader(); @endcode
******************************************************************************/
#include "bootloader.h"
#include "boot_gpio.h"
#include "boot_flash.h"
#include "boot_uart.h"
#include "boot_can.h"
#include "boot_jump.h"
// -----------------------------------------------------------------------------
// Глобальные переменные для HAL-периферии
// -----------------------------------------------------------------------------
HAL_StatusTypeDef res_hal;
uint32_t led_err_lasttick = 0;
// -----------------------------------------------------------------------------
// Локальные (static) функции
// -----------------------------------------------------------------------------
static uint8_t Receive_FW_Command(Bootloader_t *bl);
/**
* @brief Проверка после сброса MCU.
* Определяет причину предыдущего сброса, проверяет ошибки и при необходимости
* выставляет соответствующие биты в структуре ошибок бутлоадера.
*/
void Bootloader_StartCheck(Bootloader_t *bl)
{
uint32_t ErrCodeBoot = 0;
uint32_t ErrCntBoot = 0;
// Проверка watchdog reset (IWDGRSTF или WWDGRSTF в RCC->CSR)
if (__HAL_RCC_GET_FLAG(RCC_FLAG_IWDGRST) || __HAL_RCC_GET_FLAG(RCC_FLAG_WWDGRST))
{
//SaveErrorCode(0x0D0D);
__HAL_RCC_CLEAR_RESET_FLAGS(); // Очистить флаги сброса, чтобы не повторялось
}
// Чтение сохранённого кода ошибки и количества сбоев
ErrCodeBoot = GetErrorCode();
ErrCntBoot = GetErrorCnt();
// Если ошибок было больше 5, фиксируем тип ошибки и уходим в бутлоадер
// Данные ошибки фиксируются только в прерываниях бутлоадера. Hardfault в прерывании приложения не считается
if(ErrCntBoot > 5)
{
ClearErrorCode();
if(ErrCodeBoot == 0xDEAD) // HardFault
{
ResetKey();
bl->error.bit.hardfault_cycle = 1;
bl->state = BL_STATE_ERROR;
}
else if(ErrCodeBoot == 0xBEEF) // MemManage
{
ResetKey();
bl->error.bit.memmanage_cycle = 1;
bl->state = BL_STATE_ERROR;
}
/*else if(ErrCodeBoot == 0x0D0D) пока хз надо ли
{
ResetKey();
bl->error.bit.watchdog_reset = 1; // Добавь бит в структуру BootloaderError_
bl->state = BL_STATE_ERROR;
}*/
}
}
/**
* @brief Инициализация периферии бутлоадера (UART, CAN, системный такт).
* Привязывает дескрипторы HAL к структуре бутлоадера и задаёт
* начальный адрес приложения.
*/
void Bootloader_Init(Bootloader_t *bl)
{
HAL_Init();
Boot_SystemClock_Config();
MX_BOOT_UART_Init();
MX_BOOT_CAN_Init();
// Привязка дескрипторов к структуре бутлоадера
bl->huart = &huart_boot;
bl->hcan = &hcan_boot;
bl->TxHeader.DLC = 8;
bl->TxHeader.StdId = 123;
bl->addr = MAIN_APP_START_ADR; // адрес начала приложения
}
/**
* @brief Основной цикл работы бутлоадера (машина состояний).
* Обрабатывает состояния INIT, IDLE, RECEIVE, WRITE, ERASE, JUMP и ERROR.
*/
void Bootloader_Task(Bootloader_t *bl)
{
int receive_uart_flag;
switch (bl->state)
{
case BL_STATE_INIT:
/*
* Состояние инициализации.
* - включаем индикацию (LED),
* - проверяем ошибки,
* - читаем "ключ" (метку, что приложение уже записано).
* Если ключ установлен -> сразу переход в приложение.
* Иначе -> переходим в режим ожидания команд от хоста (IDLE),
* инициализируем интерфейсы (CAN/UART, CRC и т.д.).
*/
bl->prev_state = bl->state;
MX_BOOT_GPIO_Init();
Bootloader_StartCheck(bl);
if ((ReadKey() == BL_KEY_APP_WRITTEN))
{
bl->state = BL_STATE_JUMP_TO_APP;
}
else
{
bl->state = BL_STATE_IDLE;
Bootloader_Init(bl);
}
break;
case BL_STATE_IDLE:
/*
* Состояние ожидания команд.
* - если ошибка уже зафиксирована -> переход в ERROR,
* - если это первый вход в IDLE -> отправляем "готов" (0x00) по CAN/UART,
* - далее слушаем команды от хоста (erase, write, jump и т.п.).
* Неизвестная команда -> ошибка.
*/
if(bl->error.all)
{
bl->prev_state = bl->state;
bl->state = BL_STATE_ERROR;
break;
}
if((bl->state != bl->prev_state) && (bl->prev_state != BL_STATE_ERROR))
{
TXDataBoot[0] = 0x00;
res_hal = HAL_CAN_AddTxMessage(bl->hcan, &bl->TxHeader, TXDataBoot, &TxMailBoxBoot);
res_hal = HAL_UART_Transmit(bl->huart, TXDataBoot, 1, 100);
}
bl->prev_state = bl->state;
if (Receive_FW_Command(bl) == 0xFF)
{
bl->error.bit.unknown_cmd = 1;
bl->state = BL_STATE_ERROR;
}
break;
case BL_STATE_RESET:
/*
* Состояние сброса.
* Вызывает системный reset через NVIC -> контроллер запускается заново.
*/
NVIC_SystemReset();
break;
case BL_STATE_ERASE:
/*
* Состояние стирания Flash.
* - сбрасываем "ключ" приложения,
* - стираем область памяти под приложение,
* - при успехе возвращаемся в IDLE,
* - при ошибке отмечаем ошибку стирания и уходим в ERROR.
* По завершению гасим LED.
*/
bl->prev_state = bl->state;
EraseKey();
if (FLASH_Erase_App() == HAL_OK)
{
HAL_Delay(50);
bl->state = BL_STATE_IDLE;
}
else
{
bl->error.bit.erase_err = 1;
bl->state = BL_STATE_ERROR;
}
LED_BOOT_OFF();
break;
case BL_STATE_RECEIVE_UART:
case BL_STATE_RECEIVE_CAN:
/*
* Состояние приёма страницы прошивки от хоста.
* - различаем, пришло ли по UART или CAN,
* - отправляем ACK (0x00),
* - читаем блок данных (страницу) в буфер,
* - после приёма проверяем CRC полученного блока,
* - если CRC не совпадает -> очищаем буфер, фиксируем ошибку и уходим в ERROR.
* По завершению приёма гасим LED.
*/
receive_uart_flag = (bl->state == BL_STATE_RECEIVE_UART) ? 1 : 0;
TXDataBoot[0] = 0x00;
bl->prev_state = bl->state;
if(receive_uart_flag)
{
res_hal = HAL_UART_Transmit(bl->huart, TXDataBoot, 1, 100);
Bootloader_UART_Receive_Page(bl);
}
else
{
res_hal = HAL_CAN_AddTxMessage(bl->hcan, &bl->TxHeader, TXDataBoot, &TxMailBoxBoot);
Bootloader_CAN_Receive_Page(bl);
}
uint32_t crc_calculated = CRC32_Compute((uint8_t *)bl->fw_buffer, bl->fw_len);
if(crc_calculated != bl->fw_crc)
{
for(int i = 0; i < bl->fw_len; i++)
{
bl->fw_buffer[i] = 0;
}
bl->error.bit.crc_err = 1;
bl->state = BL_STATE_ERROR;
}
LED_BOOT_OFF();
break;
case BL_STATE_WRITE:
/*
* Состояние записи страницы прошивки во Flash.
* - пытаемся записать буфер в указанную область памяти,
* - если успешно -> возвращаемся в IDLE (ждём следующего блока),
* - если ошибка -> фиксируем ошибку записи и уходим в ERROR.
* После завершения гасим LED.
*/
bl->prev_state = bl->state;
if (FLASH_Write_Page(&bl->addr, bl->fw_buffer, bl->fw_len) == HAL_OK)
{
bl->state = BL_STATE_IDLE;
}
else
{
bl->error.bit.write_err = 1;
bl->state = BL_STATE_ERROR;
}
LED_BOOT_OFF();
break;
case BL_STATE_JUMP_TO_APP:
/*
* Состояние перехода в приложение.
* - выполняем проверку корректности прошивки (Verify_Firmware),
* - если проверка пройдена -> устанавливаем "ключ" приложения,
* чтобы пометить прошивку как валидную,
* - если проверка не пройдена -> ошибка verify и переход в ERROR.
* В случае успеха вызываем JumpToApplication(), передавая управление основному коду.
*/
bl->prev_state = bl->state;
if (Verify_Firmware() == HAL_OK)
{
EraseKey();
SetKey();
}
else
{
bl->error.bit.verify_err = 1;
bl->state = BL_STATE_ERROR;
break;
}
JumpToApplocation();
break;
case BL_STATE_JUMP_TO_BOOT:
/*
* Состояние возврата в bootloader.
*/
bl->prev_state = bl->state;
JumpToBootloader();
break;
case BL_STATE_ERROR:
/*
* Состояние ошибки.
* - при первом входе в ERROR отправляем код ошибки (0xFF + код ошибки),
* - продолжаем слушать команды, чтобы можно было сбросить или стереть Flash,
* - мигаем LED раз в 500 мс для визуальной индикации ошибки.
*/
if(bl->state != bl->prev_state)
{
TXDataBoot[0] = 0xFF;
TXDataBoot[1] = (bl->error.all >> 8) & (0xFF);
TXDataBoot[2] = bl->error.all & (0xFF);
res_hal = HAL_CAN_AddTxMessage(bl->hcan, &bl->TxHeader, TXDataBoot, &TxMailBoxBoot);
res_hal = HAL_UART_Transmit(bl->huart, TXDataBoot, 1, 100);
}
bl->prev_state = bl->state;
if (Receive_FW_Command(bl) == 0xFF)
{
bl->error.bit.unknown_cmd = 1;
bl->state = BL_STATE_ERROR;
}
if(HAL_GetTick() - led_err_lasttick > 500)
{
led_err_lasttick = HAL_GetTick();
LED_BOOT_TOOGLE();
}
break;
default:
/*
* Попадание в неизвестное состояние.
* Считается ошибкой: ставим unknown_cmd и переходим в ERROR.
*/
bl->error.bit.unknown_cmd = 1;
bl->state = BL_STATE_ERROR;
break;
}
}
/**
* @brief Устанавливает новое состояние бутлоадера в зависимости от команды.
* @param bl: указатель на структуру бутлоадера
* @param cmd: команда бутлоадера (BootloaderCommand_t)
* @param uart_flag: 1 — команда пришла по UART, 0 — по CAN
* @retval 0x00 — команда успешно обработана, 0xFF — неизвестная команда
*/
static uint8_t SetBootState(Bootloader_t *bl, BootloaderCommand_t cmd, uint8_t uart_flag)
{
switch(cmd)
{
case CMD_ERASE: // команда: стереть Flash
bl->state = BL_STATE_ERASE;
return 0x00;
case CMD_START_RECEIVE: // команда: принять блок
if(uart_flag)
bl->state = BL_STATE_RECEIVE_UART;
else
bl->state = BL_STATE_RECEIVE_CAN;
return 0x00;
case CMD_WRITE: // команда: записать блок
bl->state = BL_STATE_WRITE;
return 0x00;
case CMD_GOTOAPP: // команда: прыжок в приложение
bl->state = BL_STATE_JUMP_TO_APP;
return 0x00;
case CMD_RESET: // команда: прыжок в приложение
bl->state = BL_STATE_RESET;
return 0x00;
case CMD_GOTOBOOT: // команда: прыжок в бутлоадер
bl->state = BL_STATE_JUMP_TO_BOOT;
case CMD_PING: // команда: пинг, отправка текущего состояния бутлоадера
bl->prev_state = 0; // обнуляем предыдущее состоояние, чтобы снова отправить комманду с текущим состоянием
return 0x00;
default:
return 0xFF; // неизвестная команда
}
}
/**
* @brief Обработка команд прошивки по UART или CAN
* @param bl: указатель на структуру бутлоадера
* @retval 0x00 - команда принята и обработана, 0xFF - ошибка
*/
static uint8_t Receive_FW_Command(Bootloader_t *bl)
{
BootloaderCommand_t cmd = 0;
HAL_StatusTypeDef res = HAL_ERROR;
uint8_t ret_val = 0x00;
// ---------------------------
// Чтение команды по UART
// ---------------------------
cmd = Bootloader_UART_Receive(bl); // таймаут 10 ms
if (cmd != NO_CMD)
{
ret_val = SetBootState(bl, cmd, 1);
}
// ---------------------------
// Чтение команды по CAN
// ---------------------------
cmd = Bootloader_CAN_Receive(bl);
if (cmd != NO_CMD)
{
ret_val = SetBootState(bl, cmd, 0);
}
#ifdef TEST_CAN
TxHeaderBoot.StdId = 0x200; // ID OF MESSAGE
TxHeaderBoot.ExtId = 0; // STANDART FRAME (NOT EXTENTED)
TxHeaderBoot.RTR = CAN_RTR_DATA; // TRANSMIT DATA OR
TxHeaderBoot.IDE = CAN_ID_STD; // STANDART FRAME
TxHeaderBoot.DLC = 8; // DATA SIZE
TxHeaderBoot.TransmitGlobalTime = DISABLE; //THIS MODE IS NOT USED, SO DISABLE
uint8_t asd[8] = "ABCDEFGL";
res_hal = HAL_CAN_AddTxMessage(&hcan_boot, &TxHeaderBoot, asd, &TxMailBoxBoot); // add to mail for transmit
HAL_Delay(1000);
#endif
if((bl->state != BL_STATE_IDLE) && (bl->state != BL_STATE_ERROR))
{
LED_BOOT_ON();
}
return ret_val;
}
/**
* @brief Вычисление CRC32 блока данных.
* @param data: указатель на массив данных
* @param length: длина массива в байтах
* @retval CRC32 вычисленное значение
*/
uint32_t CRC32_Compute(const uint8_t* data, uint32_t length)
{
const uint32_t polynomial = 0x04C11DB7;
uint32_t crc = 0xFFFFFFFF;
for(uint32_t i = 0; i < length; i++)
{
crc ^= ((uint32_t)data[i] << 24);
for(uint8_t j = 0; j < 8; j++)
{
if(crc & 0x80000000)
crc = (crc << 1) ^ polynomial;
else
crc <<= 1;
}
}
return crc ^ 0xFFFFFFFF;
}
/**
* @brief Конфигурация системного тактирования (должна быть переопределена пользователем).
*/
__WEAK void Boot_SystemClock_Config(void)
{
}
/**
* @brief Обработчик ошибок (может быть переопределён пользователем).
*/
__WEAK void Error_Handler(void)
{
while(1);
}

View File

@@ -41,10 +41,9 @@ extern CAN_HandleTypeDef hcan;
void MX_CAN_Init(void);
/* USER CODE BEGIN Prototypes */
void Setup_CAN_addr(uint8_t mode);
int CAN_send(uint16_t data[], int Addr, int Qua);
void Setup_CAN_addr(uint8_t mode);
void CAN_filterConfig(void);
/* USER CODE END Prototypes */
#ifdef __cplusplus

View File

@@ -33,122 +33,6 @@ extern "C" {
/* USER CODE END Includes */
/* USER CODE BEGIN Private defines */
#define IN_01_Pin GPIO_PIN_3
#define IN_01_GPIO_Port GPIOA
#define IN_02_Pin GPIO_PIN_2
#define IN_02_GPIO_Port GPIOA
#define IN_03_Pin GPIO_PIN_1
#define IN_03_GPIO_Port GPIOA
#define IN_04_Pin GPIO_PIN_0
#define IN_04_GPIO_Port GPIOA
#define IN_05_Pin GPIO_PIN_15
#define IN_05_GPIO_Port GPIOC
#define IN_06_Pin GPIO_PIN_13
#define IN_06_GPIO_Port GPIOC
#define IN_07_Pin GPIO_PIN_15
#define IN_07_GPIO_Port GPIOB
#define IN_08_Pin GPIO_PIN_14
#define IN_08_GPIO_Port GPIOB
#define IN_09_Pin GPIO_PIN_13
#define IN_09_GPIO_Port GPIOB
#define IN_10_Pin GPIO_PIN_12
#define IN_10_GPIO_Port GPIOB
#define IN_11_Pin GPIO_PIN_1
#define IN_11_GPIO_Port GPIOB
#define IN_12_Pin GPIO_PIN_0
#define IN_12_GPIO_Port GPIOB
#define IN_13_Pin GPIO_PIN_5
#define IN_13_GPIO_Port GPIOA
#define IN_14_Pin GPIO_PIN_4
#define IN_14_GPIO_Port GPIOA
#define J0_Pin GPIO_PIN_6
#define J0_GPIO_Port GPIOA
#define J1_Pin GPIO_PIN_7
#define J1_GPIO_Port GPIOA
#define J2_Pin GPIO_PIN_4
#define J2_GPIO_Port GPIOC
#define J3_Pin GPIO_PIN_5
#define J3_GPIO_Port GPIOC
#define Jselect_Pin GPIO_PIN_14
#define Jselect_GPIO_Port GPIOC
#define LED0_Pin GPIO_PIN_5
#define LED0_GPIO_Port GPIOB
#define LED1_Pin GPIO_PIN_6
#define LED1_GPIO_Port GPIOB
#define LED2_Pin GPIO_PIN_2
#define LED2_GPIO_Port GPIOC
#define LED3_Pin GPIO_PIN_3
#define LED3_GPIO_Port GPIOC
#define PVT4_Pin GPIO_PIN_6
#define PVT4_GPIO_Port GPIOC
#define PVT3_Pin GPIO_PIN_7
#define PVT3_GPIO_Port GPIOC
#define PVT2_Pin GPIO_PIN_8
#define PVT2_GPIO_Port GPIOC
#define PVT1_Pin GPIO_PIN_9
#define PVT1_GPIO_Port GPIOC
#define BOOT1_Pin GPIO_PIN_2
#define BOOT1_GPIO_Port GPIOB
#define LED_0_OFF HAL_GPIO_WritePin(LED0_GPIO_Port, LED0_Pin, GPIO_PIN_SET) //Set or clear the selected data port bit
#define LED_0_ON HAL_GPIO_WritePin(LED0_GPIO_Port, LED0_Pin, GPIO_PIN_RESET) //??? ?????? ?? ??????????
#define LED_0_TGL HAL_GPIO_TogglePin(LED0_GPIO_Port, LED0_Pin)
#define LED_1_OFF HAL_GPIO_WritePin(LED1_GPIO_Port, LED1_Pin, GPIO_PIN_SET) //Set or clear the selected data port bit
#define LED_1_ON HAL_GPIO_WritePin(LED1_GPIO_Port, LED1_Pin, GPIO_PIN_RESET) //??? ?????? ?? ??????????
#define LED_1_TGL HAL_GPIO_TogglePin(LED1_GPIO_Port, LED1_Pin)
#define LED_2_ON HAL_GPIO_WritePin(LED2_GPIO_Port, LED2_Pin, GPIO_PIN_SET) //Set or clear the selected data port bit
#define LED_2_OFF HAL_GPIO_WritePin(LED2_GPIO_Port, LED2_Pin, GPIO_PIN_RESET) //??? ?????? ?? ??????????
#define LED_2_TGL HAL_GPIO_TogglePin(LED2_GPIO_Port, LED2_Pin)
#define LED_3_ON HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_SET) //Set or clear the selected data port bit
#define LED_3_OFF HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_RESET) //??? ?????? ?? ??????????
#define LED_3_TGL HAL_GPIO_TogglePin(LED3_GPIO_Port, LED3_Pin)
#define Pvt1_ON HAL_GPIO_WritePin(PVT1_GPIO_Port, PVT1_Pin, GPIO_PIN_SET) //Set or clear the selected data port bit
#define Pvt1_OFF HAL_GPIO_WritePin(PVT1_GPIO_Port, PVT1_Pin, GPIO_PIN_RESET) //??? ?????? ?? ??????????
#define Pvt1_TGL HAL_GPIO_TogglePin(PVT1_GPIO_Port, PVT1_Pin)
#define Pvt2_ON HAL_GPIO_WritePin(PVT2_GPIO_Port, PVT2_Pin, GPIO_PIN_SET) //set - ????????????? ???, reset - ??????? ???
#define Pvt2_OFF HAL_GPIO_WritePin(PVT2_GPIO_Port, PVT2_Pin, GPIO_PIN_RESET) //????? ??????? ? main.h ??????? ?????? ?????????????
#define Pvt2_TGL HAL_GPIO_TogglePin(PVT2_GPIO_Port, PVT2_Pin)
#define Pvt3_ON HAL_GPIO_WritePin(PVT3_GPIO_Port, PVT3_Pin, GPIO_PIN_SET)
#define Pvt3_OFF HAL_GPIO_WritePin(PVT3_GPIO_Port, PVT3_Pin, GPIO_PIN_RESET)
#define Pvt3_TGL HAL_GPIO_TogglePin(PVT3_GPIO_Port, PVT3_Pin)
#define Pvt4_ON HAL_GPIO_WritePin(PVT4_GPIO_Port, PVT4_Pin, GPIO_PIN_SET)
#define Pvt4_OFF HAL_GPIO_WritePin(PVT4_GPIO_Port, PVT4_Pin, GPIO_PIN_RESET)
#define Pvt4_TGL HAL_GPIO_TogglePin(PVT4_GPIO_Port, PVT4_Pin)
#define IN_01 HAL_GPIO_ReadPin(IN_01_GPIO_Port, IN_01_Pin) // ???????? ??1 (??????? ???????????? ???????????)
#define IN_02 HAL_GPIO_ReadPin(IN_02_GPIO_Port, IN_02_Pin) // ???????? ??2 (??????? ???????????? ?????????)
#define IN_03 HAL_GPIO_ReadPin(IN_03_GPIO_Port, IN_03_Pin) // ???????? ??3 (??????? ??. ??????, ???? ?????????, ????)
#define IN_04 HAL_GPIO_ReadPin(IN_04_GPIO_Port, IN_04_Pin) // ???????? ??4 (??????? ???????? ???? ? ?????????? +)
#define IN_05 HAL_GPIO_ReadPin(IN_05_GPIO_Port, IN_05_Pin) // ???????? ??5 (??????? ???????? ???? ? ?????????? )
#define IN_06 HAL_GPIO_ReadPin(IN_06_GPIO_Port, IN_06_Pin) // ???????? ??6 (??????? ?????????)
#define IN_07 HAL_GPIO_ReadPin(IN_07_GPIO_Port, IN_07_Pin) // ???????? 3? ??????? 380 ?
#define IN_08 HAL_GPIO_ReadPin(IN_08_GPIO_Port, IN_08_Pin) // ????? ??????????
#define IN_09 HAL_GPIO_ReadPin(IN_09_GPIO_Port, IN_09_Pin) // ?????? ??????????
#define IN_10 HAL_GPIO_ReadPin(IN_10_GPIO_Port, IN_10_Pin) // ?????? ? ???? 24 ?
#define IN_11 HAL_GPIO_ReadPin(IN_11_GPIO_Port, IN_11_Pin) // ???????? ??????? ???
#define IN_12 HAL_GPIO_ReadPin(IN_12_GPIO_Port, IN_12_Pin) // ??????
#define IN_13 HAL_GPIO_ReadPin(IN_13_GPIO_Port, IN_13_Pin) // ??????
#define IN_14 HAL_GPIO_ReadPin(IN_14_GPIO_Port, IN_14_Pin) // ???????? ??????? ???
#define J0 HAL_GPIO_ReadPin(J0_GPIO_Port, J0_Pin) //Read the specified input port pin
#define J1 HAL_GPIO_ReadPin(J1_GPIO_Port, J1_Pin)
#define J2 HAL_GPIO_ReadPin(J2_GPIO_Port, J2_Pin)
#define J3 HAL_GPIO_ReadPin(J3_GPIO_Port, J3_Pin)
#define Jselect HAL_GPIO_ReadPin(Jselect_GPIO_Port, Jselect_Pin)
/* USER CODE END Private defines */

View File

@@ -7,13 +7,12 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2022 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2025 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
@@ -32,7 +31,7 @@ extern "C" {
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim);
/* USER CODE END Includes */
/* Exported types ------------------------------------------------------------*/
@@ -42,18 +41,6 @@ void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim);
/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */
typedef struct
{
uint8_t force_pause:1;
uint32_t pause;
// uint8_t
// uint16_t
}FLAG;
/* USER CODE END EC */
@@ -67,8 +54,6 @@ void Error_Handler(void);
/* USER CODE BEGIN EFP */
void Millisecond(void);
/* USER CODE END EFP */
/* Private defines -----------------------------------------------------------*/
@@ -78,10 +63,10 @@ void Millisecond(void);
#define SELEKT_PCH_GPIO_Port GPIOC
#define IN_05_Pin GPIO_PIN_15
#define IN_05_GPIO_Port GPIOC
//#define LED1_Pin GPIO_PIN_2
//#define LED1_GPIO_Port GPIOC
//#define LED2_Pin GPIO_PIN_3
#define LED2_Pin GPIO_PIN_2
#define LED2_GPIO_Port GPIOC
#define LED3_Pin GPIO_PIN_3
#define LED3_GPIO_Port GPIOC
#define IN_04_Pin GPIO_PIN_0
#define IN_04_GPIO_Port GPIOA
#define IN_03_Pin GPIO_PIN_1
@@ -94,20 +79,20 @@ void Millisecond(void);
#define IN_14_GPIO_Port GPIOA
#define IN_13_Pin GPIO_PIN_5
#define IN_13_GPIO_Port GPIOA
//#define J0_Pin GPIO_PIN_7
#define J0_Pin GPIO_PIN_6
#define J0_GPIO_Port GPIOA
//#define J1_Pin GPIO_PIN_4
//#define J1_GPIO_Port GPIOC
//#define J2_Pin GPIO_PIN_5
#define J1_Pin GPIO_PIN_7
#define J1_GPIO_Port GPIOA
#define J2_Pin GPIO_PIN_4
#define J2_GPIO_Port GPIOC
//#define J3_Pin GPIO_PIN_0
//#define J3_GPIO_Port GPIOB
//#define IN_12_Pin GPIO_PIN_1
#define J3_Pin GPIO_PIN_5
#define J3_GPIO_Port GPIOC
#define IN_12_Pin GPIO_PIN_0
#define IN_12_GPIO_Port GPIOB
#define IN_11_Pin GPIO_PIN_1
#define IN_11_GPIO_Port GPIOB
#define BOOT1_Pin GPIO_PIN_2
#define BOOT1_GPIO_Port GPIOB
//#define IN_11_Pin GPIO_PIN_10
#define IN_11_GPIO_Port GPIOB
#define IN_10_Pin GPIO_PIN_12
#define IN_10_GPIO_Port GPIOB
#define IN_09_Pin GPIO_PIN_13
@@ -116,6 +101,7 @@ void Millisecond(void);
#define IN_08_GPIO_Port GPIOB
#define IN_07_Pin GPIO_PIN_15
#define IN_07_GPIO_Port GPIOB
#define IN_07_EXTI_IRQn EXTI15_10_IRQn
#define PVT4_Pin GPIO_PIN_6
#define PVT4_GPIO_Port GPIOC
#define PVT3_Pin GPIO_PIN_7
@@ -124,9 +110,88 @@ void Millisecond(void);
#define PVT2_GPIO_Port GPIOC
#define PVT1_Pin GPIO_PIN_9
#define PVT1_GPIO_Port GPIOC
#define LED0_Pin GPIO_PIN_5
#define LED0_GPIO_Port GPIOB
#define LED1_Pin GPIO_PIN_6
#define LED1_GPIO_Port GPIOB
/* USER CODE BEGIN Private defines */
/////////// USER define /////////
#define Jselect HAL_GPIO_ReadPin(Jselect_GPIO_Port, Jselect_Pin)
#define Jselect_Pin GPIO_PIN_14
#define Jselect_GPIO_Port GPIOC
#define LED_0_OFF HAL_GPIO_WritePin(LED0_GPIO_Port, LED0_Pin, GPIO_PIN_SET) //Set or clear the selected data port bit
#define LED_0_ON HAL_GPIO_WritePin(LED0_GPIO_Port, LED0_Pin, GPIO_PIN_RESET) //??? ?????? ?? ??????????
#define LED_0_TGL HAL_GPIO_TogglePin(LED0_GPIO_Port, LED0_Pin)
#define LED_1_OFF HAL_GPIO_WritePin(LED1_GPIO_Port, LED1_Pin, GPIO_PIN_SET) //Set or clear the selected data port bit
#define LED_1_ON HAL_GPIO_WritePin(LED1_GPIO_Port, LED1_Pin, GPIO_PIN_RESET) //??? ?????? ?? ??????????
#define LED_1_TGL HAL_GPIO_TogglePin(LED1_GPIO_Port, LED1_Pin)
#define LED_2_ON HAL_GPIO_WritePin(LED2_GPIO_Port, LED2_Pin, GPIO_PIN_SET) //Set or clear the selected data port bit
#define LED_2_OFF HAL_GPIO_WritePin(LED2_GPIO_Port, LED2_Pin, GPIO_PIN_RESET) //??? ?????? ?? ??????????
#define LED_2_TGL HAL_GPIO_TogglePin(LED2_GPIO_Port, LED2_Pin)
#define LED_3_ON HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_SET) //Set or clear the selected data port bit
#define LED_3_OFF HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_RESET) //??? ?????? ?? ??????????
#define LED_3_TGL HAL_GPIO_TogglePin(LED3_GPIO_Port, LED3_Pin)
#define Pvt1_ON HAL_GPIO_WritePin(PVT1_GPIO_Port, PVT1_Pin, GPIO_PIN_SET) //Set or clear the selected data port bit
#define Pvt1_OFF HAL_GPIO_WritePin(PVT1_GPIO_Port, PVT1_Pin, GPIO_PIN_RESET) //??? ?????? ?? ??????????
#define Pvt1_TGL HAL_GPIO_TogglePin(PVT1_GPIO_Port, PVT1_Pin)
#define Pvt2_ON HAL_GPIO_WritePin(PVT2_GPIO_Port, PVT2_Pin, GPIO_PIN_SET) //set - ????????????? ???, reset - ??????? ???
#define Pvt2_OFF HAL_GPIO_WritePin(PVT2_GPIO_Port, PVT2_Pin, GPIO_PIN_RESET) //????? ??????? ? main.h ??????? ?????? ?????????????
#define Pvt2_TGL HAL_GPIO_TogglePin(PVT2_GPIO_Port, PVT2_Pin)
#define Pvt3_ON HAL_GPIO_WritePin(PVT3_GPIO_Port, PVT3_Pin, GPIO_PIN_SET)
#define Pvt3_OFF HAL_GPIO_WritePin(PVT3_GPIO_Port, PVT3_Pin, GPIO_PIN_RESET)
#define Pvt3_TGL HAL_GPIO_TogglePin(PVT3_GPIO_Port, PVT3_Pin)
#define Pvt4_ON HAL_GPIO_WritePin(PVT4_GPIO_Port, PVT4_Pin, GPIO_PIN_SET)
#define Pvt4_OFF HAL_GPIO_WritePin(PVT4_GPIO_Port, PVT4_Pin, GPIO_PIN_RESET)
#define Pvt4_TGL HAL_GPIO_TogglePin(PVT4_GPIO_Port, PVT4_Pin)
#define IN_01 HAL_GPIO_ReadPin(IN_01_GPIO_Port, IN_01_Pin) // ???????? ??1 (??????? ???????????? ???????????)
#define IN_02 HAL_GPIO_ReadPin(IN_02_GPIO_Port, IN_02_Pin) // ???????? ??2 (??????? ???????????? ?????????)
#define IN_03 HAL_GPIO_ReadPin(IN_03_GPIO_Port, IN_03_Pin) // ???????? ??3 (??????? ??. ??????, ???? ?????????, ????)
#define IN_04 HAL_GPIO_ReadPin(IN_04_GPIO_Port, IN_04_Pin) // ???????? ??4 (??????? ???????? ???? ? ?????????? +)
#define IN_05 HAL_GPIO_ReadPin(IN_05_GPIO_Port, IN_05_Pin) // ???????? ??5 (??????? ???????? ???? ? ?????????? )
#define IN_06 HAL_GPIO_ReadPin(IN_06_GPIO_Port, IN_06_Pin) // ???????? ??6 (??????? ?????????)
#define IN_07 HAL_GPIO_ReadPin(IN_07_GPIO_Port, IN_07_Pin) // ???????? 3? ??????? 380 ?
#define IN_08 HAL_GPIO_ReadPin(IN_08_GPIO_Port, IN_08_Pin) // ????? ??????????
#define IN_09 HAL_GPIO_ReadPin(IN_09_GPIO_Port, IN_09_Pin) // ?????? ??????????
#define IN_10 HAL_GPIO_ReadPin(IN_10_GPIO_Port, IN_10_Pin) // ?????? ? ???? 24 ?
#define IN_11 HAL_GPIO_ReadPin(IN_11_GPIO_Port, IN_11_Pin) // ???????? ??????? ???
#define IN_12 HAL_GPIO_ReadPin(IN_12_GPIO_Port, IN_12_Pin) // ??????
#define IN_13 HAL_GPIO_ReadPin(IN_13_GPIO_Port, IN_13_Pin) // ??????
#define IN_14 HAL_GPIO_ReadPin(IN_14_GPIO_Port, IN_14_Pin) // ???????? ??????? ???
#define J0 HAL_GPIO_ReadPin(J0_GPIO_Port, J0_Pin) //Read the specified input port pin
#define J1 HAL_GPIO_ReadPin(J1_GPIO_Port, J1_Pin)
#define J2 HAL_GPIO_ReadPin(J2_GPIO_Port, J2_Pin)
#define J3 HAL_GPIO_ReadPin(J3_GPIO_Port, J3_Pin)
/////////////////////////////////
int Isit(int num, int i, int z);
typedef struct // ñòðóêòóðà ôëàãîâ
{
uint8_t force_pause:1;
uint32_t pause;
// uint8_t
// uint16_t
}FLAG;
/* USER CODE END Private defines */
#ifdef __cplusplus

View File

@@ -65,7 +65,7 @@
/*#define HAL_SPI_MODULE_ENABLED */
/*#define HAL_SRAM_MODULE_ENABLED */
#define HAL_TIM_MODULE_ENABLED
/*#define HAL_UART_MODULE_ENABLED */
#define HAL_UART_MODULE_ENABLED
/*#define HAL_USART_MODULE_ENABLED */
/*#define HAL_WWDG_MODULE_ENABLED */

View File

@@ -1,391 +0,0 @@
/**
******************************************************************************
* @file stm32f1xx_hal_conf.h
* @brief HAL configuration file.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F1xx_HAL_CONF_H
#define __STM32F1xx_HAL_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* ########################## Module Selection ############################## */
/**
* @brief This is the list of modules to be used in the HAL driver
*/
#define HAL_MODULE_ENABLED
/*#define HAL_ADC_MODULE_ENABLED */
/*#define HAL_CRYP_MODULE_ENABLED */
#define HAL_CAN_MODULE_ENABLED
/*#define HAL_CAN_LEGACY_MODULE_ENABLED */
/*#define HAL_CEC_MODULE_ENABLED */
/*#define HAL_CORTEX_MODULE_ENABLED */
/*#define HAL_CRC_MODULE_ENABLED */
/*#define HAL_DAC_MODULE_ENABLED */
/*#define HAL_DMA_MODULE_ENABLED */
/*#define HAL_ETH_MODULE_ENABLED */
/*#define HAL_FLASH_MODULE_ENABLED */
#define HAL_GPIO_MODULE_ENABLED
/*#define HAL_I2C_MODULE_ENABLED */
/*#define HAL_I2S_MODULE_ENABLED */
/*#define HAL_IRDA_MODULE_ENABLED */
#define HAL_IWDG_MODULE_ENABLED
/*#define HAL_NOR_MODULE_ENABLED */
/*#define HAL_NAND_MODULE_ENABLED */
/*#define HAL_PCCARD_MODULE_ENABLED */
/*#define HAL_PCD_MODULE_ENABLED */
/*#define HAL_HCD_MODULE_ENABLED */
/*#define HAL_PWR_MODULE_ENABLED */
/*#define HAL_RCC_MODULE_ENABLED */
/*#define HAL_RTC_MODULE_ENABLED */
/*#define HAL_SD_MODULE_ENABLED */
/*#define HAL_MMC_MODULE_ENABLED */
/*#define HAL_SDRAM_MODULE_ENABLED */
/*#define HAL_SMARTCARD_MODULE_ENABLED */
/*#define HAL_SPI_MODULE_ENABLED */
/*#define HAL_SRAM_MODULE_ENABLED */
#define HAL_TIM_MODULE_ENABLED
/*#define HAL_UART_MODULE_ENABLED */
/*#define HAL_USART_MODULE_ENABLED */
/*#define HAL_WWDG_MODULE_ENABLED */
#define HAL_CORTEX_MODULE_ENABLED
#define HAL_DMA_MODULE_ENABLED
#define HAL_FLASH_MODULE_ENABLED
#define HAL_EXTI_MODULE_ENABLED
#define HAL_GPIO_MODULE_ENABLED
#define HAL_PWR_MODULE_ENABLED
#define HAL_RCC_MODULE_ENABLED
/* ########################## Oscillator Values adaptation ####################*/
/**
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
* This value is used by the RCC HAL module to compute the system frequency
* (when HSE is used as system clock source, directly or through the PLL).
*/
#if !defined (HSE_VALUE)
#define HSE_VALUE 8000000U /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE */
#if !defined (HSE_STARTUP_TIMEOUT)
#define HSE_STARTUP_TIMEOUT 100U /*!< Time out for HSE start up, in ms */
#endif /* HSE_STARTUP_TIMEOUT */
/**
* @brief Internal High Speed oscillator (HSI) value.
* This value is used by the RCC HAL module to compute the system frequency
* (when HSI is used as system clock source, directly or through the PLL).
*/
#if !defined (HSI_VALUE)
#define HSI_VALUE 8000000U /*!< Value of the Internal oscillator in Hz*/
#endif /* HSI_VALUE */
/**
* @brief Internal Low Speed oscillator (LSI) value.
*/
#if !defined (LSI_VALUE)
#define LSI_VALUE 40000U /*!< LSI Typical Value in Hz */
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
The real value may vary depending on the variations
in voltage and temperature. */
/**
* @brief External Low Speed oscillator (LSE) value.
* This value is used by the UART, RTC HAL module to compute the system frequency
*/
#if !defined (LSE_VALUE)
#define LSE_VALUE 32768U /*!< Value of the External oscillator in Hz*/
#endif /* LSE_VALUE */
#if !defined (LSE_STARTUP_TIMEOUT)
#define LSE_STARTUP_TIMEOUT 5000U /*!< Time out for LSE start up, in ms */
#endif /* LSE_STARTUP_TIMEOUT */
/* Tip: To avoid modifying this file each time you need to use different HSE,
=== you can define the HSE value in your toolchain compiler preprocessor. */
/* ########################### System Configuration ######################### */
/**
* @brief This is the HAL system configuration section
*/
#define VDD_VALUE 3300U /*!< Value of VDD in mv */
#define TICK_INT_PRIORITY 0U /*!< tick interrupt priority (lowest by default) */
#define USE_RTOS 0U
#define PREFETCH_ENABLE 1U
#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
#define USE_HAL_CAN_REGISTER_CALLBACKS 0U /* CAN register callback disabled */
#define USE_HAL_CEC_REGISTER_CALLBACKS 0U /* CEC register callback disabled */
#define USE_HAL_DAC_REGISTER_CALLBACKS 0U /* DAC register callback disabled */
#define USE_HAL_ETH_REGISTER_CALLBACKS 0U /* ETH register callback disabled */
#define USE_HAL_HCD_REGISTER_CALLBACKS 0U /* HCD register callback disabled */
#define USE_HAL_I2C_REGISTER_CALLBACKS 0U /* I2C register callback disabled */
#define USE_HAL_I2S_REGISTER_CALLBACKS 0U /* I2S register callback disabled */
#define USE_HAL_MMC_REGISTER_CALLBACKS 0U /* MMC register callback disabled */
#define USE_HAL_NAND_REGISTER_CALLBACKS 0U /* NAND register callback disabled */
#define USE_HAL_NOR_REGISTER_CALLBACKS 0U /* NOR register callback disabled */
#define USE_HAL_PCCARD_REGISTER_CALLBACKS 0U /* PCCARD register callback disabled */
#define USE_HAL_PCD_REGISTER_CALLBACKS 0U /* PCD register callback disabled */
#define USE_HAL_RTC_REGISTER_CALLBACKS 0U /* RTC register callback disabled */
#define USE_HAL_SD_REGISTER_CALLBACKS 0U /* SD register callback disabled */
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U /* SMARTCARD register callback disabled */
#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U /* IRDA register callback disabled */
#define USE_HAL_SRAM_REGISTER_CALLBACKS 0U /* SRAM register callback disabled */
#define USE_HAL_SPI_REGISTER_CALLBACKS 0U /* SPI register callback disabled */
#define USE_HAL_TIM_REGISTER_CALLBACKS 0U /* TIM register callback disabled */
#define USE_HAL_UART_REGISTER_CALLBACKS 0U /* UART register callback disabled */
#define USE_HAL_USART_REGISTER_CALLBACKS 0U /* USART register callback disabled */
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U /* WWDG register callback disabled */
/* ########################## Assert Selection ############################## */
/**
* @brief Uncomment the line below to expanse the "assert_param" macro in the
* HAL drivers code
*/
/* #define USE_FULL_ASSERT 1U */
/* ################## Ethernet peripheral configuration ##################### */
/* Section 1 : Ethernet peripheral configuration */
/* MAC ADDRESS: MAC_ADDR0:MAC_ADDR1:MAC_ADDR2:MAC_ADDR3:MAC_ADDR4:MAC_ADDR5 */
#define MAC_ADDR0 2U
#define MAC_ADDR1 0U
#define MAC_ADDR2 0U
#define MAC_ADDR3 0U
#define MAC_ADDR4 0U
#define MAC_ADDR5 0U
/* Definition of the Ethernet driver buffers size and count */
#define ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for receive */
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */
#define ETH_RXBUFNB 8U /* 4 Rx buffers of size ETH_RX_BUF_SIZE */
#define ETH_TXBUFNB 4U /* 4 Tx buffers of size ETH_TX_BUF_SIZE */
/* Section 2: PHY configuration section */
/* DP83848_PHY_ADDRESS Address*/
#define DP83848_PHY_ADDRESS 0x01U
/* PHY Reset delay these values are based on a 1 ms Systick interrupt*/
#define PHY_RESET_DELAY 0x000000FFU
/* PHY Configuration delay */
#define PHY_CONFIG_DELAY 0x00000FFFU
#define PHY_READ_TO 0x0000FFFFU
#define PHY_WRITE_TO 0x0000FFFFU
/* Section 3: Common PHY Registers */
#define PHY_BCR ((uint16_t)0x00) /*!< Transceiver Basic Control Register */
#define PHY_BSR ((uint16_t)0x01) /*!< Transceiver Basic Status Register */
#define PHY_RESET ((uint16_t)0x8000) /*!< PHY Reset */
#define PHY_LOOPBACK ((uint16_t)0x4000) /*!< Select loop-back mode */
#define PHY_FULLDUPLEX_100M ((uint16_t)0x2100) /*!< Set the full-duplex mode at 100 Mb/s */
#define PHY_HALFDUPLEX_100M ((uint16_t)0x2000) /*!< Set the half-duplex mode at 100 Mb/s */
#define PHY_FULLDUPLEX_10M ((uint16_t)0x0100) /*!< Set the full-duplex mode at 10 Mb/s */
#define PHY_HALFDUPLEX_10M ((uint16_t)0x0000) /*!< Set the half-duplex mode at 10 Mb/s */
#define PHY_AUTONEGOTIATION ((uint16_t)0x1000) /*!< Enable auto-negotiation function */
#define PHY_RESTART_AUTONEGOTIATION ((uint16_t)0x0200) /*!< Restart auto-negotiation function */
#define PHY_POWERDOWN ((uint16_t)0x0800) /*!< Select the power down mode */
#define PHY_ISOLATE ((uint16_t)0x0400) /*!< Isolate PHY from MII */
#define PHY_AUTONEGO_COMPLETE ((uint16_t)0x0020) /*!< Auto-Negotiation process completed */
#define PHY_LINKED_STATUS ((uint16_t)0x0004) /*!< Valid link established */
#define PHY_JABBER_DETECTION ((uint16_t)0x0002) /*!< Jabber condition detected */
/* Section 4: Extended PHY Registers */
#define PHY_SR ((uint16_t)0x10U) /*!< PHY status register Offset */
#define PHY_SPEED_STATUS ((uint16_t)0x0002U) /*!< PHY Speed mask */
#define PHY_DUPLEX_STATUS ((uint16_t)0x0004U) /*!< PHY Duplex mask */
/* ################## SPI peripheral configuration ########################## */
/* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
* Activated: CRC code is present inside driver
* Deactivated: CRC code cleaned from driver
*/
#define USE_SPI_CRC 0U
/* Includes ------------------------------------------------------------------*/
/**
* @brief Include module's header file
*/
#ifdef HAL_RCC_MODULE_ENABLED
#include "stm32f1xx_hal_rcc.h"
#endif /* HAL_RCC_MODULE_ENABLED */
#ifdef HAL_GPIO_MODULE_ENABLED
#include "stm32f1xx_hal_gpio.h"
#endif /* HAL_GPIO_MODULE_ENABLED */
#ifdef HAL_EXTI_MODULE_ENABLED
#include "stm32f1xx_hal_exti.h"
#endif /* HAL_EXTI_MODULE_ENABLED */
#ifdef HAL_DMA_MODULE_ENABLED
#include "stm32f1xx_hal_dma.h"
#endif /* HAL_DMA_MODULE_ENABLED */
#ifdef HAL_ETH_MODULE_ENABLED
#include "stm32f1xx_hal_eth.h"
#endif /* HAL_ETH_MODULE_ENABLED */
#ifdef HAL_CAN_MODULE_ENABLED
#include "stm32f1xx_hal_can.h"
#endif /* HAL_CAN_MODULE_ENABLED */
#ifdef HAL_CAN_LEGACY_MODULE_ENABLED
#include "Legacy/stm32f1xx_hal_can_legacy.h"
#endif /* HAL_CAN_LEGACY_MODULE_ENABLED */
#ifdef HAL_CEC_MODULE_ENABLED
#include "stm32f1xx_hal_cec.h"
#endif /* HAL_CEC_MODULE_ENABLED */
#ifdef HAL_CORTEX_MODULE_ENABLED
#include "stm32f1xx_hal_cortex.h"
#endif /* HAL_CORTEX_MODULE_ENABLED */
#ifdef HAL_ADC_MODULE_ENABLED
#include "stm32f1xx_hal_adc.h"
#endif /* HAL_ADC_MODULE_ENABLED */
#ifdef HAL_CRC_MODULE_ENABLED
#include "stm32f1xx_hal_crc.h"
#endif /* HAL_CRC_MODULE_ENABLED */
#ifdef HAL_DAC_MODULE_ENABLED
#include "stm32f1xx_hal_dac.h"
#endif /* HAL_DAC_MODULE_ENABLED */
#ifdef HAL_FLASH_MODULE_ENABLED
#include "stm32f1xx_hal_flash.h"
#endif /* HAL_FLASH_MODULE_ENABLED */
#ifdef HAL_SRAM_MODULE_ENABLED
#include "stm32f1xx_hal_sram.h"
#endif /* HAL_SRAM_MODULE_ENABLED */
#ifdef HAL_NOR_MODULE_ENABLED
#include "stm32f1xx_hal_nor.h"
#endif /* HAL_NOR_MODULE_ENABLED */
#ifdef HAL_I2C_MODULE_ENABLED
#include "stm32f1xx_hal_i2c.h"
#endif /* HAL_I2C_MODULE_ENABLED */
#ifdef HAL_I2S_MODULE_ENABLED
#include "stm32f1xx_hal_i2s.h"
#endif /* HAL_I2S_MODULE_ENABLED */
#ifdef HAL_IWDG_MODULE_ENABLED
#include "stm32f1xx_hal_iwdg.h"
#endif /* HAL_IWDG_MODULE_ENABLED */
#ifdef HAL_PWR_MODULE_ENABLED
#include "stm32f1xx_hal_pwr.h"
#endif /* HAL_PWR_MODULE_ENABLED */
#ifdef HAL_RTC_MODULE_ENABLED
#include "stm32f1xx_hal_rtc.h"
#endif /* HAL_RTC_MODULE_ENABLED */
#ifdef HAL_PCCARD_MODULE_ENABLED
#include "stm32f1xx_hal_pccard.h"
#endif /* HAL_PCCARD_MODULE_ENABLED */
#ifdef HAL_SD_MODULE_ENABLED
#include "stm32f1xx_hal_sd.h"
#endif /* HAL_SD_MODULE_ENABLED */
#ifdef HAL_NAND_MODULE_ENABLED
#include "stm32f1xx_hal_nand.h"
#endif /* HAL_NAND_MODULE_ENABLED */
#ifdef HAL_SPI_MODULE_ENABLED
#include "stm32f1xx_hal_spi.h"
#endif /* HAL_SPI_MODULE_ENABLED */
#ifdef HAL_TIM_MODULE_ENABLED
#include "stm32f1xx_hal_tim.h"
#endif /* HAL_TIM_MODULE_ENABLED */
#ifdef HAL_UART_MODULE_ENABLED
#include "stm32f1xx_hal_uart.h"
#endif /* HAL_UART_MODULE_ENABLED */
#ifdef HAL_USART_MODULE_ENABLED
#include "stm32f1xx_hal_usart.h"
#endif /* HAL_USART_MODULE_ENABLED */
#ifdef HAL_IRDA_MODULE_ENABLED
#include "stm32f1xx_hal_irda.h"
#endif /* HAL_IRDA_MODULE_ENABLED */
#ifdef HAL_SMARTCARD_MODULE_ENABLED
#include "stm32f1xx_hal_smartcard.h"
#endif /* HAL_SMARTCARD_MODULE_ENABLED */
#ifdef HAL_WWDG_MODULE_ENABLED
#include "stm32f1xx_hal_wwdg.h"
#endif /* HAL_WWDG_MODULE_ENABLED */
#ifdef HAL_PCD_MODULE_ENABLED
#include "stm32f1xx_hal_pcd.h"
#endif /* HAL_PCD_MODULE_ENABLED */
#ifdef HAL_HCD_MODULE_ENABLED
#include "stm32f1xx_hal_hcd.h"
#endif /* HAL_HCD_MODULE_ENABLED */
#ifdef HAL_MMC_MODULE_ENABLED
#include "stm32f1xx_hal_mmc.h"
#endif /* HAL_MMC_MODULE_ENABLED */
/* Exported macro ------------------------------------------------------------*/
#ifdef USE_FULL_ASSERT
/**
* @brief The assert_param macro is used for function's parameters check.
* @param expr If expr is false, it calls assert_failed function
* which reports the name of the source file and the source
* line number of the call that failed.
* If expr is true, it returns no value.
* @retval None
*/
#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
/* Exported functions ------------------------------------------------------- */
void assert_failed(uint8_t* file, uint32_t line);
#else
#define assert_param(expr) ((void)0U)
#endif /* USE_FULL_ASSERT */
#ifdef __cplusplus
}
#endif
#endif /* __STM32F1xx_HAL_CONF_H */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@@ -6,15 +6,14 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2022 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2025 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
******************************************************************************
*/
/* USER CODE END Header */
@@ -59,7 +58,9 @@ void SysTick_Handler(void);
void USB_HP_CAN1_TX_IRQHandler(void);
void USB_LP_CAN1_RX0_IRQHandler(void);
void TIM4_IRQHandler(void);
void EXTI15_10_IRQHandler(void);
void TIM8_UP_IRQHandler(void);
void UART4_IRQHandler(void);
/* USER CODE BEGIN EFP */
/* USER CODE END EFP */

View File

@@ -32,12 +32,15 @@ extern "C" {
/* USER CODE END Includes */
extern TIM_HandleTypeDef htim2;
extern TIM_HandleTypeDef htim4;
/* USER CODE BEGIN Private defines */
/* USER CODE END Private defines */
void MX_TIM2_Init(void);
void MX_TIM4_Init(void);
/* USER CODE BEGIN Prototypes */

52
Core/Inc/usart.h Normal file
View File

@@ -0,0 +1,52 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file usart.h
* @brief This file contains all the function prototypes for
* the usart.c file
******************************************************************************
* @attention
*
* Copyright (c) 2025 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* USER CODE END Header */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __USART_H__
#define __USART_H__
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "main.h"
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
extern UART_HandleTypeDef huart4;
/* USER CODE BEGIN Private defines */
/* USER CODE END Private defines */
void MX_UART4_Init(void);
/* USER CODE BEGIN Prototypes */
/* USER CODE END Prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __USART_H__ */

View File

@@ -21,10 +21,9 @@
#include "can.h"
/* USER CODE BEGIN 0 */
#include "gpio.h"
#include "message.h"
#include "gpio.h"
#include "boot_jump.h"
void CAN_filterConfig(void);
CAN_TxHeaderTypeDef TxHeader;
@@ -44,7 +43,6 @@ uint32_t TX_box_ID = 0;
uint32_t RX_box_ID = 0;
uint32_t BC_box_ID = 0;
/* USER CODE END 0 */
CAN_HandleTypeDef hcan;
@@ -61,7 +59,7 @@ void MX_CAN_Init(void)
/* USER CODE END CAN_Init 1 */
hcan.Instance = CAN1;
hcan.Init.Prescaler = 10;
hcan.Init.Prescaler = 16;
hcan.Init.Mode = CAN_MODE_NORMAL;
hcan.Init.SyncJumpWidth = CAN_SJW_1TQ;
hcan.Init.TimeSeg1 = CAN_BS1_13TQ;
@@ -79,13 +77,6 @@ void MX_CAN_Init(void)
/* USER CODE BEGIN CAN_Init 2 */
CAN_filterConfig();
msgHeaderSend.StdId = 0x200;
msgHeaderSend.ExtId = TX_box_ID;
msgHeaderSend.DLC = 8;
msgHeaderSend.TransmitGlobalTime = DISABLE;
msgHeaderSend.RTR = CAN_RTR_DATA;
msgHeaderSend.IDE = CAN_ID_EXT;
// CAN start
if (HAL_CAN_Start(&hcan) != HAL_OK)
@@ -98,10 +89,6 @@ void MX_CAN_Init(void)
{
Error_Handler();
}
/* USER CODE END CAN_Init 2 */
@@ -172,17 +159,8 @@ void HAL_CAN_MspDeInit(CAN_HandleTypeDef* canHandle)
}
/* USER CODE BEGIN 1 */
void Setup_CAN_addr(uint8_t mode)
{
BC_box_ID = 0x9F<<20;
RX_box_ID = (0x80+mode)<<20;
TX_box_ID = RX_box_ID | (1L<<28);
}
void CAN_filterConfig(void)
{
sFilterConfig.FilterBank = 0;
sFilterConfig.FilterMode = CAN_FILTERMODE_IDMASK;
sFilterConfig.FilterScale = CAN_FILTERSCALE_32BIT;
@@ -199,12 +177,6 @@ void CAN_filterConfig(void)
Error_Handler();
} }
void HAL_CAN_TxMailbox0CompleteCallback(CAN_HandleTypeDef *hcan)
{
// HAL_GPIO_TogglePin(LED_2_GPIO_Port, LED_2_Pin);
}
void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan_i)
{
CAN_RxHeaderTypeDef msgHeader;
@@ -218,6 +190,15 @@ void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan_i)
/* Reception Error */
Error_Handler();
}
if(msgData[0] == CMD_GOTOBOOT)
{
JumpToBootloader();
}
else if(msgData[0] == CMD_RESET)
{
NVIC_SystemReset();
}
if((msgHeader.ExtId & 0xFF00000) != RX_box_ID)
if((msgHeader.ExtId & 0xFF00000) != BC_box_ID) return;
@@ -238,14 +219,18 @@ void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan_i)
LED_1_TGL;
}
int CAN_send(uint16_t data[], int Addr, int Qua)
{
int wait = 1000;
uint16_t wait = 1000;
static uint8_t att=0;
uint8_t i;
while(wait-- && (HAL_CAN_GetTxMailboxesFreeLevel(&hcan) == 0));
if (HAL_CAN_GetTxMailboxesFreeLevel(&hcan) != 0)
{
msgHeaderSend.IDE = CAN_ID_EXT;
msgHeaderSend.ExtId = TX_box_ID | (Addr & 0xFFFF);
msgHeaderSend.DLC = Qua*2;
@@ -260,14 +245,65 @@ int CAN_send(uint16_t data[], int Addr, int Qua)
HAL_CAN_AddTxMessage(&hcan, &msgHeaderSend, msgDataSend, &mailBoxNum);
LED_0_TGL;
att=0;
return 1;
}
else
{
HAL_CAN_Stop(&hcan);
HAL_CAN_Start(&hcan);
if(att>=3)
{
MX_CAN_Init();
LED_0_OFF;
LED_1_OFF;
for(i=0;i<8;i++)
{
LED_1_TGL; HAL_Delay(30);
LED_1_TGL; HAL_Delay(30);
LED_0_TGL; HAL_Delay(30);
LED_0_TGL; HAL_Delay(30);
} }
else
{
att++;
HAL_CAN_Stop(&hcan);
HAL_CAN_Start(&hcan);
LED_0_OFF;
LED_1_OFF;
for(i=0;i<10;i++)
{
LED_0_TGL;
LED_1_TGL; HAL_Delay(30);
} }
return 0;
} }
void Setup_CAN_addr(uint8_t mode)
{
BC_box_ID = 0x9F<<20;
RX_box_ID = (0x80+mode)<<20;
TX_box_ID = RX_box_ID | (1L<<28);
}
// Успешная отправка - моргание диодом
void HAL_CAN_TxMailbox0CompleteCallback(CAN_HandleTypeDef *hcan)
{
LED_0_TGL;
}
void HAL_CAN_TxMailbox1CompleteCallback(CAN_HandleTypeDef *hcan)
{
LED_0_TGL;
}
void HAL_CAN_TxMailbox2CompleteCallback(CAN_HandleTypeDef *hcan)
{
LED_0_TGL;
}
// Ошибки: выключение диода
void HAL_CAN_ErrorCallback(CAN_HandleTypeDef *hcan)
{
LED_0_OFF;
}
/* USER CODE END 1 */

View File

@@ -22,7 +22,7 @@
#include "gpio.h"
/* USER CODE BEGIN 0 */
#include "tim.h"
/* USER CODE END 0 */
/*----------------------------------------------------------------------------*/
@@ -42,31 +42,27 @@ void MX_GPIO_Init(void)
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOC_CLK_ENABLE();
__HAL_RCC_GPIOD_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
/*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(GPIOC, LED1_Pin|LED2_Pin|PVT4_Pin|PVT3_Pin
HAL_GPIO_WritePin(GPIOC, LED2_Pin|LED3_Pin|PVT4_Pin|PVT3_Pin
|PVT2_Pin|PVT1_Pin, GPIO_PIN_RESET);
/*Configure GPIO pins : PCPin PCPin PCPin PC0
PC1 PCPin PCPin */
GPIO_InitStruct.Pin = IN_06_Pin|SELEKT_PCH_Pin|IN_05_Pin|GPIO_PIN_0
|GPIO_PIN_1|J1_Pin|J2_Pin;
/*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(GPIOB, LED0_Pin|LED1_Pin, GPIO_PIN_SET);
/*Configure GPIO pins : PCPin PCPin PCPin PCPin
PCPin */
GPIO_InitStruct.Pin = IN_06_Pin|SELEKT_PCH_Pin|IN_05_Pin|J2_Pin
|J3_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
/*Configure GPIO pins : PD0 PD1 */
GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
/*Configure GPIO pins : PCPin PCPin PCPin PCPin
PCPin PCPin */
GPIO_InitStruct.Pin = LED1_Pin|LED2_Pin|PVT4_Pin|PVT3_Pin
GPIO_InitStruct.Pin = LED2_Pin|LED3_Pin|PVT4_Pin|PVT3_Pin
|PVT2_Pin|PVT1_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
@@ -74,34 +70,82 @@ void MX_GPIO_Init(void)
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
/*Configure GPIO pins : PAPin PAPin PAPin PAPin
PAPin PAPin PA6 PAPin */
PAPin PAPin PAPin PAPin */
GPIO_InitStruct.Pin = IN_04_Pin|IN_03_Pin|IN_02_Pin|IN_01_Pin
|IN_14_Pin|IN_13_Pin|GPIO_PIN_6|J0_Pin;
|IN_14_Pin|IN_13_Pin|J0_Pin|J1_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
/*Configure GPIO pins : PBPin PBPin PBPin PBPin
PB11 PBPin PBPin PBPin
PBPin */
GPIO_InitStruct.Pin = J3_Pin|IN_12_Pin|BOOT1_Pin|IN_11_Pin
|GPIO_PIN_11|IN_10_Pin|IN_09_Pin|IN_08_Pin
|IN_07_Pin;
PBPin PBPin */
GPIO_InitStruct.Pin = IN_12_Pin|IN_11_Pin|BOOT1_Pin|IN_10_Pin
|IN_09_Pin|IN_08_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/*Configure GPIO pin : PtPin */
GPIO_InitStruct.Pin = IN_07_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING_FALLING;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(IN_07_GPIO_Port, &GPIO_InitStruct);
/*Configure GPIO pin : PA8 */
GPIO_InitStruct.Pin = GPIO_PIN_8;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
/*Configure peripheral I/O remapping */
__HAL_AFIO_REMAP_PD01_ENABLE();
/*Configure GPIO pins : PBPin PBPin */
GPIO_InitStruct.Pin = LED0_Pin|LED1_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/* EXTI interrupt init*/
HAL_NVIC_SetPriority(EXTI15_10_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(EXTI15_10_IRQn);
}
/* USER CODE BEGIN 2 */
#define MEASURE_PIN IN_07_Pin
#define MEASURE_PORT IN_07_GPIO_Port
volatile uint32_t last_tick = 0;
volatile uint32_t high_time = 0;
volatile uint32_t period_time = 0;
volatile uint8_t first_edge = 1;
float duty_cycle = 0.0f;
float frequency = 0.0f;
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
{
if (GPIO_Pin != MEASURE_PIN) return;
static uint16_t last_tick = 0;
static uint16_t low_time = 0;
static uint16_t high_time = 0;
uint16_t now = (uint16_t)__HAL_TIM_GET_COUNTER(&htim2);
uint16_t delta = (now >= last_tick) ? (now - last_tick) : (uint16_t)(0x10000 + now - last_tick);
last_tick = now;
if (HAL_GPIO_ReadPin(MEASURE_PORT, MEASURE_PIN) == GPIO_PIN_SET) {
// RISING → закончился LOW
low_time = delta;
} else {
// FALLING → закончился HIGH
high_time = delta;
uint32_t period = (uint32_t)high_time + (uint32_t)low_time;
if (period > 0) {
frequency = 1e6f / period; // Гц
duty_cycle = (high_time * 100.0f) / period; // %
}
}
}
/* USER CODE END 2 */

View File

@@ -1,4 +1,4 @@
#include "main.h"
#include "gpio.h"
#include "lampa.h"
#include "struc.h"
@@ -9,6 +9,8 @@ void ReadEnteres(void)
{
WORDE input, alarm, error;
input.all=0;
input.bit.bit0 = !IN_06; // Контроль ИП1 (питание управляющего контроллера)
input.bit.bit1 = !IN_05; // Контроль ИП2 (питание периферийных устройств)
input.bit.bit2 = !IN_04; // Контроль ИП3 (питание эл. замков, ламп освещения, УКСИ)
@@ -19,12 +21,12 @@ void ReadEnteres(void)
input.bit.bit6 = !IN_07; // Контроль 3х фазного 380 В
input.bit.bit7 = !IN_08; // Заряд накопителя
input.bit.bit8 = !IN_09; // Разряд накопителя
input.bit.bit9 = IN_10; // Авария в сети 24 В
input.bit.bit9 = IN_10; // Авария в сети 24 В, единственный нормально замкнутый сигнал
input.bit.bitD = (Squazh_U[3] > Squazh_L[3]);
input.bit.bitC = (Squazh_U[2] > Squazh_L[2]);
input.bit.bitB = (Squazh_U[1] > Squazh_L[1]);
input.bit.bitA = (Squazh_U[0] > Squazh_L[0]);
input.bit.bitA = (Squazh_U[0] > Squazh_L[0]); // Контроль питания ЛСУ
input.bit.bitB = (Squazh_U[1] > Squazh_L[1]); // Контроль питания СВО
input.bit.bitC = (Squazh_U[2] > Squazh_L[2]); // резерв
input.bit.bitD = (Squazh_U[3] > Squazh_L[3]); // Контроль питания СКК
/*
input.bit.bitA = !IN_11; // Контроль питания ЛСУ
input.bit.bitB = !IN_12; // Контроль питания СВО
@@ -33,14 +35,16 @@ void ReadEnteres(void)
*/
Inputs.all = input.all;
alarm.all = ~Inputs.all & Alarm_mask.all;
alarm.bit.bit7 = 0; // Заряд накопителя
alarm.bit.bit8 = Inputs.bit.bit8; // Разряд накопителя
alarm.bit.bit9 = Inputs.bit.bit9; // Авария в сети 24 В
// Обычно неисправность это отсутствие сигнала, который есть в маске неисправностей
alarm.all = ~Inputs.all & Alarm_mask.all;
alarm.bit.bit7 = 0; // Заряд накопителя никогда не неисправность
alarm.bit.bit8 = Inputs.bit.bit8; // Разряд накопителя всегда неисправность
alarm.bit.bit9 = Inputs.bit.bit9; // Авария в сети 24 В всегда неисправность
Alarms = alarm;
// Обычно авария это отсутствие сигнала, который есть в маске аварий
error.all = ~Inputs.all & Error_mask.all;
error.bit.bit9 = Inputs.bit.bit9; // Авария в сети 24 В
error.bit.bit9 = Inputs.bit.bit9; // Авария в сети 24 В всегда авария
Errors = error;
}

View File

@@ -6,13 +6,12 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2022 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2025 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
@@ -22,24 +21,25 @@
#include "can.h"
#include "iwdg.h"
#include "tim.h"
#include "usart.h"
#include "gpio.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include "package.h"
#include "message.h"
#include "lampa.h"
#include "boot_jump.h"
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
/* USER CODE BEGIN PTD */
FLAG flag;
/* USER CODE END PTD */
/* Private define ------------------------------------------------------------*/
/* USER CODE BEGIN PD */
/* USER CODE END PD */
/* Private macro -------------------------------------------------------------*/
@@ -51,9 +51,16 @@ FLAG flag;
/* USER CODE BEGIN PV */
FLAG flag;
static long Falling_asleep;
uint8_t CanGO=0, timGo=0;
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/
@@ -65,24 +72,6 @@ void SystemClock_Config(void);
/* Private user code ---------------------------------------------------------*/
/* USER CODE BEGIN 0 */
int Isit(int num, int i, int z)
{
int res, pls;
if((num<0)||(num>=0x80)) return 0;
res = Maska[i][num/0x10];
res &= (1<<(num&0x0F));
if(z)
{
pls = (espero[num]>CanRestart[i]/2);
pls = pls || county[num];
res = res && pls;
}
return res;
}
/* USER CODE END 0 */
/**
@@ -93,12 +82,11 @@ int main(void)
{
/* USER CODE BEGIN 1 */
static int i,j,n,z,mask,qua;
static int i,j,n,z,mask,qua;
static int cancount[2]={1,2},cancell[2]={0,0},candid[2]={0,0};
static unsigned int masca[8];
static uint16_t precom=0;
App_Init();
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
@@ -107,24 +95,25 @@ int main(void)
HAL_Init();
/* USER CODE BEGIN Init */
MX_IWDG_Init();
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/* USER CODE BEGIN SysInit */
MX_IWDG_Init();
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_CAN_Init();
MX_TIM2_Init();
MX_TIM4_Init();
MX_IWDG_Init();
MX_UART4_Init();
/* USER CODE BEGIN 2 */
LED_0_ON;
HAL_TIM_Base_Start(&htim2);
LED_0_ON;
LED_1_OFF;
LED_2_ON;
LED_3_OFF;
@@ -134,10 +123,11 @@ int main(void)
LED_0_TGL;
LED_1_TGL;
LED_2_TGL;
LED_3_TGL; HAL_Delay(50);
LED_3_TGL;
HAL_Delay(50);
}
Mode = ReadJumpers()+1;
Mode = ReadJumpers()+1;
Setup_CAN_addr(Mode-1);
Load_params();
LastMode = Mode;
@@ -155,271 +145,232 @@ int main(void)
timGo=1;
/* USER CODE END 2 */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
if (flag.force_pause)
{
__disable_irq();
for(int i=0;i<flag.pause;i++);
__enable_irq();
}
if( CanGO)
{ CanGO=0;
for(i=0;i<0x80;i++)
if(espero[i]<30000) espero[i]++;
for(i=0;i<2;i++)
if(cancount[i]) cancount[i]--;
else cancell[i] = 0;
}
for(i=0;i<2;i++)
if( Cancount[i])
if(!cancount[i])
{
while(1)
{
if( cancell[i]>= 0x80)
{ cancell[i]=0;
while (1)
{
//=== БЛОК ПРИНУДИТЕЛЬНОЙ ПАУЗЫ ===//
if (flag.force_pause)
{
__disable_irq(); // Отключаем все прерывания
for(int i = 0; i < flag.pause; i++); // Пустой цикл для задержки
__enable_irq(); // Включаем прерывания обратно
}
//=== ОБРАБОТКА CAN-ШИНЫ ===//
if (CanGO) // Флаг разрешения работы с CAN-шиной
{
CanGO = 0; // Сбрасываем флаг
// Увеличиваем счетчики ожидания для всех элементов (ограничение 30000)
for(i = 0; i < 0x80; i++)
if(espero[i] < 30000)
espero[i]++;
// Уменьшаем счетчики задержки для двух CAN-каналов
for(i = 0; i < 2; i++)
if(cancount[i])
cancount[i]--;
else
cancell[i] = 0; // Сброс позиции, если счетчик обнулился
}
//=== ОБРАБОТКА КАНАЛОВ CAN ===//
for(i = 0; i < 2; i++) // Для каждого из двух CAN-каналов
{
if (Cancount[i] && !cancount[i]) // Если есть задержка и счетчик обнулился
{
// Поиск следующего элемента для обработки
while(1)
{
if (cancell[i] >= 0x80) // Если достигли конца диапазона
{
cancell[i] = 0; // Сброс позиции
if (candid[i]) // Если есть кандидат для обработки
{
candid[i] = 0; // Сброс флага кандидата
CanCycle[i]++; // Увеличиваем счетчик циклов
cancount[i] = CanWait[i]; // Устанавливаем задержку
goto Next; // Переход к следующей итерации
}
}
// Проверка маски для определения активных элементов
mask = Maska[i][cancell[i] / 0x10] >> (cancell[i] & 0x0F);
if (!mask) // Если маска пустая
cancell[i] = (cancell[i] + 0x10) & 0xFFF0; // Переход к следующей группе
else
{
// Поиск первого установленного бита в маске
while (!(mask & 1))
{
cancell[i]++;
mask >>= 1;
}
break; // Найден активный элемент
}
}
z = 1; // Флаг нормального состояния
// Проверка превышения времени ожидания
if (espero[cancell[i]] > CanRestart[i])
{
county[cancell[i]] = 1; // Установка флага необходимости отправки
z = 0; // Флаг аварийного состояния
}
// Проверка изменения данных для отправки
if (modbus[cancell[i]] != archiv[cancell[i]])
{
if (cancell[i] == keys) // Если это ключевой элемент
{
// Установка флагов для группы элементов
for(j = 0; j < CanRptLen; j++)
county[cancell[i] + j] = CanRptVez;
}
else
{
county[cancell[i]] = 1; // Установка флага для одиночного элемента
}
}
if( candid[i])
{ candid[i]=0;
CanCycle[i]++;
cancount[i] = CanWait[i];
goto Next;
} }
mask = Maska[i][cancell[i]/0x10] >> (cancell[i]&0x0F);
if(!mask) cancell[i] = (cancell[i] + 0x10) & 0xFFF0 ;
else
{
while(!(mask & 1))
{
cancell[i]++; mask >>= 1;
}
break;
} }
z=1;
if(espero[cancell[i]]>CanRestart[i])
{
county[cancell[i]]=1;
z=0;
}
if(modbus[cancell[i]] != archiv[cancell[i]])
{
if(cancell[i]==keys)
for(j=0;j<CanRptLen;j++)
county[cancell[i]+j] = CanRptVez;
else
county[cancell[i]] = 1;
}
// Обработка элементов, требующих отправки
if (county[cancell[i]])
{
// Поиск границ группы измененных элементов
for(j = 3; j > 0 && !Isit(cancell[i] + j, i, z); j--);
for(n = j - 3; n < 0 && !Isit(cancell[i] + n, i, 1); n++);
if (county[cancell[i]])
{
for(j= 3; j>0 && !Isit(cancell[i]+j,i,z); j--);
for(n=j-3; n<0 && !Isit(cancell[i]+n,i,1); n++);
qua = 1 + j - n; // Расчет количества элементов в группе
cancell[i] += n; // Корректировка позиции
qua = 1 + j - n;
cancell[i]+= n;
// Обработка каждого элемента в группе
for(j = 0; j < qua; j++)
{
n = cancell[i] + j;
archiv[n] = modbus[n]; // Сохранение текущего значения
espero[n] = 0; // Сброс счетчика ожидания
if (county[n]) // Если элемент требует обработки
{
county[n]--; // Уменьшение счетчика
// Если счетчик обнулился и это не циклический элемент
if (!county[n] && n != cancyclo + i)
candid[i] = 1; // Установка флага кандидата
}
// Обновление маски активных элементов
if (!county[n])
masca[n / 0x10] |= (1 << (n & 0x0F));
}
for(j=0;j<qua;j++)
{
n=cancell[i]+j;
archiv[n]= modbus[n];
espero[n]= 0;
if( county[n])
{ county[n]--;
if(!county[n] && n != cancyclo+i) candid[i]=1;
}
if(!county[n]) masca[n/0x10] |= (1<<(n&0x0F));
}
// Отправка данных через CAN-шину
CAN_send(archiv, cancell[i], qua);
CAN_send(archiv,cancell[i],qua);
cancount[i] = Cancount[i]; // Установка задержки
cancell[i] += qua; // Переход к следующей позиции
cancount[i] = Cancount[i];
cancell[i]+=qua;
// Проверка завершения обработки всех элементов
for(j = 0; j < 8; j++)
if ((masca[j] & Maska[i][j]) != Maska[i][j])
break;
if (j == 8) // Если все элементы обработаны
{
// Сброс соответствующих битов маски
for(j = 0; j < 8; j++)
masca[j] &= ~Maska[i][j];
CanRound[i]++; // Увеличение счетчика раундов
}
for(j=0;j<8;j++)
if((masca[j] & Maska[i][j]) != Maska[i][j]) break;
if(j==8)
{
for(j=0;j<8;j++) masca[j]&=~Maska[i][j];
CanRound[i]++;
}
// Управление параллельной обработкой каналов
if (Cancount[i] > 1 && !cancount[!i])
cancount[!i] = 1; // Запуск другого канала
}
else
{
cancell[i]++; // Переход к следующему элементу
}
}
}
Next: // Метка для перехода к следующей части цикла
//=== ЧТЕНИЕ ВХОДНЫХ СИГНАЛОВ ===//
ReadEnteres(); // Функция чтения дискретных входов
//=== УПРАВЛЕНИЕ ВЫХОДНЫМИ СИГНАЛАМИ ===//
if (Errors.all | Alarms.all)
Pvt4_OFF; // Выключение сигнала "Система ВЭП в норме"
else
Pvt4_ON; // Включение сигнала "Система ВЭП в норме"
if (Errors.all)
Pvt3_ON; // Включение сигнала "Авария системы ВЭП"
else
Pvt3_OFF; // Выключение сигнала "Авария системы ВЭП"
if (Falling_asleep)
Pvt2_ON; // Включение сигнала управления
else
Pvt2_OFF; // Выключение сигнала управления
if( Cancount[i]>1)
if(!cancount[!i])
cancount[!i]=1;
}
else
cancell[i]++;
}
Next:
ReadEnteres();
if(Errors.all|Alarms.all)
Pvt4_OFF;
else Pvt4_ON; // ñèãíàë "Ñèñòåìà ÂÝÏ â íîðìå"
if(Errors.all) Pvt3_ON; // ñèãíàë "Àâàðèÿ ñèñòåìû ÂÝÏ"
else Pvt3_OFF;
if(Falling_asleep) Pvt2_ON; // Ïîêà íå ñïèì, ýòî çàìêíóòî
else Pvt2_OFF; // ñèãíàë "Óïðàâëåíèå ñåòüþ 24Â"
//=== ОБРАБОТКА КОМАНД ===//
if (Commands != precom) // Если команды изменились
{
command = (~precom | command) & Commands; // Обновление активных команд
}
precom = Commands; // Сохранение текущих команд для следующей итерации
//=== ОБРАБОТКА СИСТЕМНЫХ КОМАНД ===//
if (cDefParam) // Команда сброса параметров по умолчанию
{
cDefParam = 0;
Default_params(); // Вызов функции сброса параметров
}
if (cSaveParam) // Команда сохранения параметров
{
cSaveParam = 0;
Save_params(); // Вызов функции сохранения параметров
}
if(Commands!=precom)
{
command= (~precom|command) & Commands;
}
precom = Commands;
if(cDefParam)
{
cDefParam=0;
Default_params();
}
if (cLoadParam) // Команда загрузки параметров
{
cLoadParam = 0;
Load_params(); // Вызов функции загрузки параметров
}
if(cSaveParam)
{
cSaveParam=0;
Save_params();
}
if (cCanReset) // Команда сброса CAN-системы
{
cCanReset = 0;
if(cLoadParam)
{
cLoadParam=0;
Load_params();
}
if(cCanReset)
{
cCanReset=0;
for(i=0;i<0x80;i++)
county[i]=1;
for(i=0;i<2;i++)
CanCycle[i]=
CanRound[i]=
cancount[i]=
cancell[i]=0;
for(i=0;i<8;i++)
masca[i]=0;
} } }
// Сброс всех счетчиков и состояний CAN-системы
for(i = 0; i < 0x80; i++)
county[i] = 1; // Установка флагов отправки для всех элементов
for(i = 0; i < 2; i++)
{
CanCycle[i] = 0; // Сброс счетчиков циклов
CanRound[i] = 0; // Сброс счетчиков раундов
cancount[i] = 0; // Сброс счетчиков задержки
cancell[i] = 0; // Сброс позиций
}
for(i = 0; i < 8; i++)
masca[i] = 0; // Сброс масок
}
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
void Millisecond()
{
static int CanPowse;
static unsigned int
count_blink=0, count_bright=0, count_mode,
blink_over, blink_alarm, power_lamp, work_diod, norm_diod;
static int preTest;
int TST;
#define CANPOWSE 10 // 10 msec
#define BLINK_TIME 250 // .25 sec
if(!cReset)
IWDG->KR = 0xAAAA;//HAL_IWDG_Refresh(&hiwdg);
if(!timGo) return;
Jumpers.byt.byte_1 = ReadJumpers();
Jumpers.bit.bit0 =
Buttons.bit.bit0 = TestJumper();
if(++CanPowse >= CANPOWSE)
{
CanPowse = 0; CanGO = 1;
}
if(Alarms.bit.bit8) // Ðàçðÿä áàòàðåè
{
if (Falling_asleep) Falling_asleep--;
}
else Falling_asleep = 1000L * Sleep_time;
TST = TestJumper() | cTestLamp;
if(TST & !preTest)
{
count_blink = BLINK_TIME;
count_mode = 0;
}
preTest = TST;
if(++count_blink >= BLINK_TIME)
{
count_blink=0;
count_mode++;
blink_over = (count_mode & 1)?1:0;
blink_alarm = (count_mode & 7)?1:0;
}
power_lamp= 1;
norm_diod = 1;
work_diod =!blink_over;
if(TST)
{
power_lamp = blink_over;
norm_diod = blink_over;
work_diod = blink_over;
}
else
if(Lightness)
{
power_lamp = norm_diod = 0;
if(Lightness==2) power_lamp = norm_diod = 1;
if(Lightness==3) power_lamp = norm_diod = blink_over;
if(Lightness==4) power_lamp = norm_diod = blink_alarm;
if(Lightness==5) power_lamp = norm_diod = !blink_alarm;
}
else
if(Errors.all)
{
power_lamp = blink_over;
norm_diod = blink_over;
}
else
if(Alarms.all)
{
power_lamp = blink_alarm;
norm_diod = blink_alarm;
}
if(++count_bright == 10) //maximum_bright
{ count_bright = 0 ;
if(power_lamp) Pvt1_ON;
else Pvt1_OFF;
}
if(count_bright == Brightness)
if(!TST) Pvt1_OFF; //îòêëþ÷åíèå ëàìïî÷êè
if(work_diod) LED_2_ON;
else LED_2_OFF;
if(norm_diod) LED_3_ON;
else LED_3_OFF;
/* USER CODE END 3 */
}
@@ -460,10 +411,182 @@ void SystemClock_Config(void)
{
Error_Handler();
}
HAL_RCC_MCOConfig(RCC_MCO, RCC_MCO1SOURCE_HSI, RCC_MCODIV_1);
HAL_RCC_MCOConfig(RCC_MCO, RCC_MCO1SOURCE_PLLCLK, RCC_MCODIV_1);
}
/* USER CODE BEGIN 4 */
//////////////// USER FUNC ////////////////////
/**
* @brief Проверяет, активен ли указанный элемент для обработки в CAN-шине
* @param num Номер элемента (0x00-0x7F)
* @param i Номер CAN-канала (0 или 1)
* @param z Флаг дополнительных проверок (1 - включить доп. проверки, 0 - только маска)
* @return 1 - элемент активен, 0 - элемент не активен
*/
int Isit(int num, int i, int z)
{
int res, pls;
//=== ПРОВЕРКА ДИАПАЗОНА ===//
// Если номер элемента вне допустимого диапазона (0x00-0x7F)
if((num < 0) || (num >= 0x80))
return 0; // Элемент не активен
//=== ПРОВЕРКА МАСКИ КАНАЛА ===//
// Определяем битовую маску для данного элемента
// num/0x10 - определяем индекс в массиве масок (0-7)
// num&0x0F - определяем позицию бита в слове (0-15)
res = Maska[i][num / 0x10]; // Получаем маску для группы элементов
res &= (1 << (num & 0x0F)); // Проверяем конкретный бит в маске
//=== ДОПОЛНИТЕЛЬНЫЕ ПРОВЕРКИ (если z != 0) ===//
if(z)
{
// Проверка времени ожидания: если превышена половина времени перезапуска
pls = (espero[num] > CanRestart[i] / 2);
// ИЛИ проверка счетчика отправки (если county[num] != 0)
pls = pls || county[num];
// Комбинированная проверка: должен быть установлен в маске И выполнять условия
res = res && pls;
}
return res; // Возвращаем результат проверки
}
/**
* @brief Функция обработки милисекундных событий системы
* @note Вызывается каждую миллисекунду из SysTick_Handler
*/
void Millisecond()
{
// Статические переменные для хранения состояния между вызовами
static int CanPowse; // Счетчик для управления CAN-шиной
static unsigned int count_blink = 0, // Счетчик для мигания
count_bright = 0, // Счетчик для управления яркостью
count_mode, // Счетчик режимов мигания
blink_over, // Флаг переключения состояния мигания
blink_alarm, // Флаг мигания аварии
power_lamp, // Состояние силовой лампы
work_diod, // Состояние рабочего светодиода
norm_diod; // Состояние нормального светодиода
static int preTest; // Предыдущее состояние теста
int TST; // Текущее состояние теста
// Константы времени
#define CANPOWSE 10 // 10 msec - период обновления CAN
#define BLINK_TIME 250 // 0.25 sec - период мигания
//=== ОБНОВЛЕНИЕ WATCHDOG ===//
if(!cReset)
IWDG->KR = 0xAAAA; // Сброс watchdog таймера
//=== ПРОВЕРКА АКТИВНОСТИ ТАЙМЕРА ===//
if(!timGo) return; // Если таймер не активен - выход
//=== ЧТЕНИЕ ПЕРЕКЛЮЧАТЕЛЕЙ И КНОПОК ===//
Jumpers.byt.byte_1 = ReadJumpers(); // Чтение состояния переключателей
Jumpers.bit.bit0 = Buttons.bit.bit0 = TestJumper(); // Чтение состояния кнопки
//=== УПРАВЛЕНИЕ CAN-ШИНОЙ ===//
if(++CanPowse >= CANPOWSE)
{
CanPowse = 0; // Сброс счетчика
CanGO = 1; // Установка флага разрешения работы CAN
}
//=== УПРАВЛЕНИЕ РЕЖИМОМ "ЗАСЫПАНИЯ" ===//
if(Alarms.bit.bit8) // Разряд батареи
{
if (Falling_asleep) Falling_asleep--; // Уменьшение времени до "сна"
}
else
Falling_asleep = 1000L * Sleep_time; // Установка времени до "сна"
//=== ОБРАБОТКА ТЕСТОВОГО РЕЖИМА ===//
TST = TestJumper() | cTestLamp; // Текущее состояние теста (кнопка или команда)
if(TST & !preTest) // Обнаружение фронта нажатия кнопки
{
count_blink = BLINK_TIME; // Сброс счетчика мигания
count_mode = 0; // Сброс счетчика режимов
}
preTest = TST; // Сохранение состояния для следующего вызова
//=== УПРАВЛЕНИЕ МИГАНИЕМ ИНДИКАТОРОВ ===//
if(++count_blink >= BLINK_TIME)
{
count_blink = 0; // Сброс счетчика
count_mode++; // Переключение режима
blink_over = (count_mode & 1) ? 1 : 0; // Мигание 1:1 (50%)
blink_alarm = (count_mode & 7) ? 1 : 0; // Мигание 1:7 (12.5%)
}
//=== УСТАНОВКА СТАНДАРТНЫХ СОСТОЯНИЙ ИНДИКАТОРОВ ===//
power_lamp = 1; // Силовая лампа включена
norm_diod = 1; // Нормальный светодиод включен
work_diod = !blink_over; // Рабочий светодиод синхронизирован с миганием
//=== РЕЖИМ ТЕСТИРОВАНИЯ ===//
if(TST)
{
power_lamp = blink_over; // Мигание силовой лампы
norm_diod = blink_over; // Мигание нормального светодиода
work_diod = blink_over; // Мигание рабочего светодиода
}
//=== РЕЖИМ ОСВЕЩЕНИЯ ===//
else if(Lightness)
{
power_lamp = norm_diod = 0; // Базовое состояние - выключено
// Уровень освещенности 2: постоянно включено
if(Lightness == 2) power_lamp = norm_diod = 1;
// Уровень освещенности 3: медленное мигание (50%)
if(Lightness == 3) power_lamp = norm_diod = blink_over;
// Уровень освещенности 4: быстрое мигание (12.5%)
if(Lightness == 4) power_lamp = norm_diod = blink_alarm;
// Уровень освещенности 5: инверсное быстрое мигание (87.5%)
if(Lightness == 5) power_lamp = norm_diod = !blink_alarm;
}
//=== РЕЖИМ ОШИБОК ===//
else if(Errors.all)
{
power_lamp = blink_over; // Мигание при ошибках
norm_diod = blink_over; // Мигание при ошибках
}
//=== РЕЖИМ ТРЕВОГ ===//
else if(Alarms.all)
{
power_lamp = blink_alarm; // Быстрое мигание при тревогах
norm_diod = blink_alarm; // Быстрое мигание при тревогах
}
//=== ШИМ УПРАВЛЕНИЕ ЯРКОСТЬЮ СИЛОВОЙ ЛАМПЫ ===//
if(++count_bright == 10) // maximum_bright (100%)
{
count_bright = 0;
if(power_lamp) Pvt1_ON; // Включение на полную яркость
else Pvt1_OFF; // Выключение
}
//=== УПРАВЛЕНИЕ ЯРКОСТЬЮ ===//
if(count_bright == Brightness)
if(!TST) Pvt1_OFF; // Отключение лампочки с регулировкой яркости
//=== УПРАВЛЕНИЕ СВЕТОДИОДАМИ ===//
if(work_diod) LED_2_ON; // Включение рабочего светодиода
else LED_2_OFF; // Выключение рабочего светодиода
if(norm_diod) LED_3_ON; // Включение нормального светодиода
else LED_3_OFF; // Выключение нормального светодиода
}
/////////////////////////////////////////////
/* USER CODE END 4 */
@@ -479,12 +602,15 @@ void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
{
/* USER CODE BEGIN Callback 0 */
if(htim->Instance == TIM4) //check if the interrupt comes from TIM4
ReadSeanus();
/* USER CODE END Callback 0 */
if (htim->Instance == TIM8) {
HAL_IncTick();
}
Millisecond();
}
/* USER CODE BEGIN Callback 1 */
/* USER CODE END Callback 1 */
}

View File

@@ -1,492 +0,0 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2022 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include "main.h"
#include "can.h"
#include "iwdg.h"
#include "tim.h"
#include "gpio.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include "package.h"
#include "message.h"
#include "lampa.h"
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
/* USER CODE BEGIN PTD */
/* USER CODE END PTD */
/* Private define ------------------------------------------------------------*/
/* USER CODE BEGIN PD */
/* USER CODE END PD */
/* Private macro -------------------------------------------------------------*/
/* USER CODE BEGIN PM */
/* USER CODE END PM */
/* Private variables ---------------------------------------------------------*/
/* USER CODE BEGIN PV */
static long Falling_asleep;
uint8_t CanGO=0, timGo=0;
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/
void SystemClock_Config(void);
/* USER CODE BEGIN PFP */
/* USER CODE END PFP */
/* Private user code ---------------------------------------------------------*/
/* USER CODE BEGIN 0 */
int Isit(int num, int i, int z)
{
int res, pls;
if((num<0)||(num>=0x80)) return 0;
res = Maska[i][num/0x10];
res &= (1<<(num&0x0F));
if(z)
{
pls = (espero[num]>CanRestart[i]/2);
pls = pls || county[num];
res = res && pls;
}
return res;
}
/* USER CODE END 0 */
/**
* @brief The application entry point.
* @retval int
*/
int main(void)
{
/* USER CODE BEGIN 1 */
static int i,j,n,z,mask,qua;
static int cancount[2]={1,2},cancell[2]={0,0},candid[2]={0,0};
static unsigned int masca[8];
static uint16_t precom=0;
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/* USER CODE BEGIN SysInit */
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_CAN_Init();
MX_TIM4_Init();
/* USER CODE BEGIN 2 */
LED_0_OFF;
LED_1_OFF;
LED_2_OFF;
LED_3_OFF;
for(i=0;i<10;i++)
{
LED_0_TGL; HAL_Delay(15);
LED_1_TGL; HAL_Delay(15);
LED_2_TGL; HAL_Delay(15);
LED_3_TGL; HAL_Delay(15);
}
Mode = ReadJumpers()+1;
Setup_CAN_addr(Mode-1);
Load_params();
LastMode = Mode;
Protokol = PROTOKOL;
command=0;
for(i=0;i<0x80;i++)
county[i]=1;
for(i=0;i<8;i++)
masca[i]=0;
for(i=0;i<2;i++)
CanRound[i]=
CanCycle[i]=0;
timGo=1;
/* USER CODE END 2 */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
if( CanGO)
{ CanGO=0;
for(i=0;i<0x80;i++)
if(espero[i]<30000) espero[i]++;
for(i=0;i<2;i++)
if(cancount[i]) cancount[i]--;
else cancell[i] = 0;
}
for(i=0;i<2;i++)
if( Cancount[i])
if(!cancount[i])
{
while(1)
{
if( cancell[i]>= 0x80)
{ cancell[i]=0;
if( candid[i])
{ candid[i]=0;
CanCycle[i]++;
cancount[i] = CanWait[i];
goto Next;
} }
mask = Maska[i][cancell[i]/0x10] >> (cancell[i]&0x0F);
if(!mask) cancell[i] = (cancell[i] + 0x10) & 0xFFF0 ;
else
{
while(!(mask & 1))
{
cancell[i]++; mask >>= 1;
}
break;
} }
z=1;
if(espero[cancell[i]]>CanRestart[i])
{
county[cancell[i]]=1;
z=0;
}
if(modbus[cancell[i]] != archiv[cancell[i]])
{
if(cancell[i]==keys)
for(j=0;j<CanRptLen;j++)
county[cancell[i]+j] = CanRptVez;
else
county[cancell[i]] = 1;
}
if (county[cancell[i]])
{
for(j= 3; j>0 && !Isit(cancell[i]+j,i,z); j--);
for(n=j-3; n<0 && !Isit(cancell[i]+n,i,1); n++);
qua = 1 + j - n;
cancell[i]+= n;
for(j=0;j<qua;j++)
{
n=cancell[i]+j;
archiv[n]= modbus[n];
espero[n]= 0;
if( county[n])
{ county[n]--;
if(!county[n] && n != cancyclo+i) candid[i]=1;
}
if(!county[n]) masca[n/0x10] |= (1<<(n&0x0F));
}
CAN_send(archiv,cancell[i],qua);
cancount[i] = Cancount[i];
cancell[i]+=qua;
for(j=0;j<8;j++)
if((masca[j] & Maska[i][j]) != Maska[i][j]) break;
if(j==8)
{
for(j=0;j<8;j++) masca[j]&=~Maska[i][j];
CanRound[i]++;
}
if( Cancount[i]>1)
if(!cancount[!i])
cancount[!i]=1;
}
else
cancell[i]++;
}
Next:
ReadEnteres();
if(Errors.all|Alarms.all)
Pvt4_OFF;
else Pvt4_ON; // ñèãíàë "Ñèñòåìà ÂÝÏ â íîðìå"
if(Errors.all) Pvt3_ON; // ñèãíàë "Àâàðèÿ ñèñòåìû ÂÝÏ"
else Pvt3_OFF;
if(Falling_asleep) Pvt2_ON; // Ïîêà íå ñïèì, ýòî çàìêíóòî
else Pvt2_OFF; // ñèãíàë "Óïðàâëåíèå ñåòüþ 24Â"
if(Commands!=precom)
{
command= (~precom|command) & Commands;
modbus[23]=command;
}
precom = Commands;
if(cDefParam)
{
cDefParam=0;
Default_params();
}
if(cSaveParam)
{
cSaveParam=0;
Save_params();
}
if(cLoadParam)
{
cLoadParam=0;
Load_params();
}
if(cCanReset)
{
cCanReset=0;
for(i=0;i<0x80;i++)
county[i]=1;
for(i=0;i<2;i++)
CanCycle[i]=
CanRound[i]=
cancount[i]=
cancell[i]=0;
for(i=0;i<8;i++)
masca[i]=0;
} } }
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
void Millisecond()
{
static int CanPowse;
static unsigned int
count_blink=0, count_bright=0, count_mode,
blink_over, blink_alarm, power_lamp, work_diod, norm_diod;
static int preTest;
int TST;
#define CANPOWSE 10 // 10 msec
#define BLINK_TIME 250 // .25 sec
if(!cReset)
HAL_IWDG_Refresh(&hiwdg);
if(!timGo) return;
Jumpers.byt.byte_1 = ReadJumpers();
Jumpers.bit.bit0 =
Buttons.bit.bit0 = TestJumper();
if(++CanPowse >= CANPOWSE)
{
CanPowse = 0; CanGO = 1;
}
if(Alarms.bit.bit8) // Ðàçðÿä áàòàðåè
{
if (Falling_asleep) Falling_asleep--;
}
else Falling_asleep = 1000L * Sleep_time;
TST = TestJumper() | cTestLamp;
if(TST & !preTest)
{
count_blink = BLINK_TIME;
count_mode = 0;
}
preTest = TST;
if(++count_blink >= BLINK_TIME)
{
count_blink=0;
count_mode++;
blink_over = (count_mode & 1)?1:0;
blink_alarm = (count_mode & 7)?1:0;
}
power_lamp= 1;
norm_diod= 1;
work_diod = 1;
if(TST)
{
power_lamp = blink_over;
norm_diod = blink_over;
work_diod =!blink_over;
}
else
if(Lightness)
{
power_lamp = norm_diod = 0;
if(Lightness==2) power_lamp = norm_diod = 1;
if(Lightness==3) power_lamp = norm_diod = blink_over;
if(Lightness==4) power_lamp = norm_diod = blink_alarm;
if(Lightness==5) power_lamp = norm_diod = !blink_alarm;
}
else
if(Errors.all)
{
power_lamp = blink_over;
norm_diod = blink_over;
}
else
if(Alarms.all)
{
power_lamp = blink_alarm;
norm_diod = blink_alarm;
}
if(++count_bright == 10) //maximum_bright
{ count_bright = 0 ;
if(power_lamp) Pvt1_ON;
else Pvt1_OFF;
}
if(count_bright == Brightness)
if(!TST) Pvt1_OFF; //îòêëþ÷åíèå ëàìïî÷êè
if(work_diod) LED_2_ON;
else LED_2_OFF;
if(norm_diod) LED_3_ON;
else LED_3_OFF;
/* USER CODE END 3 */
}
/**
* @brief System Clock Configuration
* @retval None
*/
void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
/** Initializes the RCC Oscillators according to the specified parameters
* in the RCC_OscInitTypeDef structure.
*/
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI_DIV2;
RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL10;
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
{
Error_Handler();
}
/** Initializes the CPU, AHB and APB buses clocks
*/
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2;
RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV2;
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_1) != HAL_OK)
{
Error_Handler();
}
HAL_RCC_MCOConfig(RCC_MCO, RCC_MCO1SOURCE_SYSCLK, RCC_MCODIV_1);
}
/* USER CODE BEGIN 4 */
/* USER CODE END 4 */
/**
* @brief This function is executed in case of error occurrence.
* @retval None
*/
void Error_Handler(void)
{
/* USER CODE BEGIN Error_Handler_Debug */
/* User can add his own implementation to report the HAL error return state */
__disable_irq();
while (1)
{
}
/* USER CODE END Error_Handler_Debug */
}
#ifdef USE_FULL_ASSERT
/**
* @brief Reports the name of the source file and the source line number
* where the assert_param error has occurred.
* @param file: pointer to the source file name
* @param line: assert_param error line source number
* @retval None
*/
void assert_failed(uint8_t *file, uint32_t line)
{
/* USER CODE BEGIN 6 */
/* User can add his own implementation to report the file name and line number,
ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
/* USER CODE END 6 */
}
#endif /* USE_FULL_ASSERT */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@@ -8,13 +8,12 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2022 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2025 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/

View File

@@ -6,13 +6,12 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2022 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2025 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
@@ -58,6 +57,7 @@
/* External variables --------------------------------------------------------*/
extern CAN_HandleTypeDef hcan;
extern TIM_HandleTypeDef htim4;
extern UART_HandleTypeDef huart4;
extern TIM_HandleTypeDef htim8;
/* USER CODE BEGIN EV */
@@ -76,7 +76,7 @@ void NMI_Handler(void)
/* USER CODE END NonMaskableInt_IRQn 0 */
/* USER CODE BEGIN NonMaskableInt_IRQn 1 */
while (1)
while (1)
{
}
/* USER CODE END NonMaskableInt_IRQn 1 */
@@ -244,6 +244,20 @@ void TIM4_IRQHandler(void)
/* USER CODE END TIM4_IRQn 1 */
}
/**
* @brief This function handles EXTI line[15:10] interrupts.
*/
void EXTI15_10_IRQHandler(void)
{
/* USER CODE BEGIN EXTI15_10_IRQn 0 */
/* USER CODE END EXTI15_10_IRQn 0 */
HAL_GPIO_EXTI_IRQHandler(IN_07_Pin);
/* USER CODE BEGIN EXTI15_10_IRQn 1 */
/* USER CODE END EXTI15_10_IRQn 1 */
}
/**
* @brief This function handles TIM8 update interrupt.
*/
@@ -254,10 +268,24 @@ void TIM8_UP_IRQHandler(void)
/* USER CODE END TIM8_UP_IRQn 0 */
HAL_TIM_IRQHandler(&htim8);
/* USER CODE BEGIN TIM8_UP_IRQn 1 */
Millisecond();
/* USER CODE END TIM8_UP_IRQn 1 */
}
/**
* @brief This function handles UART4 global interrupt.
*/
void UART4_IRQHandler(void)
{
/* USER CODE BEGIN UART4_IRQn 0 */
/* USER CODE END UART4_IRQn 0 */
HAL_UART_IRQHandler(&huart4);
/* USER CODE BEGIN UART4_IRQn 1 */
/* USER CODE END UART4_IRQn 1 */
}
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */

View File

@@ -1,156 +0,0 @@
/**
******************************************************************************
* @file syscalls.c
* @author Auto-generated by STM32CubeIDE
* @brief STM32CubeIDE Minimal System calls file
*
* For more information about which c-functions
* need which of these lowlevel functions
* please consult the Newlib libc-manual
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Includes */
#include <sys/stat.h>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <signal.h>
#include <time.h>
#include <sys/time.h>
#include <sys/times.h>
/* Variables */
extern int __io_putchar(int ch) __attribute__((weak));
extern int __io_getchar(void) __attribute__((weak));
char *__env[1] = { 0 };
char **environ = __env;
/* Functions */
void initialise_monitor_handles()
{
}
int _getpid(void)
{
return 1;
}
int _kill(int pid, int sig)
{
errno = EINVAL;
return -1;
}
void _exit (int status)
{
_kill(status, -1);
while (1) {} /* Make sure we hang here */
}
__attribute__((weak)) int _read(int file, char *ptr, int len)
{
int DataIdx;
for (DataIdx = 0; DataIdx < len; DataIdx++)
{
*ptr++ = __io_getchar();
}
return len;
}
__attribute__((weak)) int _write(int file, char *ptr, int len)
{
int DataIdx;
for (DataIdx = 0; DataIdx < len; DataIdx++)
{
__io_putchar(*ptr++);
}
return len;
}
int _close(int file)
{
return -1;
}
int _fstat(int file, struct stat *st)
{
st->st_mode = S_IFCHR;
return 0;
}
int _isatty(int file)
{
return 1;
}
int _lseek(int file, int ptr, int dir)
{
return 0;
}
int _open(char *path, int flags, ...)
{
/* Pretend like we always fail */
return -1;
}
int _wait(int *status)
{
errno = ECHILD;
return -1;
}
int _unlink(char *name)
{
errno = ENOENT;
return -1;
}
int _times(struct tms *buf)
{
return -1;
}
int _stat(char *file, struct stat *st)
{
st->st_mode = S_IFCHR;
return 0;
}
int _link(char *old, char *new)
{
errno = EMLINK;
return -1;
}
int _fork(void)
{
errno = EAGAIN;
return -1;
}
int _execve(char *name, char **argv, char **env)
{
errno = ENOMEM;
return -1;
}

View File

@@ -1,80 +0,0 @@
/**
******************************************************************************
* @file sysmem.c
* @author Generated by STM32CubeIDE
* @brief STM32CubeIDE System Memory calls file
*
* For more information about which C functions
* need which of these lowlevel functions
* please consult the newlib libc manual
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Includes */
#include <errno.h>
#include <stdint.h>
/**
* Pointer to the current high watermark of the heap usage
*/
static uint8_t *__sbrk_heap_end = NULL;
/**
* @brief _sbrk() allocates memory to the newlib heap and is used by malloc
* and others from the C library
*
* @verbatim
* ############################################################################
* # .data # .bss # newlib heap # MSP stack #
* # # # # Reserved by _Min_Stack_Size #
* ############################################################################
* ^-- RAM start ^-- _end _estack, RAM end --^
* @endverbatim
*
* This implementation starts allocating at the '_end' linker symbol
* The '_Min_Stack_Size' linker symbol reserves a memory for the MSP stack
* The implementation considers '_estack' linker symbol to be RAM end
* NOTE: If the MSP stack, at any point during execution, grows larger than the
* reserved size, please increase the '_Min_Stack_Size'.
*
* @param incr Memory size
* @return Pointer to allocated memory
*/
void *_sbrk(ptrdiff_t incr)
{
extern uint8_t _end; /* Symbol defined in the linker script */
extern uint8_t _estack; /* Symbol defined in the linker script */
extern uint32_t _Min_Stack_Size; /* Symbol defined in the linker script */
const uint32_t stack_limit = (uint32_t)&_estack - (uint32_t)&_Min_Stack_Size;
const uint8_t *max_heap = (uint8_t *)stack_limit;
uint8_t *prev_heap_end;
/* Initialize heap end at first call */
if (NULL == __sbrk_heap_end)
{
__sbrk_heap_end = &_end;
}
/* Protect heap from growing into the reserved MSP stack */
if (__sbrk_heap_end + incr > max_heap)
{
errno = ENOMEM;
return (void *)-1;
}
prev_heap_end = __sbrk_heap_end;
__sbrk_heap_end += incr;
return (void *)prev_heap_end;
}

View File

@@ -33,17 +33,17 @@
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2017-2021 STMicroelectronics.
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
#ifndef SYSTEM_STM32F1XX_C
#define SYSTEM_STM32F1XX_C
/** @addtogroup CMSIS
* @{
*/
@@ -139,7 +139,7 @@
is no need to call the 2 first functions listed above, since SystemCoreClock
variable is updated automatically.
*/
uint32_t SystemCoreClock = 16000000;
uint32_t SystemCoreClock = 8000000;
const uint8_t AHBPrescTable[16U] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
const uint8_t APBPrescTable[8U] = {0, 0, 0, 0, 1, 2, 3, 4};
@@ -404,5 +404,6 @@ void SystemInit_ExtMemCtl(void)
/**
* @}
*/
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
*/
#endif /* SYSTEM_STM32F1XX_C */

View File

@@ -22,12 +22,51 @@
/* USER CODE BEGIN 0 */
#include "lampa.h"
/* USER CODE END 0 */
TIM_HandleTypeDef htim2;
TIM_HandleTypeDef htim4;
/* TIM2 init function */
void MX_TIM2_Init(void)
{
/* USER CODE BEGIN TIM2_Init 0 */
/* USER CODE END TIM2_Init 0 */
TIM_ClockConfigTypeDef sClockSourceConfig = {0};
TIM_MasterConfigTypeDef sMasterConfig = {0};
/* USER CODE BEGIN TIM2_Init 1 */
/* USER CODE END TIM2_Init 1 */
htim2.Instance = TIM2;
htim2.Init.Prescaler = 64-1;
htim2.Init.CounterMode = TIM_COUNTERMODE_UP;
htim2.Init.Period = 65535;
htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
if (HAL_TIM_Base_Init(&htim2) != HAL_OK)
{
Error_Handler();
}
sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
if (HAL_TIM_ConfigClockSource(&htim2, &sClockSourceConfig) != HAL_OK)
{
Error_Handler();
}
sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
if (HAL_TIMEx_MasterConfigSynchronization(&htim2, &sMasterConfig) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN TIM2_Init 2 */
/* USER CODE END TIM2_Init 2 */
}
/* TIM4 init function */
void MX_TIM4_Init(void)
{
@@ -64,11 +103,11 @@ void MX_TIM4_Init(void)
Error_Handler();
}
/* USER CODE BEGIN TIM4_Init 2 */
HAL_TIM_Base_MspInit(&htim4);
HAL_TIM_Base_Start_IT(&htim4);
/* USER CODE END TIM4_Init 2 */
}
@@ -76,7 +115,18 @@ void MX_TIM4_Init(void)
void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* tim_baseHandle)
{
if(tim_baseHandle->Instance==TIM4)
if(tim_baseHandle->Instance==TIM2)
{
/* USER CODE BEGIN TIM2_MspInit 0 */
/* USER CODE END TIM2_MspInit 0 */
/* TIM2 clock enable */
__HAL_RCC_TIM2_CLK_ENABLE();
/* USER CODE BEGIN TIM2_MspInit 1 */
/* USER CODE END TIM2_MspInit 1 */
}
else if(tim_baseHandle->Instance==TIM4)
{
/* USER CODE BEGIN TIM4_MspInit 0 */
@@ -96,7 +146,18 @@ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* tim_baseHandle)
void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* tim_baseHandle)
{
if(tim_baseHandle->Instance==TIM4)
if(tim_baseHandle->Instance==TIM2)
{
/* USER CODE BEGIN TIM2_MspDeInit 0 */
/* USER CODE END TIM2_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_TIM2_CLK_DISABLE();
/* USER CODE BEGIN TIM2_MspDeInit 1 */
/* USER CODE END TIM2_MspDeInit 1 */
}
else if(tim_baseHandle->Instance==TIM4)
{
/* USER CODE BEGIN TIM4_MspDeInit 0 */
@@ -114,14 +175,4 @@ void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* tim_baseHandle)
/* USER CODE BEGIN 1 */
//void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
//{
// if(htim->Instance == TIM4) //check if the interrupt comes from TIM1
// ReadSeanus();
//
//}
/* USER CODE END 1 */

121
Core/Src/usart.c Normal file
View File

@@ -0,0 +1,121 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file usart.c
* @brief This file provides code for the configuration
* of the USART instances.
******************************************************************************
* @attention
*
* Copyright (c) 2025 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include "usart.h"
/* USER CODE BEGIN 0 */
/* USER CODE END 0 */
UART_HandleTypeDef huart4;
/* UART4 init function */
void MX_UART4_Init(void)
{
/* USER CODE BEGIN UART4_Init 0 */
/* USER CODE END UART4_Init 0 */
/* USER CODE BEGIN UART4_Init 1 */
/* USER CODE END UART4_Init 1 */
huart4.Instance = UART4;
huart4.Init.BaudRate = 115200;
huart4.Init.WordLength = UART_WORDLENGTH_8B;
huart4.Init.StopBits = UART_STOPBITS_1;
huart4.Init.Parity = UART_PARITY_NONE;
huart4.Init.Mode = UART_MODE_TX_RX;
huart4.Init.HwFlowCtl = UART_HWCONTROL_NONE;
huart4.Init.OverSampling = UART_OVERSAMPLING_16;
if (HAL_UART_Init(&huart4) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN UART4_Init 2 */
/* USER CODE END UART4_Init 2 */
}
void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
if(uartHandle->Instance==UART4)
{
/* USER CODE BEGIN UART4_MspInit 0 */
/* USER CODE END UART4_MspInit 0 */
/* UART4 clock enable */
__HAL_RCC_UART4_CLK_ENABLE();
__HAL_RCC_GPIOC_CLK_ENABLE();
/**UART4 GPIO Configuration
PC10 ------> UART4_TX
PC11 ------> UART4_RX
*/
GPIO_InitStruct.Pin = GPIO_PIN_10;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
GPIO_InitStruct.Pin = GPIO_PIN_11;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
/* UART4 interrupt Init */
HAL_NVIC_SetPriority(UART4_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(UART4_IRQn);
/* USER CODE BEGIN UART4_MspInit 1 */
/* USER CODE END UART4_MspInit 1 */
}
}
void HAL_UART_MspDeInit(UART_HandleTypeDef* uartHandle)
{
if(uartHandle->Instance==UART4)
{
/* USER CODE BEGIN UART4_MspDeInit 0 */
/* USER CODE END UART4_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_UART4_CLK_DISABLE();
/**UART4 GPIO Configuration
PC10 ------> UART4_TX
PC11 ------> UART4_RX
*/
HAL_GPIO_DeInit(GPIOC, GPIO_PIN_10|GPIO_PIN_11);
/* UART4 interrupt Deinit */
HAL_NVIC_DisableIRQ(UART4_IRQn);
/* USER CODE BEGIN UART4_MspDeInit 1 */
/* USER CODE END UART4_MspDeInit 1 */
}
}
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */

View File

@@ -1,468 +0,0 @@
/**
*************** (C) COPYRIGHT 2017 STMicroelectronics ************************
* @file startup_stm32f103xe.s
* @author MCD Application Team
* @brief STM32F103xE Devices vector table for Atollic toolchain.
* This module performs:
* - Set the initial SP
* - Set the initial PC == Reset_Handler,
* - Set the vector table entries with the exceptions ISR address
* - Configure the clock system
* - Configure external SRAM mounted on STM3210E-EVAL board
* to be used as data memory (optional, to be enabled by user)
* - Branches to main in the C library (which eventually
* calls main()).
* After Reset the Cortex-M3 processor is in Thread mode,
* priority is Privileged, and the Stack is set to Main.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
.syntax unified
.cpu cortex-m3
.fpu softvfp
.thumb
.global g_pfnVectors
.global Default_Handler
/* start address for the initialization values of the .data section.
defined in linker script */
.word _sidata
/* start address for the .data section. defined in linker script */
.word _sdata
/* end address for the .data section. defined in linker script */
.word _edata
/* start address for the .bss section. defined in linker script */
.word _sbss
/* end address for the .bss section. defined in linker script */
.word _ebss
.equ BootRAM, 0xF1E0F85F
/**
* @brief This is the code that gets called when the processor first
* starts execution following a reset event. Only the absolutely
* necessary set is performed, after which the application
* supplied main() routine is called.
* @param None
* @retval : None
*/
.section .text.Reset_Handler
.weak Reset_Handler
.type Reset_Handler, %function
Reset_Handler:
/* Copy the data segment initializers from flash to SRAM */
movs r1, #0
b LoopCopyDataInit
CopyDataInit:
ldr r3, =_sidata
ldr r3, [r3, r1]
str r3, [r0, r1]
adds r1, r1, #4
LoopCopyDataInit:
ldr r0, =_sdata
ldr r3, =_edata
adds r2, r0, r1
cmp r2, r3
bcc CopyDataInit
ldr r2, =_sbss
b LoopFillZerobss
/* Zero fill the bss segment. */
FillZerobss:
movs r3, #0
str r3, [r2], #4
LoopFillZerobss:
ldr r3, = _ebss
cmp r2, r3
bcc FillZerobss
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* Call the application's entry point.*/
bl main
bx lr
.size Reset_Handler, .-Reset_Handler
/**
* @brief This is the code that gets called when the processor receives an
* unexpected interrupt. This simply enters an infinite loop, preserving
* the system state for examination by a debugger.
*
* @param None
* @retval : None
*/
.section .text.Default_Handler,"ax",%progbits
Default_Handler:
Infinite_Loop:
b Infinite_Loop
.size Default_Handler, .-Default_Handler
/******************************************************************************
*
* The minimal vector table for a Cortex M3. Note that the proper constructs
* must be placed on this to ensure that it ends up at physical address
* 0x0000.0000.
*
******************************************************************************/
.section .isr_vector,"a",%progbits
.type g_pfnVectors, %object
.size g_pfnVectors, .-g_pfnVectors
g_pfnVectors:
.word _estack
.word Reset_Handler
.word NMI_Handler
.word HardFault_Handler
.word MemManage_Handler
.word BusFault_Handler
.word UsageFault_Handler
.word 0
.word 0
.word 0
.word 0
.word SVC_Handler
.word DebugMon_Handler
.word 0
.word PendSV_Handler
.word SysTick_Handler
.word WWDG_IRQHandler
.word PVD_IRQHandler
.word TAMPER_IRQHandler
.word RTC_IRQHandler
.word FLASH_IRQHandler
.word RCC_IRQHandler
.word EXTI0_IRQHandler
.word EXTI1_IRQHandler
.word EXTI2_IRQHandler
.word EXTI3_IRQHandler
.word EXTI4_IRQHandler
.word DMA1_Channel1_IRQHandler
.word DMA1_Channel2_IRQHandler
.word DMA1_Channel3_IRQHandler
.word DMA1_Channel4_IRQHandler
.word DMA1_Channel5_IRQHandler
.word DMA1_Channel6_IRQHandler
.word DMA1_Channel7_IRQHandler
.word ADC1_2_IRQHandler
.word USB_HP_CAN1_TX_IRQHandler
.word USB_LP_CAN1_RX0_IRQHandler
.word CAN1_RX1_IRQHandler
.word CAN1_SCE_IRQHandler
.word EXTI9_5_IRQHandler
.word TIM1_BRK_IRQHandler
.word TIM1_UP_IRQHandler
.word TIM1_TRG_COM_IRQHandler
.word TIM1_CC_IRQHandler
.word TIM2_IRQHandler
.word TIM3_IRQHandler
.word TIM4_IRQHandler
.word I2C1_EV_IRQHandler
.word I2C1_ER_IRQHandler
.word I2C2_EV_IRQHandler
.word I2C2_ER_IRQHandler
.word SPI1_IRQHandler
.word SPI2_IRQHandler
.word USART1_IRQHandler
.word USART2_IRQHandler
.word USART3_IRQHandler
.word EXTI15_10_IRQHandler
.word RTC_Alarm_IRQHandler
.word USBWakeUp_IRQHandler
.word TIM8_BRK_IRQHandler
.word TIM8_UP_IRQHandler
.word TIM8_TRG_COM_IRQHandler
.word TIM8_CC_IRQHandler
.word ADC3_IRQHandler
.word FSMC_IRQHandler
.word SDIO_IRQHandler
.word TIM5_IRQHandler
.word SPI3_IRQHandler
.word UART4_IRQHandler
.word UART5_IRQHandler
.word TIM6_IRQHandler
.word TIM7_IRQHandler
.word DMA2_Channel1_IRQHandler
.word DMA2_Channel2_IRQHandler
.word DMA2_Channel3_IRQHandler
.word DMA2_Channel4_5_IRQHandler
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word BootRAM /* @0x1E0. This is for boot in RAM mode for
STM32F10x High Density devices. */
/*******************************************************************************
*
* Provide weak aliases for each Exception handler to the Default_Handler.
* As they are weak aliases, any function with the same name will override
* this definition.
*
*******************************************************************************/
.weak NMI_Handler
.thumb_set NMI_Handler,Default_Handler
.weak HardFault_Handler
.thumb_set HardFault_Handler,Default_Handler
.weak MemManage_Handler
.thumb_set MemManage_Handler,Default_Handler
.weak BusFault_Handler
.thumb_set BusFault_Handler,Default_Handler
.weak UsageFault_Handler
.thumb_set UsageFault_Handler,Default_Handler
.weak SVC_Handler
.thumb_set SVC_Handler,Default_Handler
.weak DebugMon_Handler
.thumb_set DebugMon_Handler,Default_Handler
.weak PendSV_Handler
.thumb_set PendSV_Handler,Default_Handler
.weak SysTick_Handler
.thumb_set SysTick_Handler,Default_Handler
.weak WWDG_IRQHandler
.thumb_set WWDG_IRQHandler,Default_Handler
.weak PVD_IRQHandler
.thumb_set PVD_IRQHandler,Default_Handler
.weak TAMPER_IRQHandler
.thumb_set TAMPER_IRQHandler,Default_Handler
.weak RTC_IRQHandler
.thumb_set RTC_IRQHandler,Default_Handler
.weak FLASH_IRQHandler
.thumb_set FLASH_IRQHandler,Default_Handler
.weak RCC_IRQHandler
.thumb_set RCC_IRQHandler,Default_Handler
.weak EXTI0_IRQHandler
.thumb_set EXTI0_IRQHandler,Default_Handler
.weak EXTI1_IRQHandler
.thumb_set EXTI1_IRQHandler,Default_Handler
.weak EXTI2_IRQHandler
.thumb_set EXTI2_IRQHandler,Default_Handler
.weak EXTI3_IRQHandler
.thumb_set EXTI3_IRQHandler,Default_Handler
.weak EXTI4_IRQHandler
.thumb_set EXTI4_IRQHandler,Default_Handler
.weak DMA1_Channel1_IRQHandler
.thumb_set DMA1_Channel1_IRQHandler,Default_Handler
.weak DMA1_Channel2_IRQHandler
.thumb_set DMA1_Channel2_IRQHandler,Default_Handler
.weak DMA1_Channel3_IRQHandler
.thumb_set DMA1_Channel3_IRQHandler,Default_Handler
.weak DMA1_Channel4_IRQHandler
.thumb_set DMA1_Channel4_IRQHandler,Default_Handler
.weak DMA1_Channel5_IRQHandler
.thumb_set DMA1_Channel5_IRQHandler,Default_Handler
.weak DMA1_Channel6_IRQHandler
.thumb_set DMA1_Channel6_IRQHandler,Default_Handler
.weak DMA1_Channel7_IRQHandler
.thumb_set DMA1_Channel7_IRQHandler,Default_Handler
.weak ADC1_2_IRQHandler
.thumb_set ADC1_2_IRQHandler,Default_Handler
.weak USB_HP_CAN1_TX_IRQHandler
.thumb_set USB_HP_CAN1_TX_IRQHandler,Default_Handler
.weak USB_LP_CAN1_RX0_IRQHandler
.thumb_set USB_LP_CAN1_RX0_IRQHandler,Default_Handler
.weak CAN1_RX1_IRQHandler
.thumb_set CAN1_RX1_IRQHandler,Default_Handler
.weak CAN1_SCE_IRQHandler
.thumb_set CAN1_SCE_IRQHandler,Default_Handler
.weak EXTI9_5_IRQHandler
.thumb_set EXTI9_5_IRQHandler,Default_Handler
.weak TIM1_BRK_IRQHandler
.thumb_set TIM1_BRK_IRQHandler,Default_Handler
.weak TIM1_UP_IRQHandler
.thumb_set TIM1_UP_IRQHandler,Default_Handler
.weak TIM1_TRG_COM_IRQHandler
.thumb_set TIM1_TRG_COM_IRQHandler,Default_Handler
.weak TIM1_CC_IRQHandler
.thumb_set TIM1_CC_IRQHandler,Default_Handler
.weak TIM2_IRQHandler
.thumb_set TIM2_IRQHandler,Default_Handler
.weak TIM3_IRQHandler
.thumb_set TIM3_IRQHandler,Default_Handler
.weak TIM4_IRQHandler
.thumb_set TIM4_IRQHandler,Default_Handler
.weak I2C1_EV_IRQHandler
.thumb_set I2C1_EV_IRQHandler,Default_Handler
.weak I2C1_ER_IRQHandler
.thumb_set I2C1_ER_IRQHandler,Default_Handler
.weak I2C2_EV_IRQHandler
.thumb_set I2C2_EV_IRQHandler,Default_Handler
.weak I2C2_ER_IRQHandler
.thumb_set I2C2_ER_IRQHandler,Default_Handler
.weak SPI1_IRQHandler
.thumb_set SPI1_IRQHandler,Default_Handler
.weak SPI2_IRQHandler
.thumb_set SPI2_IRQHandler,Default_Handler
.weak USART1_IRQHandler
.thumb_set USART1_IRQHandler,Default_Handler
.weak USART2_IRQHandler
.thumb_set USART2_IRQHandler,Default_Handler
.weak USART3_IRQHandler
.thumb_set USART3_IRQHandler,Default_Handler
.weak EXTI15_10_IRQHandler
.thumb_set EXTI15_10_IRQHandler,Default_Handler
.weak RTC_Alarm_IRQHandler
.thumb_set RTC_Alarm_IRQHandler,Default_Handler
.weak USBWakeUp_IRQHandler
.thumb_set USBWakeUp_IRQHandler,Default_Handler
.weak TIM8_BRK_IRQHandler
.thumb_set TIM8_BRK_IRQHandler,Default_Handler
.weak TIM8_UP_IRQHandler
.thumb_set TIM8_UP_IRQHandler,Default_Handler
.weak TIM8_TRG_COM_IRQHandler
.thumb_set TIM8_TRG_COM_IRQHandler,Default_Handler
.weak TIM8_CC_IRQHandler
.thumb_set TIM8_CC_IRQHandler,Default_Handler
.weak ADC3_IRQHandler
.thumb_set ADC3_IRQHandler,Default_Handler
.weak FSMC_IRQHandler
.thumb_set FSMC_IRQHandler,Default_Handler
.weak SDIO_IRQHandler
.thumb_set SDIO_IRQHandler,Default_Handler
.weak TIM5_IRQHandler
.thumb_set TIM5_IRQHandler,Default_Handler
.weak SPI3_IRQHandler
.thumb_set SPI3_IRQHandler,Default_Handler
.weak UART4_IRQHandler
.thumb_set UART4_IRQHandler,Default_Handler
.weak UART5_IRQHandler
.thumb_set UART5_IRQHandler,Default_Handler
.weak TIM6_IRQHandler
.thumb_set TIM6_IRQHandler,Default_Handler
.weak TIM7_IRQHandler
.thumb_set TIM7_IRQHandler,Default_Handler
.weak DMA2_Channel1_IRQHandler
.thumb_set DMA2_Channel1_IRQHandler,Default_Handler
.weak DMA2_Channel2_IRQHandler
.thumb_set DMA2_Channel2_IRQHandler,Default_Handler
.weak DMA2_Channel3_IRQHandler
.thumb_set DMA2_Channel3_IRQHandler,Default_Handler
.weak DMA2_Channel4_5_IRQHandler
.thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

File diff suppressed because one or more lines are too long

View File

@@ -1,232 +0,0 @@
/**
******************************************************************************
* @file stm32f1xx_hal_iwdg.h
* @author MCD Application Team
* @brief Header file of IWDG HAL module.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef STM32F1xx_HAL_IWDG_H
#define STM32F1xx_HAL_IWDG_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32f1xx_hal_def.h"
/** @addtogroup STM32F1xx_HAL_Driver
* @{
*/
/** @defgroup IWDG IWDG
* @{
*/
/* Exported types ------------------------------------------------------------*/
/** @defgroup IWDG_Exported_Types IWDG Exported Types
* @{
*/
/**
* @brief IWDG Init structure definition
*/
typedef struct
{
uint32_t Prescaler; /*!< Select the prescaler of the IWDG.
This parameter can be a value of @ref IWDG_Prescaler */
uint32_t Reload; /*!< Specifies the IWDG down-counter reload value.
This parameter must be a number between Min_Data = 0 and Max_Data = 0x0FFF */
} IWDG_InitTypeDef;
/**
* @brief IWDG Handle Structure definition
*/
typedef struct
{
IWDG_TypeDef *Instance; /*!< Register base address */
IWDG_InitTypeDef Init; /*!< IWDG required parameters */
} IWDG_HandleTypeDef;
/**
* @}
*/
/* Exported constants --------------------------------------------------------*/
/** @defgroup IWDG_Exported_Constants IWDG Exported Constants
* @{
*/
/** @defgroup IWDG_Prescaler IWDG Prescaler
* @{
*/
#define IWDG_PRESCALER_4 0x00000000U /*!< IWDG prescaler set to 4 */
#define IWDG_PRESCALER_8 IWDG_PR_PR_0 /*!< IWDG prescaler set to 8 */
#define IWDG_PRESCALER_16 IWDG_PR_PR_1 /*!< IWDG prescaler set to 16 */
#define IWDG_PRESCALER_32 (IWDG_PR_PR_1 | IWDG_PR_PR_0) /*!< IWDG prescaler set to 32 */
#define IWDG_PRESCALER_64 IWDG_PR_PR_2 /*!< IWDG prescaler set to 64 */
#define IWDG_PRESCALER_128 (IWDG_PR_PR_2 | IWDG_PR_PR_0) /*!< IWDG prescaler set to 128 */
#define IWDG_PRESCALER_256 (IWDG_PR_PR_2 | IWDG_PR_PR_1) /*!< IWDG prescaler set to 256 */
/**
* @}
*/
/**
* @}
*/
/* Exported macros -----------------------------------------------------------*/
/** @defgroup IWDG_Exported_Macros IWDG Exported Macros
* @{
*/
/**
* @brief Enable the IWDG peripheral.
* @param __HANDLE__ IWDG handle
* @retval None
*/
#define __HAL_IWDG_START(__HANDLE__) WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_ENABLE)
/**
* @brief Reload IWDG counter with value defined in the reload register
* (write access to IWDG_PR and IWDG_RLR registers disabled).
* @param __HANDLE__ IWDG handle
* @retval None
*/
#define __HAL_IWDG_RELOAD_COUNTER(__HANDLE__) WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_RELOAD)
/**
* @}
*/
/* Exported functions --------------------------------------------------------*/
/** @defgroup IWDG_Exported_Functions IWDG Exported Functions
* @{
*/
/** @defgroup IWDG_Exported_Functions_Group1 Initialization and Start functions
* @{
*/
/* Initialization/Start functions ********************************************/
HAL_StatusTypeDef HAL_IWDG_Init(IWDG_HandleTypeDef *hiwdg);
/**
* @}
*/
/** @defgroup IWDG_Exported_Functions_Group2 IO operation functions
* @{
*/
/* I/O operation functions ****************************************************/
HAL_StatusTypeDef HAL_IWDG_Refresh(IWDG_HandleTypeDef *hiwdg);
/**
* @}
*/
/**
* @}
*/
/* Private constants ---------------------------------------------------------*/
/** @defgroup IWDG_Private_Constants IWDG Private Constants
* @{
*/
/**
* @brief IWDG Key Register BitMask
*/
#define IWDG_KEY_RELOAD 0x000000AAU /*!< IWDG Reload Counter Enable */
#define IWDG_KEY_ENABLE 0x000000CCU /*!< IWDG Peripheral Enable */
#define IWDG_KEY_WRITE_ACCESS_ENABLE 0x00000055U /*!< IWDG KR Write Access Enable */
#define IWDG_KEY_WRITE_ACCESS_DISABLE 0x00000000U /*!< IWDG KR Write Access Disable */
//#define IWDG_KEY_RELOAD 0x0000AAAAU /*!< IWDG Reload Counter Enable */
//#define IWDG_KEY_ENABLE 0x0000CCCCU /*!< IWDG Peripheral Enable */
//#define IWDG_KEY_WRITE_ACCESS_ENABLE 0x00005555U /*!< IWDG KR Write Access Enable */
//#define IWDG_KEY_WRITE_ACCESS_DISABLE 0x00000000U /*!< IWDG KR Write Access Disable */
/**
* @}
*/
/* Private macros ------------------------------------------------------------*/
/** @defgroup IWDG_Private_Macros IWDG Private Macros
* @{
*/
/**
* @brief Enable write access to IWDG_PR and IWDG_RLR registers.
* @param __HANDLE__ IWDG handle
* @retval None
*/
#define IWDG_ENABLE_WRITE_ACCESS(__HANDLE__) WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_WRITE_ACCESS_ENABLE)
/**
* @brief Disable write access to IWDG_PR and IWDG_RLR registers.
* @param __HANDLE__ IWDG handle
* @retval None
*/
#define IWDG_DISABLE_WRITE_ACCESS(__HANDLE__) WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_WRITE_ACCESS_DISABLE)
/**
* @brief Check IWDG prescaler value.
* @param __PRESCALER__ IWDG prescaler value
* @retval None
*/
#define IS_IWDG_PRESCALER(__PRESCALER__) (((__PRESCALER__) == IWDG_PRESCALER_4) || \
((__PRESCALER__) == IWDG_PRESCALER_8) || \
((__PRESCALER__) == IWDG_PRESCALER_16) || \
((__PRESCALER__) == IWDG_PRESCALER_32) || \
((__PRESCALER__) == IWDG_PRESCALER_64) || \
((__PRESCALER__) == IWDG_PRESCALER_128)|| \
((__PRESCALER__) == IWDG_PRESCALER_256))
/**
* @brief Check IWDG reload value.
* @param __RELOAD__ IWDG reload value
* @retval None
*/
#define IS_IWDG_RELOAD(__RELOAD__) ((__RELOAD__) <= IWDG_RLR_RL)
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* STM32F1xx_HAL_IWDG_H */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@@ -1,3 +0,0 @@
# Copyright (c) 2016 STMicroelectronics
This software component is licensed by STMicroelectronics under the **BSD 3-Clause** license. You may not use this file except in compliance with this license. You may obtain a copy of the license [here](https://opensource.org/licenses/BSD-3-Clause).

View File

@@ -0,0 +1,36 @@
// File: STM32F101_102_103_105_107.dbgconf
// Version: 1.0.0
// Note: refer to STM32F101xx STM32F102xx STM32F103xx STM32F105xx STM32F107xx Reference manual (RM0008)
// STM32F101xx STM32F102xx STM32F103xx STM32F105xx STM32F107xx datasheets
// <<< Use Configuration Wizard in Context Menu >>>
// <h> Debug MCU configuration register (DBGMCU_CR)
// <i> Reserved bits must be kept at reset value
// <o.30> DBG_TIM11_STOP <i> TIM11 counter stopped when core is halted
// <o.29> DBG_TIM10_STOP <i> TIM10 counter stopped when core is halted
// <o.28> DBG_TIM9_STOP <i> TIM9 counter stopped when core is halted
// <o.27> DBG_TIM14_STOP <i> TIM14 counter stopped when core is halted
// <o.26> DBG_TIM13_STOP <i> TIM13 counter stopped when core is halted
// <o.25> DBG_TIM12_STOP <i> TIM12 counter stopped when core is halted
// <o.21> DBG_CAN2_STOP <i> Debug CAN2 stopped when core is halted
// <o.20> DBG_TIM7_STOP <i> TIM7 counter stopped when core is halted
// <o.19> DBG_TIM6_STOP <i> TIM6 counter stopped when core is halted
// <o.18> DBG_TIM5_STOP <i> TIM5 counter stopped when core is halted
// <o.17> DBG_TIM8_STOP <i> TIM8 counter stopped when core is halted
// <o.16> DBG_I2C2_SMBUS_TIMEOUT <i> SMBUS timeout mode stopped when core is halted
// <o.15> DBG_I2C1_SMBUS_TIMEOUT <i> SMBUS timeout mode stopped when core is halted
// <o.14> DBG_CAN1_STOP <i> Debug CAN1 stopped when Core is halted
// <o.13> DBG_TIM4_STOP <i> TIM4 counter stopped when core is halted
// <o.12> DBG_TIM3_STOP <i> TIM3 counter stopped when core is halted
// <o.11> DBG_TIM2_STOP <i> TIM2 counter stopped when core is halted
// <o.10> DBG_TIM1_STOP <i> TIM1 counter stopped when core is halted
// <o.9> DBG_WWDG_STOP <i> Debug window watchdog stopped when core is halted
// <o.8> DBG_IWDG_STOP <i> Debug independent watchdog stopped when core is halted
// <o.2> DBG_STANDBY <i> Debug standby mode
// <o.1> DBG_STOP <i> Debug stop mode
// <o.0> DBG_SLEEP <i> Debug sleep mode
// </h>
DbgMCU_CR = 0x00000007;
// <<< end of configuration section >>>

View File

@@ -1,4803 +0,0 @@
T27F0 000:006.362 SEGGER J-Link V8.10g Log File
T27F0 000:006.528 DLL Compiled: Nov 14 2024 08:38:33
T27F0 000:006.537 Logging started @ 2025-08-22 10:11
T27F0 000:006.544 Process: C:\Keil_v5\UV4\UV4.exe
T27F0 000:006.562 - 6.551ms
T27F0 000:006.575 JLINK_SetWarnOutHandler(...)
T27F0 000:006.583 - 0.009ms
T27F0 000:006.595 JLINK_OpenEx(...)
T27F0 000:010.513 Firmware: J-Link V9 compiled May 7 2021 16:26:12
T27F0 000:011.278 Firmware: J-Link V9 compiled May 7 2021 16:26:12
T27F0 000:011.476 Decompressing FW timestamp took 161 us
T27F0 000:017.331 Hardware: V9.10
T27F0 000:017.343 S/N: 60145543
T27F0 000:017.349 OEM: SEGGER
T27F0 000:017.355 Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
T27F0 000:018.046 Bootloader: (FW returned invalid version)
T27F0 000:018.780 TELNET listener socket opened on port 19021
T27F0 000:018.967 WEBSRV WEBSRV_Init(): Starting webserver thread(s)
T27F0 000:019.096 WEBSRV Webserver running on local port 19080
T27F0 000:019.182 Looking for J-Link GUI Server exe at: C:\Keil_v5\ARM\Segger\JLinkGUIServer.exe
T27F0 000:019.266 Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V810g\JLinkGUIServer.exe
T27F0 000:019.301 Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink_V810g\JLinkGUIServer.exe
T27F0 000:040.482 J-Link GUI Server info: "J-Link GUI server V8.10g "
T27F0 000:040.943 - 34.344ms returns "O.K."
T27F0 000:040.961 JLINK_GetEmuCaps()
T27F0 000:040.967 - 0.005ms returns 0xB9FF7BBF
T27F0 000:040.973 JLINK_TIF_GetAvailable(...)
T27F0 000:041.206 - 0.232ms
T27F0 000:041.215 JLINK_SetErrorOutHandler(...)
T27F0 000:041.220 - 0.004ms
T27F0 000:041.244 JLINK_ExecCommand("ProjectFile = "F:\set\from_Dima_Bog\UKSVEP_23550.2_WD\MDK-ARM\JLinkSettings.ini"", ...).
T27F0 000:052.757 Ref file found at: C:\Keil_v5\ARM\Segger\JLinkDevices.ref
T27F0 000:052.892 REF file references invalid XML file: C:\Program Files\SEGGER\JLink_V810g\JLinkDevices.xml
T27F0 000:053.767 - 12.525ms returns 0x00
T27F0 000:058.761 JLINK_ExecCommand("Device = STM32F103RC", ...).
T27F0 000:063.723 Device "STM32F103RC" selected.
T27F0 000:064.015 - 5.230ms returns 0x00
T27F0 000:064.029 JLINK_ExecCommand("DisableConnectionTimeout", ...).
T27F0 000:064.045 ERROR: Unknown command
T27F0 000:064.052 - 0.017ms returns 0x01
T27F0 000:064.058 JLINK_GetHardwareVersion()
T27F0 000:064.063 - 0.004ms returns 91000
T27F0 000:064.068 JLINK_GetDLLVersion()
T27F0 000:064.073 - 0.004ms returns 81007
T27F0 000:064.080 JLINK_GetOEMString(...)
T27F0 000:064.086 JLINK_GetFirmwareString(...)
T27F0 000:064.091 - 0.005ms
T27F0 000:076.331 JLINK_GetDLLVersion()
T27F0 000:076.353 - 0.021ms returns 81007
T27F0 000:076.360 JLINK_GetCompileDateTime()
T27F0 000:076.365 - 0.005ms
T27F0 000:080.379 JLINK_GetFirmwareString(...)
T27F0 000:080.400 - 0.021ms
T27F0 000:083.990 JLINK_GetHardwareVersion()
T27F0 000:084.010 - 0.020ms returns 91000
T27F0 000:088.850 JLINK_GetSN()
T27F0 000:088.868 - 0.017ms returns 60145543
T27F0 000:092.310 JLINK_GetOEMString(...)
T27F0 000:099.055 JLINK_TIF_Select(JLINKARM_TIF_JTAG)
T27F0 000:100.037 - 0.981ms returns 0x00
T27F0 000:100.049 JLINK_HasError()
T27F0 000:100.063 JLINK_SetSpeed(3000)
T27F0 000:100.174 - 0.111ms
T27F0 000:100.186 JLINK_GetIdData(pIdData)
T27F0 000:103.984 InitTarget() start
T27F0 000:104.005 J-Link Script File: Executing InitTarget()
T27F0 000:107.645 JTAG selected. Identifying JTAG Chain...
T27F0 000:112.262 TotalIRLen = 9, IRPrint = 0x0011
T27F0 000:116.312 JTAG chain detection found 2 devices:
T27F0 000:119.883 #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
T27F0 000:123.403 #1 Id: 0x06414041, IRLen: 05, STM32 Boundary Scan
T27F0 000:126.819 JTAG Chain Identified. Connecting to DAP TAP...
T27F0 000:130.223 Successfully connected to selected DAP TAP.
T27F0 000:135.600 DAP initialized successfully.
T27F0 000:142.936 InitTarget() end - Took 35.4ms
T27F0 000:147.257 TotalIRLen = 9, IRPrint = 0x0011
T27F0 000:151.208 JTAG chain detection found 2 devices:
T27F0 000:154.765 #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
T27F0 000:158.072 #1 Id: 0x06414041, IRLen: 05, STM32 Boundary Scan
T27F0 000:162.644 DPv0 detected
T27F0 000:165.931 Scanning AP map to find all available APs
T27F0 000:170.136 AP[1]: Stopped AP scan as end of AP map has been reached
T27F0 000:173.507 AP[0]: AHB-AP (IDR: 0x14770011, ADDR: 0x00000000)
T27F0 000:176.821 Iterating through AP map to find AHB-AP to use
T27F0 000:180.890 AP[0]: Core found
T27F0 000:184.560 AP[0]: AHB-AP ROM base: 0xE00FF000
T27F0 000:188.499 CPUID register: 0x411FC231. Implementer code: 0x41 (ARM)
T27F0 000:191.781 Found Cortex-M3 r1p1, Little endian.
T27F0 000:192.145 -- Max. mem block: 0x00010E60
T27F0 000:193.180 CPU_ReadMem(4 bytes @ 0xE000EDF0)
T27F0 000:193.552 CPU_ReadMem(4 bytes @ 0xE0002000)
T27F0 000:197.174 FPUnit: 6 code (BP) slots and 2 literal slots
T27F0 000:197.192 CPU_ReadMem(4 bytes @ 0xE000EDFC)
T27F0 000:197.566 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T27F0 000:197.872 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:198.227 CPU_WriteMem(4 bytes @ 0xE0001000)
T27F0 000:198.514 CPU_ReadMem(4 bytes @ 0xE000ED88)
T27F0 000:198.847 CPU_WriteMem(4 bytes @ 0xE000ED88)
T27F0 000:199.130 CPU_ReadMem(4 bytes @ 0xE000ED88)
T27F0 000:199.470 CPU_WriteMem(4 bytes @ 0xE000ED88)
T27F0 000:203.468 CoreSight components:
T27F0 000:206.773 ROMTbl[0] @ E00FF000
T27F0 000:206.793 CPU_ReadMem(64 bytes @ 0xE00FF000)
T27F0 000:207.575 CPU_ReadMem(32 bytes @ 0xE000EFE0)
T27F0 000:217.161 [0][0]: E000E000 CID B105E00D PID 001BB000 SCS
T27F0 000:217.206 CPU_ReadMem(32 bytes @ 0xE0001FE0)
T27F0 000:224.007 [0][1]: E0001000 CID B105E00D PID 001BB002 DWT
T27F0 000:224.043 CPU_ReadMem(32 bytes @ 0xE0002FE0)
T27F0 000:229.505 [0][2]: E0002000 CID B105E00D PID 000BB003 FPB
T27F0 000:229.529 CPU_ReadMem(32 bytes @ 0xE0000FE0)
T27F0 000:234.565 [0][3]: E0000000 CID B105E00D PID 001BB001 ITM
T27F0 000:234.595 CPU_ReadMem(32 bytes @ 0xE0040FE0)
T27F0 000:239.126 [0][4]: E0040000 CID B105900D PID 001BB923 TPIU-Lite
T27F0 000:239.147 CPU_ReadMem(32 bytes @ 0xE0041FE0)
T27F0 000:243.263 [0][5]: E0041000 CID B105900D PID 101BB924 ETM-M3
T27F0 000:243.310 pIdData->ScanLen=9
T27F0 000:243.318 pIdData->NumDevices=2
T27F0 000:243.324 pIdData->aId[0]=0x3BA00477
T27F0 000:243.330 pIdData->aIrRead[0]=0
T27F0 000:243.336 pIdData->aScanLen[0]=0
T27F0 000:243.343 pIdData->aScanRead[0]=0
T27F0 000:243.349 - 143.162ms
T27F0 000:243.361 JLINK_JTAG_GetDeviceID(DeviceIndex = 0)
T27F0 000:243.366 - 0.006ms returns 1000342647
T27F0 000:243.372 JLINK_JTAG_GetDeviceInfo(DeviceIndex = 0)
T27F0 000:243.376 - 0.004ms returns 0
T27F0 000:243.381 JLINK_JTAG_GetDeviceID(DeviceIndex = 1)
T27F0 000:243.386 - 0.004ms returns 104939585
T27F0 000:243.391 JLINK_JTAG_GetDeviceInfo(DeviceIndex = 1)
T27F0 000:243.396 - 0.004ms returns 0
T27F0 000:243.403 JLINK_GetDLLVersion()
T27F0 000:243.407 - 0.004ms returns 81007
T27F0 000:243.413 JLINK_CORE_GetFound()
T27F0 000:243.418 - 0.004ms returns 0x30000FF
T27F0 000:243.424 JLINK_GetDebugInfo(0x100 = JLINKARM_ROM_TABLE_ADDR_INDEX)
T27F0 000:243.429 Value=0xE00FF000
T27F0 000:243.436 - 0.011ms returns 0
T27F0 000:246.718 JLINK_GetDebugInfo(0x100 = JLINKARM_ROM_TABLE_ADDR_INDEX)
T27F0 000:246.731 Value=0xE00FF000
T27F0 000:246.738 - 0.020ms returns 0
T27F0 000:246.743 JLINK_GetDebugInfo(0x101 = JLINKARM_DEBUG_INFO_ETM_ADDR_INDEX)
T27F0 000:246.748 Value=0xE0041000
T27F0 000:246.754 - 0.011ms returns 0
T27F0 000:246.760 JLINK_ReadMemEx(0xE0041FD0, 0x20 Bytes, Flags = 0x02000004)
T27F0 000:246.790 CPU_ReadMem(32 bytes @ 0xE0041FD0)
T27F0 000:247.316 Data: 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
T27F0 000:247.327 - 0.566ms returns 32 (0x20)
T27F0 000:247.334 JLINK_GetDebugInfo(0x102 = JLINKARM_DEBUG_INFO_MTB_ADDR_INDEX)
T27F0 000:247.339 Value=0x00000000
T27F0 000:247.345 - 0.011ms returns 0
T27F0 000:247.351 JLINK_GetDebugInfo(0x103 = JLINKARM_DEBUG_INFO_TPIU_ADDR_INDEX)
T27F0 000:247.359 Value=0xE0040000
T27F0 000:247.367 - 0.016ms returns 0
T27F0 000:247.372 JLINK_GetDebugInfo(0x104 = JLINKARM_DEBUG_INFO_ITM_ADDR_INDEX)
T27F0 000:247.377 Value=0xE0000000
T27F0 000:247.383 - 0.010ms returns 0
T27F0 000:247.388 JLINK_GetDebugInfo(0x105 = JLINKARM_DEBUG_INFO_DWT_ADDR_INDEX)
T27F0 000:247.393 Value=0xE0001000
T27F0 000:247.399 - 0.010ms returns 0
T27F0 000:247.404 JLINK_GetDebugInfo(0x106 = JLINKARM_DEBUG_INFO_FPB_ADDR_INDEX)
T27F0 000:247.408 Value=0xE0002000
T27F0 000:247.415 - 0.010ms returns 0
T27F0 000:247.420 JLINK_GetDebugInfo(0x107 = JLINKARM_DEBUG_INFO_NVIC_ADDR_INDEX)
T27F0 000:247.424 Value=0xE000E000
T27F0 000:247.430 - 0.010ms returns 0
T27F0 000:247.436 JLINK_GetDebugInfo(0x10C = JLINKARM_DEBUG_INFO_DBG_ADDR_INDEX)
T27F0 000:247.440 Value=0xE000EDF0
T27F0 000:247.446 - 0.010ms returns 0
T27F0 000:247.451 JLINK_GetDebugInfo(0x01 = Unknown)
T27F0 000:247.456 Value=0x00000000
T27F0 000:247.462 - 0.010ms returns 0
T27F0 000:247.467 JLINK_ReadMemU32(0xE000ED00, 0x1 Items)
T27F0 000:247.478 CPU_ReadMem(4 bytes @ 0xE000ED00)
T27F0 000:247.849 Data: 31 C2 1F 41
T27F0 000:247.857 Debug reg: CPUID
T27F0 000:247.863 - 0.396ms returns 1 (0x1)
T27F0 000:247.870 JLINK_GetDebugInfo(0x10F = JLINKARM_DEBUG_INFO_HAS_CORTEX_M_SECURITY_EXT_INDEX)
T27F0 000:247.875 Value=0x00000000
T27F0 000:247.881 - 0.011ms returns 0
T27F0 000:247.886 JLINK_HasError()
T27F0 000:247.892 JLINK_SetResetType(JLINKARM_CM3_RESET_TYPE_NORMAL)
T27F0 000:247.897 - 0.004ms returns JLINKARM_CM3_RESET_TYPE_NORMAL
T27F0 000:247.902 JLINK_Reset()
T27F0 000:247.910 JLINK_GetResetTypeDesc
T27F0 000:247.915 - 0.004ms
T27F0 000:251.476 Reset type: NORMAL (https://wiki.segger.com/J-Link_Reset_Strategies)
T27F0 000:251.510 CPU is running
T27F0 000:251.522 CPU_WriteMem(4 bytes @ 0xE000EDF0)
T27F0 000:251.851 CPU is running
T27F0 000:251.865 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T27F0 000:255.524 Reset: Halt core after reset via DEMCR.VC_CORERESET.
T27F0 000:258.766 Reset: Reset device via AIRCR.SYSRESETREQ.
T27F0 000:258.783 CPU is running
T27F0 000:258.793 CPU_WriteMem(4 bytes @ 0xE000ED0C)
T27F0 000:311.958 CPU_ReadMem(4 bytes @ 0xE000EDF0)
T27F0 000:312.582 CPU_ReadMem(4 bytes @ 0xE000EDF0)
T27F0 000:316.070 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T27F0 000:321.783 CPU_ReadMem(4 bytes @ 0xE000EDF0)
T27F0 000:324.757 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T27F0 000:325.154 CPU_WriteMem(4 bytes @ 0xE0001028)
T27F0 000:325.547 CPU_WriteMem(4 bytes @ 0xE0001038)
T27F0 000:325.853 CPU_WriteMem(4 bytes @ 0xE0001048)
T27F0 000:326.287 CPU_WriteMem(4 bytes @ 0xE0001058)
T27F0 000:326.690 CPU_WriteMem(4 bytes @ 0xE0002000)
T27F0 000:327.112 CPU_ReadMem(4 bytes @ 0xE000EDFC)
T27F0 000:327.548 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:328.003 - 80.100ms
T27F0 000:328.019 JLINK_Halt()
T27F0 000:328.025 - 0.005ms returns 0x00
T27F0 000:328.031 JLINK_ReadMemU32(0xE000EDF0, 0x1 Items)
T27F0 000:328.043 CPU_ReadMem(4 bytes @ 0xE000EDF0)
T27F0 000:328.467 Data: 03 00 03 00
T27F0 000:328.480 Debug reg: DHCSR
T27F0 000:328.488 - 0.456ms returns 1 (0x1)
T27F0 000:328.497 JLINK_WriteU32(0xE000EDF0, 0xA05F0003)
T27F0 000:328.502 Debug reg: DHCSR
T27F0 000:328.710 CPU_WriteMem(4 bytes @ 0xE000EDF0)
T27F0 000:329.092 - 0.594ms returns 0 (0x00000000)
T27F0 000:329.106 JLINK_WriteU32(0xE000EDFC, 0x01000000)
T27F0 000:329.111 Debug reg: DEMCR
T27F0 000:329.123 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T27F0 000:329.490 - 0.383ms returns 0 (0x00000000)
T27F0 000:344.622 JLINK_GetHWStatus(...)
T27F0 000:344.860 - 0.237ms returns 0
T27F0 000:355.461 JLINK_GetNumBPUnits(Type = 0xFFFFFF00)
T27F0 000:355.482 - 0.021ms returns 0x06
T27F0 000:355.488 JLINK_GetNumBPUnits(Type = 0xF0)
T27F0 000:355.493 - 0.005ms returns 0x2000
T27F0 000:355.498 JLINK_GetNumWPUnits()
T27F0 000:355.503 - 0.004ms returns 4
T27F0 000:366.839 JLINK_GetSpeed()
T27F0 000:366.859 - 0.019ms returns 3000
T27F0 000:380.941 JLINK_ReadMemU32(0xE000E004, 0x1 Items)
T27F0 000:380.977 CPU_ReadMem(4 bytes @ 0xE000E004)
T27F0 000:381.428 Data: 01 00 00 00
T27F0 000:381.440 - 0.499ms returns 1 (0x1)
T27F0 000:381.447 JLINK_ReadMemU32(0xE000E004, 0x1 Items)
T27F0 000:381.455 CPU_ReadMem(4 bytes @ 0xE000E004)
T27F0 000:381.915 Data: 01 00 00 00
T27F0 000:381.927 - 0.479ms returns 1 (0x1)
T27F0 000:381.934 JLINK_WriteMemEx(0xE0001000, 0x0000001C Bytes, Flags = 0x02000004)
T27F0 000:381.940 Data: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
T27F0 000:381.953 CPU_WriteMem(28 bytes @ 0xE0001000)
T27F0 000:382.457 - 0.522ms returns 0x1C
T27F0 000:382.472 JLINK_Halt()
T27F0 000:382.477 - 0.004ms returns 0x00
T27F0 000:382.482 JLINK_IsHalted()
T27F0 000:382.487 - 0.005ms returns TRUE
T27F0 000:384.723 JLINK_WriteMem(0x20000000, 0x164 Bytes, ...)
T27F0 000:384.734 Data: 00 BE 0A E0 0D 78 2D 06 68 40 08 24 40 00 00 D3 ...
T27F0 000:384.951 CPU_WriteMem(356 bytes @ 0x20000000)
T27F0 000:388.433 - 3.709ms returns 0x164
T27F0 000:388.466 JLINK_HasError()
T27F0 000:388.474 JLINK_WriteReg(R0, 0x08000000)
T27F0 000:388.481 - 0.006ms returns 0
T27F0 000:388.486 JLINK_WriteReg(R1, 0x007A1200)
T27F0 000:388.491 - 0.005ms returns 0
T27F0 000:388.497 JLINK_WriteReg(R2, 0x00000001)
T27F0 000:388.501 - 0.004ms returns 0
T27F0 000:388.507 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:388.511 - 0.004ms returns 0
T27F0 000:388.517 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:388.521 - 0.004ms returns 0
T27F0 000:388.526 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:388.531 - 0.004ms returns 0
T27F0 000:388.539 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:388.544 - 0.005ms returns 0
T27F0 000:388.550 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:388.554 - 0.004ms returns 0
T27F0 000:388.571 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:388.577 - 0.017ms returns 0
T27F0 000:388.583 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:388.587 - 0.004ms returns 0
T27F0 000:388.592 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:388.597 - 0.004ms returns 0
T27F0 000:388.603 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:388.607 - 0.004ms returns 0
T27F0 000:388.612 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:388.617 - 0.004ms returns 0
T27F0 000:388.622 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:388.628 - 0.005ms returns 0
T27F0 000:388.633 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:388.638 - 0.004ms returns 0
T27F0 000:388.647 JLINK_WriteReg(R15 (PC), 0x20000038)
T27F0 000:388.652 - 0.009ms returns 0
T27F0 000:388.658 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:388.663 - 0.004ms returns 0
T27F0 000:388.668 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:388.673 - 0.004ms returns 0
T27F0 000:388.678 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:388.683 - 0.004ms returns 0
T27F0 000:388.688 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:388.692 - 0.004ms returns 0
T27F0 000:388.698 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:388.707 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:389.126 - 0.427ms returns 0x00000001
T27F0 000:389.134 JLINK_Go()
T27F0 000:389.140 CPU_WriteMem(2 bytes @ 0x20000000)
T27F0 000:389.462 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:389.830 CPU_WriteMem(4 bytes @ 0xE0002008)
T27F0 000:389.841 CPU_WriteMem(4 bytes @ 0xE000200C)
T27F0 000:389.848 CPU_WriteMem(4 bytes @ 0xE0002010)
T27F0 000:389.855 CPU_WriteMem(4 bytes @ 0xE0002014)
T27F0 000:389.861 CPU_WriteMem(4 bytes @ 0xE0002018)
T27F0 000:389.868 CPU_WriteMem(4 bytes @ 0xE000201C)
T27F0 000:391.120 CPU_WriteMem(4 bytes @ 0xE0001004)
T27F0 000:402.555 Memory map 'after startup completion point' is active
T27F0 000:402.579 - 13.444ms
T27F0 000:402.588 JLINK_IsHalted()
T27F0 000:405.036 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:405.504 - 2.915ms returns TRUE
T27F0 000:405.518 JLINK_ReadReg(R15 (PC))
T27F0 000:405.526 - 0.007ms returns 0x20000000
T27F0 000:405.531 JLINK_ClrBPEx(BPHandle = 0x00000001)
T27F0 000:405.537 - 0.005ms returns 0x00
T27F0 000:405.542 JLINK_ReadReg(R0)
T27F0 000:405.547 - 0.004ms returns 0x00000000
T27F0 000:405.849 JLINK_HasError()
T27F0 000:405.862 JLINK_WriteReg(R0, 0x08000000)
T27F0 000:405.869 - 0.006ms returns 0
T27F0 000:405.874 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:405.879 - 0.004ms returns 0
T27F0 000:405.884 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:405.889 - 0.004ms returns 0
T27F0 000:405.894 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:405.899 - 0.004ms returns 0
T27F0 000:405.904 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:405.908 - 0.004ms returns 0
T27F0 000:405.914 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:405.918 - 0.004ms returns 0
T27F0 000:405.923 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:405.928 - 0.004ms returns 0
T27F0 000:405.933 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:405.938 - 0.004ms returns 0
T27F0 000:405.943 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:405.948 - 0.004ms returns 0
T27F0 000:405.953 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:405.957 - 0.004ms returns 0
T27F0 000:405.963 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:405.967 - 0.004ms returns 0
T27F0 000:405.973 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:405.977 - 0.004ms returns 0
T27F0 000:405.982 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:405.987 - 0.004ms returns 0
T27F0 000:405.992 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:405.997 - 0.005ms returns 0
T27F0 000:406.002 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:406.007 - 0.004ms returns 0
T27F0 000:406.012 JLINK_WriteReg(R15 (PC), 0x20000020)
T27F0 000:406.017 - 0.004ms returns 0
T27F0 000:406.023 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:406.027 - 0.005ms returns 0
T27F0 000:406.032 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:406.037 - 0.004ms returns 0
T27F0 000:406.042 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:406.047 - 0.004ms returns 0
T27F0 000:406.052 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:406.057 - 0.004ms returns 0
T27F0 000:406.062 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:406.068 - 0.005ms returns 0x00000002
T27F0 000:406.073 JLINK_Go()
T27F0 000:406.084 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:409.023 - 2.949ms
T27F0 000:409.034 JLINK_IsHalted()
T27F0 000:411.635 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:412.039 - 3.004ms returns TRUE
T27F0 000:412.051 JLINK_ReadReg(R15 (PC))
T27F0 000:412.058 - 0.006ms returns 0x20000000
T27F0 000:412.063 JLINK_ClrBPEx(BPHandle = 0x00000002)
T27F0 000:412.068 - 0.005ms returns 0x00
T27F0 000:412.074 JLINK_ReadReg(R0)
T27F0 000:412.079 - 0.004ms returns 0x00000001
T27F0 000:412.084 JLINK_HasError()
T27F0 000:412.090 JLINK_WriteReg(R0, 0x08000000)
T27F0 000:412.095 - 0.005ms returns 0
T27F0 000:412.100 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:412.105 - 0.005ms returns 0
T27F0 000:412.110 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:412.115 - 0.004ms returns 0
T27F0 000:412.120 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:412.125 - 0.004ms returns 0
T27F0 000:412.131 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:412.135 - 0.004ms returns 0
T27F0 000:412.140 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:412.145 - 0.004ms returns 0
T27F0 000:412.151 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:412.155 - 0.004ms returns 0
T27F0 000:412.161 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:412.165 - 0.004ms returns 0
T27F0 000:412.171 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:412.175 - 0.004ms returns 0
T27F0 000:412.181 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:412.185 - 0.004ms returns 0
T27F0 000:412.191 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:412.196 - 0.004ms returns 0
T27F0 000:412.201 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:412.206 - 0.004ms returns 0
T27F0 000:412.211 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:412.216 - 0.004ms returns 0
T27F0 000:412.221 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:412.226 - 0.005ms returns 0
T27F0 000:412.231 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:412.236 - 0.004ms returns 0
T27F0 000:412.241 JLINK_WriteReg(R15 (PC), 0x200000B6)
T27F0 000:412.246 - 0.004ms returns 0
T27F0 000:412.251 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:412.256 - 0.005ms returns 0
T27F0 000:412.261 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:412.268 - 0.007ms returns 0
T27F0 000:412.276 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:412.280 - 0.004ms returns 0
T27F0 000:412.286 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:412.290 - 0.004ms returns 0
T27F0 000:412.296 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:412.301 - 0.005ms returns 0x00000003
T27F0 000:412.306 JLINK_Go()
T27F0 000:412.316 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:415.285 - 2.978ms
T27F0 000:415.296 JLINK_IsHalted()
T27F0 000:415.706 - 0.409ms returns FALSE
T27F0 000:415.717 JLINK_HasError()
T27F0 000:429.451 JLINK_IsHalted()
T27F0 000:429.909 - 0.458ms returns FALSE
T27F0 000:429.922 JLINK_HasError()
T27F0 000:431.448 JLINK_IsHalted()
T27F0 000:431.908 - 0.459ms returns FALSE
T27F0 000:431.921 JLINK_HasError()
T27F0 000:432.987 JLINK_IsHalted()
T27F0 000:433.395 - 0.407ms returns FALSE
T27F0 000:433.407 JLINK_HasError()
T27F0 000:435.015 JLINK_IsHalted()
T27F0 000:435.442 - 0.426ms returns FALSE
T27F0 000:435.453 JLINK_HasError()
T27F0 000:436.550 JLINK_IsHalted()
T27F0 000:436.983 - 0.432ms returns FALSE
T27F0 000:436.994 JLINK_HasError()
T27F0 000:438.093 JLINK_IsHalted()
T27F0 000:440.713 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:441.165 - 3.072ms returns TRUE
T27F0 000:441.177 JLINK_ReadReg(R15 (PC))
T27F0 000:441.185 - 0.007ms returns 0x20000000
T27F0 000:441.190 JLINK_ClrBPEx(BPHandle = 0x00000003)
T27F0 000:441.196 - 0.005ms returns 0x00
T27F0 000:441.201 JLINK_ReadReg(R0)
T27F0 000:441.206 - 0.005ms returns 0x00000000
T27F0 000:441.604 JLINK_HasError()
T27F0 000:441.615 JLINK_WriteReg(R0, 0x08000800)
T27F0 000:441.621 - 0.006ms returns 0
T27F0 000:441.626 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:441.631 - 0.004ms returns 0
T27F0 000:441.636 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:441.641 - 0.004ms returns 0
T27F0 000:441.646 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:441.651 - 0.004ms returns 0
T27F0 000:441.656 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:441.661 - 0.004ms returns 0
T27F0 000:441.666 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:441.671 - 0.004ms returns 0
T27F0 000:441.676 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:441.680 - 0.004ms returns 0
T27F0 000:441.686 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:441.690 - 0.004ms returns 0
T27F0 000:441.695 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:441.700 - 0.004ms returns 0
T27F0 000:441.705 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:441.711 - 0.006ms returns 0
T27F0 000:441.717 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:441.721 - 0.004ms returns 0
T27F0 000:441.726 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:441.731 - 0.004ms returns 0
T27F0 000:441.736 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:441.741 - 0.004ms returns 0
T27F0 000:441.746 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:441.751 - 0.005ms returns 0
T27F0 000:441.756 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:441.761 - 0.004ms returns 0
T27F0 000:441.766 JLINK_WriteReg(R15 (PC), 0x20000020)
T27F0 000:441.771 - 0.004ms returns 0
T27F0 000:441.776 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:441.781 - 0.004ms returns 0
T27F0 000:441.786 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:441.791 - 0.004ms returns 0
T27F0 000:441.796 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:441.801 - 0.004ms returns 0
T27F0 000:441.806 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:441.811 - 0.004ms returns 0
T27F0 000:441.816 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:441.822 - 0.005ms returns 0x00000004
T27F0 000:441.827 JLINK_Go()
T27F0 000:441.838 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:444.794 - 2.966ms
T27F0 000:444.805 JLINK_IsHalted()
T27F0 000:447.404 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:447.910 - 3.104ms returns TRUE
T27F0 000:447.922 JLINK_ReadReg(R15 (PC))
T27F0 000:447.928 - 0.006ms returns 0x20000000
T27F0 000:447.934 JLINK_ClrBPEx(BPHandle = 0x00000004)
T27F0 000:447.939 - 0.005ms returns 0x00
T27F0 000:447.944 JLINK_ReadReg(R0)
T27F0 000:447.949 - 0.004ms returns 0x00000001
T27F0 000:447.955 JLINK_HasError()
T27F0 000:447.960 JLINK_WriteReg(R0, 0x08000800)
T27F0 000:447.970 - 0.009ms returns 0
T27F0 000:447.977 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:447.982 - 0.004ms returns 0
T27F0 000:447.987 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:447.992 - 0.004ms returns 0
T27F0 000:447.997 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:448.002 - 0.004ms returns 0
T27F0 000:448.007 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:448.012 - 0.004ms returns 0
T27F0 000:448.017 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:448.021 - 0.004ms returns 0
T27F0 000:448.027 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:448.031 - 0.004ms returns 0
T27F0 000:448.036 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:448.041 - 0.004ms returns 0
T27F0 000:448.046 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:448.051 - 0.004ms returns 0
T27F0 000:448.056 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:448.061 - 0.004ms returns 0
T27F0 000:448.066 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:448.070 - 0.004ms returns 0
T27F0 000:448.076 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:448.080 - 0.004ms returns 0
T27F0 000:448.085 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:448.090 - 0.004ms returns 0
T27F0 000:448.095 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:448.100 - 0.004ms returns 0
T27F0 000:448.105 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:448.110 - 0.004ms returns 0
T27F0 000:448.115 JLINK_WriteReg(R15 (PC), 0x200000B6)
T27F0 000:448.120 - 0.004ms returns 0
T27F0 000:448.125 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:448.130 - 0.004ms returns 0
T27F0 000:448.135 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:448.140 - 0.004ms returns 0
T27F0 000:448.145 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:448.149 - 0.004ms returns 0
T27F0 000:448.155 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:448.159 - 0.004ms returns 0
T27F0 000:448.165 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:448.170 - 0.005ms returns 0x00000005
T27F0 000:448.175 JLINK_Go()
T27F0 000:448.185 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:450.977 - 2.801ms
T27F0 000:450.991 JLINK_IsHalted()
T27F0 000:451.401 - 0.410ms returns FALSE
T27F0 000:451.413 JLINK_HasError()
T27F0 000:452.566 JLINK_IsHalted()
T27F0 000:452.977 - 0.410ms returns FALSE
T27F0 000:452.988 JLINK_HasError()
T27F0 000:454.092 JLINK_IsHalted()
T27F0 000:454.500 - 0.407ms returns FALSE
T27F0 000:454.511 JLINK_HasError()
T27F0 000:455.616 JLINK_IsHalted()
T27F0 000:456.032 - 0.416ms returns FALSE
T27F0 000:456.044 JLINK_HasError()
T27F0 000:458.108 JLINK_IsHalted()
T27F0 000:458.519 - 0.411ms returns FALSE
T27F0 000:458.532 JLINK_HasError()
T27F0 000:460.108 JLINK_IsHalted()
T27F0 000:460.520 - 0.411ms returns FALSE
T27F0 000:460.532 JLINK_HasError()
T27F0 000:461.618 JLINK_IsHalted()
T27F0 000:462.026 - 0.407ms returns FALSE
T27F0 000:462.038 JLINK_HasError()
T27F0 000:463.611 JLINK_IsHalted()
T27F0 000:464.028 - 0.416ms returns FALSE
T27F0 000:464.041 JLINK_HasError()
T27F0 000:465.602 JLINK_IsHalted()
T27F0 000:466.025 - 0.422ms returns FALSE
T27F0 000:466.038 JLINK_HasError()
T27F0 000:468.115 JLINK_IsHalted()
T27F0 000:468.524 - 0.408ms returns FALSE
T27F0 000:468.539 JLINK_HasError()
T27F0 000:470.044 JLINK_IsHalted()
T27F0 000:470.484 - 0.439ms returns FALSE
T27F0 000:470.499 JLINK_HasError()
T27F0 000:472.096 JLINK_IsHalted()
T27F0 000:472.536 - 0.439ms returns FALSE
T27F0 000:472.552 JLINK_HasError()
T27F0 000:474.089 JLINK_IsHalted()
T27F0 000:476.756 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:477.233 - 3.143ms returns TRUE
T27F0 000:477.250 JLINK_ReadReg(R15 (PC))
T27F0 000:477.260 - 0.009ms returns 0x20000000
T27F0 000:477.268 JLINK_ClrBPEx(BPHandle = 0x00000005)
T27F0 000:477.276 - 0.007ms returns 0x00
T27F0 000:477.284 JLINK_ReadReg(R0)
T27F0 000:477.291 - 0.007ms returns 0x00000000
T27F0 000:477.903 JLINK_HasError()
T27F0 000:477.920 JLINK_WriteReg(R0, 0x08001000)
T27F0 000:477.930 - 0.009ms returns 0
T27F0 000:477.938 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:477.946 - 0.007ms returns 0
T27F0 000:477.954 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:477.962 - 0.007ms returns 0
T27F0 000:477.976 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:477.987 - 0.011ms returns 0
T27F0 000:477.996 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:478.004 - 0.007ms returns 0
T27F0 000:478.012 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:478.020 - 0.007ms returns 0
T27F0 000:478.028 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:478.035 - 0.007ms returns 0
T27F0 000:478.044 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:478.051 - 0.007ms returns 0
T27F0 000:478.060 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:478.067 - 0.007ms returns 0
T27F0 000:478.076 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:478.083 - 0.007ms returns 0
T27F0 000:478.092 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:478.099 - 0.007ms returns 0
T27F0 000:478.108 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:478.115 - 0.007ms returns 0
T27F0 000:478.124 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:478.131 - 0.007ms returns 0
T27F0 000:478.140 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:478.148 - 0.008ms returns 0
T27F0 000:478.156 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:478.164 - 0.007ms returns 0
T27F0 000:478.172 JLINK_WriteReg(R15 (PC), 0x20000020)
T27F0 000:478.180 - 0.007ms returns 0
T27F0 000:478.188 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:478.196 - 0.007ms returns 0
T27F0 000:478.204 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:478.212 - 0.007ms returns 0
T27F0 000:478.224 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:478.232 - 0.008ms returns 0
T27F0 000:478.240 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:478.247 - 0.007ms returns 0
T27F0 000:478.257 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:478.265 - 0.008ms returns 0x00000006
T27F0 000:478.274 JLINK_Go()
T27F0 000:478.291 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:481.266 - 2.992ms
T27F0 000:481.286 JLINK_IsHalted()
T27F0 000:483.962 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:484.385 - 3.098ms returns TRUE
T27F0 000:484.411 JLINK_ReadReg(R15 (PC))
T27F0 000:484.424 - 0.012ms returns 0x20000000
T27F0 000:484.434 JLINK_ClrBPEx(BPHandle = 0x00000006)
T27F0 000:484.444 - 0.009ms returns 0x00
T27F0 000:484.456 JLINK_ReadReg(R0)
T27F0 000:484.466 - 0.009ms returns 0x00000001
T27F0 000:484.477 JLINK_HasError()
T27F0 000:484.556 JLINK_WriteReg(R0, 0x08001000)
T27F0 000:484.569 - 0.013ms returns 0
T27F0 000:484.579 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:484.588 - 0.008ms returns 0
T27F0 000:484.598 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:484.606 - 0.008ms returns 0
T27F0 000:484.616 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:484.624 - 0.008ms returns 0
T27F0 000:484.634 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:484.643 - 0.008ms returns 0
T27F0 000:484.652 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:484.661 - 0.008ms returns 0
T27F0 000:484.670 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:484.678 - 0.008ms returns 0
T27F0 000:484.688 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:484.698 - 0.010ms returns 0
T27F0 000:484.708 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:484.717 - 0.008ms returns 0
T27F0 000:484.726 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:484.735 - 0.008ms returns 0
T27F0 000:484.745 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:484.753 - 0.008ms returns 0
T27F0 000:484.763 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:484.771 - 0.008ms returns 0
T27F0 000:484.781 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:484.790 - 0.008ms returns 0
T27F0 000:484.800 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:484.809 - 0.009ms returns 0
T27F0 000:484.818 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:484.827 - 0.008ms returns 0
T27F0 000:484.837 JLINK_WriteReg(R15 (PC), 0x200000B6)
T27F0 000:484.845 - 0.009ms returns 0
T27F0 000:484.855 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:484.864 - 0.008ms returns 0
T27F0 000:484.873 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:484.882 - 0.008ms returns 0
T27F0 000:484.892 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:484.900 - 0.008ms returns 0
T27F0 000:484.910 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:484.918 - 0.008ms returns 0
T27F0 000:484.929 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:484.939 - 0.010ms returns 0x00000007
T27F0 000:485.026 JLINK_Go()
T27F0 000:485.047 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:488.103 - 3.076ms
T27F0 000:488.128 JLINK_IsHalted()
T27F0 000:488.548 - 0.418ms returns FALSE
T27F0 000:488.573 JLINK_HasError()
T27F0 000:489.916 JLINK_IsHalted()
T27F0 000:490.355 - 0.439ms returns FALSE
T27F0 000:490.381 JLINK_HasError()
T27F0 000:492.395 JLINK_IsHalted()
T27F0 000:492.906 - 0.510ms returns FALSE
T27F0 000:492.936 JLINK_HasError()
T27F0 000:494.397 JLINK_IsHalted()
T27F0 000:494.908 - 0.509ms returns FALSE
T27F0 000:494.948 JLINK_HasError()
T27F0 000:504.376 JLINK_IsHalted()
T27F0 000:504.913 - 0.535ms returns FALSE
T27F0 000:504.944 JLINK_HasError()
T27F0 000:506.952 JLINK_IsHalted()
T27F0 000:507.424 - 0.470ms returns FALSE
T27F0 000:507.455 JLINK_HasError()
T27F0 000:509.470 JLINK_IsHalted()
T27F0 000:509.929 - 0.457ms returns FALSE
T27F0 000:509.963 JLINK_HasError()
T27F0 000:511.461 JLINK_IsHalted()
T27F0 000:514.177 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:514.688 - 3.226ms returns TRUE
T27F0 000:514.719 JLINK_ReadReg(R15 (PC))
T27F0 000:514.738 - 0.018ms returns 0x20000000
T27F0 000:514.753 JLINK_ClrBPEx(BPHandle = 0x00000007)
T27F0 000:514.767 - 0.013ms returns 0x00
T27F0 000:514.780 JLINK_ReadReg(R0)
T27F0 000:514.793 - 0.012ms returns 0x00000000
T27F0 000:515.739 JLINK_HasError()
T27F0 000:515.767 JLINK_WriteReg(R0, 0x08001800)
T27F0 000:515.783 - 0.015ms returns 0
T27F0 000:515.796 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:515.809 - 0.012ms returns 0
T27F0 000:515.823 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:515.835 - 0.012ms returns 0
T27F0 000:515.848 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:515.860 - 0.011ms returns 0
T27F0 000:515.874 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:515.886 - 0.012ms returns 0
T27F0 000:515.900 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:515.912 - 0.012ms returns 0
T27F0 000:515.925 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:515.937 - 0.012ms returns 0
T27F0 000:515.951 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:515.962 - 0.011ms returns 0
T27F0 000:515.976 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:515.988 - 0.012ms returns 0
T27F0 000:516.002 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:516.014 - 0.012ms returns 0
T27F0 000:516.028 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:516.040 - 0.012ms returns 0
T27F0 000:516.053 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:516.065 - 0.011ms returns 0
T27F0 000:516.078 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:516.091 - 0.012ms returns 0
T27F0 000:516.105 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:516.118 - 0.013ms returns 0
T27F0 000:516.131 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:516.143 - 0.012ms returns 0
T27F0 000:516.157 JLINK_WriteReg(R15 (PC), 0x20000020)
T27F0 000:516.169 - 0.012ms returns 0
T27F0 000:516.183 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:516.195 - 0.012ms returns 0
T27F0 000:516.208 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:516.221 - 0.012ms returns 0
T27F0 000:516.234 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:516.246 - 0.012ms returns 0
T27F0 000:516.260 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:516.271 - 0.011ms returns 0
T27F0 000:516.286 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:516.300 - 0.014ms returns 0x00000008
T27F0 000:516.314 JLINK_Go()
T27F0 000:516.341 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:519.498 - 3.183ms
T27F0 000:519.532 JLINK_IsHalted()
T27F0 000:522.224 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:522.727 - 3.194ms returns TRUE
T27F0 000:522.759 JLINK_ReadReg(R15 (PC))
T27F0 000:522.777 - 0.017ms returns 0x20000000
T27F0 000:522.792 JLINK_ClrBPEx(BPHandle = 0x00000008)
T27F0 000:522.806 - 0.013ms returns 0x00
T27F0 000:522.819 JLINK_ReadReg(R0)
T27F0 000:522.832 - 0.012ms returns 0x00000001
T27F0 000:522.847 JLINK_HasError()
T27F0 000:522.861 JLINK_WriteReg(R0, 0x08001800)
T27F0 000:522.875 - 0.013ms returns 0
T27F0 000:522.889 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:522.902 - 0.012ms returns 0
T27F0 000:522.916 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:522.936 - 0.020ms returns 0
T27F0 000:522.955 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:522.968 - 0.012ms returns 0
T27F0 000:522.982 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:522.994 - 0.012ms returns 0
T27F0 000:523.007 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:523.019 - 0.012ms returns 0
T27F0 000:523.033 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:523.044 - 0.011ms returns 0
T27F0 000:523.058 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:523.070 - 0.012ms returns 0
T27F0 000:523.083 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:523.096 - 0.012ms returns 0
T27F0 000:523.109 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:523.121 - 0.012ms returns 0
T27F0 000:523.134 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:523.146 - 0.011ms returns 0
T27F0 000:523.160 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:523.172 - 0.012ms returns 0
T27F0 000:523.185 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:523.197 - 0.012ms returns 0
T27F0 000:523.211 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:523.223 - 0.013ms returns 0
T27F0 000:523.237 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:523.249 - 0.011ms returns 0
T27F0 000:523.262 JLINK_WriteReg(R15 (PC), 0x200000B6)
T27F0 000:523.275 - 0.012ms returns 0
T27F0 000:523.288 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:523.310 - 0.022ms returns 0
T27F0 000:523.326 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:523.338 - 0.012ms returns 0
T27F0 000:523.351 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:523.364 - 0.012ms returns 0
T27F0 000:523.377 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:523.389 - 0.012ms returns 0
T27F0 000:523.404 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:523.418 - 0.014ms returns 0x00000009
T27F0 000:523.431 JLINK_Go()
T27F0 000:523.457 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:526.580 - 3.148ms
T27F0 000:526.611 JLINK_IsHalted()
T27F0 000:527.131 - 0.519ms returns FALSE
T27F0 000:527.162 JLINK_HasError()
T27F0 000:533.645 JLINK_IsHalted()
T27F0 000:534.080 - 0.434ms returns FALSE
T27F0 000:534.113 JLINK_HasError()
T27F0 000:535.633 JLINK_IsHalted()
T27F0 000:536.126 - 0.492ms returns FALSE
T27F0 000:536.157 JLINK_HasError()
T27F0 000:538.167 JLINK_IsHalted()
T27F0 000:538.641 - 0.473ms returns FALSE
T27F0 000:538.672 JLINK_HasError()
T27F0 000:540.161 JLINK_IsHalted()
T27F0 000:540.636 - 0.474ms returns FALSE
T27F0 000:540.667 JLINK_HasError()
T27F0 000:542.156 JLINK_IsHalted()
T27F0 000:542.633 - 0.475ms returns FALSE
T27F0 000:542.663 JLINK_HasError()
T27F0 000:544.155 JLINK_IsHalted()
T27F0 000:544.589 - 0.432ms returns FALSE
T27F0 000:544.619 JLINK_HasError()
T27F0 000:546.146 JLINK_IsHalted()
T27F0 000:546.620 - 0.473ms returns FALSE
T27F0 000:546.650 JLINK_HasError()
T27F0 000:548.653 JLINK_IsHalted()
T27F0 000:551.375 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:551.933 - 3.279ms returns TRUE
T27F0 000:551.957 JLINK_ReadReg(R15 (PC))
T27F0 000:551.974 - 0.017ms returns 0x20000000
T27F0 000:551.989 JLINK_ClrBPEx(BPHandle = 0x00000009)
T27F0 000:552.001 - 0.013ms returns 0x00
T27F0 000:552.015 JLINK_ReadReg(R0)
T27F0 000:552.028 - 0.012ms returns 0x00000000
T27F0 000:553.016 JLINK_HasError()
T27F0 000:553.044 JLINK_WriteReg(R0, 0x08002000)
T27F0 000:553.060 - 0.016ms returns 0
T27F0 000:553.074 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:553.087 - 0.012ms returns 0
T27F0 000:553.100 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:553.112 - 0.012ms returns 0
T27F0 000:553.126 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:553.138 - 0.012ms returns 0
T27F0 000:553.151 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:553.163 - 0.012ms returns 0
T27F0 000:553.177 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:553.188 - 0.011ms returns 0
T27F0 000:553.202 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:553.214 - 0.012ms returns 0
T27F0 000:553.227 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:553.239 - 0.012ms returns 0
T27F0 000:553.253 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:553.265 - 0.012ms returns 0
T27F0 000:553.278 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:553.290 - 0.011ms returns 0
T27F0 000:553.303 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:553.329 - 0.026ms returns 0
T27F0 000:553.344 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:553.356 - 0.012ms returns 0
T27F0 000:553.369 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:553.381 - 0.012ms returns 0
T27F0 000:553.395 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:553.408 - 0.013ms returns 0
T27F0 000:553.422 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:553.434 - 0.012ms returns 0
T27F0 000:553.447 JLINK_WriteReg(R15 (PC), 0x20000020)
T27F0 000:553.460 - 0.012ms returns 0
T27F0 000:553.473 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:553.486 - 0.012ms returns 0
T27F0 000:553.499 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:553.511 - 0.012ms returns 0
T27F0 000:553.524 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:553.536 - 0.011ms returns 0
T27F0 000:553.550 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:553.562 - 0.012ms returns 0
T27F0 000:553.576 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:553.590 - 0.014ms returns 0x0000000A
T27F0 000:553.604 JLINK_Go()
T27F0 000:553.631 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:556.674 - 3.069ms
T27F0 000:556.705 JLINK_IsHalted()
T27F0 000:559.326 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:559.834 - 3.127ms returns TRUE
T27F0 000:559.857 JLINK_ReadReg(R15 (PC))
T27F0 000:559.873 - 0.015ms returns 0x20000000
T27F0 000:559.889 JLINK_ClrBPEx(BPHandle = 0x0000000A)
T27F0 000:559.903 - 0.013ms returns 0x00
T27F0 000:559.917 JLINK_ReadReg(R0)
T27F0 000:559.929 - 0.012ms returns 0x00000001
T27F0 000:559.947 JLINK_HasError()
T27F0 000:559.962 JLINK_WriteReg(R0, 0x08002000)
T27F0 000:559.976 - 0.013ms returns 0
T27F0 000:560.074 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:560.092 - 0.018ms returns 0
T27F0 000:560.107 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:560.119 - 0.012ms returns 0
T27F0 000:560.132 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:560.144 - 0.012ms returns 0
T27F0 000:560.157 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:560.169 - 0.012ms returns 0
T27F0 000:560.183 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:560.195 - 0.012ms returns 0
T27F0 000:560.208 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:560.220 - 0.012ms returns 0
T27F0 000:560.234 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:560.246 - 0.012ms returns 0
T27F0 000:560.259 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:560.270 - 0.011ms returns 0
T27F0 000:560.284 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:560.296 - 0.012ms returns 0
T27F0 000:560.309 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:560.322 - 0.012ms returns 0
T27F0 000:560.335 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:560.347 - 0.012ms returns 0
T27F0 000:560.360 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:560.372 - 0.011ms returns 0
T27F0 000:560.386 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:560.399 - 0.013ms returns 0
T27F0 000:560.412 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:560.424 - 0.012ms returns 0
T27F0 000:560.438 JLINK_WriteReg(R15 (PC), 0x200000B6)
T27F0 000:560.450 - 0.012ms returns 0
T27F0 000:560.463 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:560.475 - 0.012ms returns 0
T27F0 000:560.489 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:560.501 - 0.012ms returns 0
T27F0 000:560.514 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:560.526 - 0.012ms returns 0
T27F0 000:560.540 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:560.552 - 0.012ms returns 0
T27F0 000:560.566 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:560.580 - 0.014ms returns 0x0000000B
T27F0 000:560.593 JLINK_Go()
T27F0 000:560.618 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:563.782 - 3.188ms
T27F0 000:563.804 JLINK_IsHalted()
T27F0 000:564.264 - 0.459ms returns FALSE
T27F0 000:564.284 JLINK_HasError()
T27F0 000:565.617 JLINK_IsHalted()
T27F0 000:566.139 - 0.521ms returns FALSE
T27F0 000:566.159 JLINK_HasError()
T27F0 000:567.580 JLINK_IsHalted()
T27F0 000:568.005 - 0.424ms returns FALSE
T27F0 000:568.034 JLINK_HasError()
T27F0 000:569.585 JLINK_IsHalted()
T27F0 000:570.047 - 0.462ms returns FALSE
T27F0 000:570.067 JLINK_HasError()
T27F0 000:572.102 JLINK_IsHalted()
T27F0 000:572.507 - 0.404ms returns FALSE
T27F0 000:572.542 JLINK_HasError()
T27F0 000:574.066 JLINK_IsHalted()
T27F0 000:574.501 - 0.434ms returns FALSE
T27F0 000:574.522 JLINK_HasError()
T27F0 000:576.077 JLINK_IsHalted()
T27F0 000:576.502 - 0.423ms returns FALSE
T27F0 000:576.533 JLINK_HasError()
T27F0 000:578.048 JLINK_IsHalted()
T27F0 000:578.402 - 0.353ms returns FALSE
T27F0 000:578.413 JLINK_HasError()
T27F0 000:580.130 JLINK_IsHalted()
T27F0 000:580.550 - 0.419ms returns FALSE
T27F0 000:580.561 JLINK_HasError()
T27F0 000:581.663 JLINK_IsHalted()
T27F0 000:582.140 - 0.476ms returns FALSE
T27F0 000:582.151 JLINK_HasError()
T27F0 000:583.254 JLINK_IsHalted()
T27F0 000:583.674 - 0.419ms returns FALSE
T27F0 000:583.685 JLINK_HasError()
T27F0 000:585.795 JLINK_IsHalted()
T27F0 000:588.415 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:588.952 - 3.156ms returns TRUE
T27F0 000:588.965 JLINK_ReadReg(R15 (PC))
T27F0 000:588.973 - 0.007ms returns 0x20000000
T27F0 000:588.978 JLINK_ClrBPEx(BPHandle = 0x0000000B)
T27F0 000:588.983 - 0.005ms returns 0x00
T27F0 000:588.989 JLINK_ReadReg(R0)
T27F0 000:588.994 - 0.004ms returns 0x00000000
T27F0 000:589.405 JLINK_HasError()
T27F0 000:589.415 JLINK_WriteReg(R0, 0x08002800)
T27F0 000:589.421 - 0.005ms returns 0
T27F0 000:589.426 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:589.431 - 0.004ms returns 0
T27F0 000:589.436 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:589.441 - 0.004ms returns 0
T27F0 000:589.446 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:589.451 - 0.005ms returns 0
T27F0 000:589.456 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:589.460 - 0.004ms returns 0
T27F0 000:589.465 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:589.470 - 0.004ms returns 0
T27F0 000:589.475 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:589.479 - 0.004ms returns 0
T27F0 000:589.484 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:589.489 - 0.004ms returns 0
T27F0 000:589.494 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:589.498 - 0.004ms returns 0
T27F0 000:589.503 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:589.508 - 0.004ms returns 0
T27F0 000:589.513 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:589.518 - 0.004ms returns 0
T27F0 000:589.523 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:589.527 - 0.004ms returns 0
T27F0 000:589.532 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:589.537 - 0.004ms returns 0
T27F0 000:589.542 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:589.547 - 0.005ms returns 0
T27F0 000:589.552 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:589.556 - 0.004ms returns 0
T27F0 000:589.562 JLINK_WriteReg(R15 (PC), 0x20000020)
T27F0 000:589.566 - 0.004ms returns 0
T27F0 000:589.571 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:589.576 - 0.004ms returns 0
T27F0 000:589.581 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:589.585 - 0.004ms returns 0
T27F0 000:589.591 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:589.595 - 0.004ms returns 0
T27F0 000:589.600 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:589.605 - 0.004ms returns 0
T27F0 000:589.610 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:589.619 - 0.009ms returns 0x0000000C
T27F0 000:589.624 JLINK_Go()
T27F0 000:589.636 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:592.698 - 3.073ms
T27F0 000:592.709 JLINK_IsHalted()
T27F0 000:595.397 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:595.947 - 3.237ms returns TRUE
T27F0 000:595.958 JLINK_ReadReg(R15 (PC))
T27F0 000:595.965 - 0.006ms returns 0x20000000
T27F0 000:595.970 JLINK_ClrBPEx(BPHandle = 0x0000000C)
T27F0 000:595.975 - 0.004ms returns 0x00
T27F0 000:595.980 JLINK_ReadReg(R0)
T27F0 000:595.985 - 0.004ms returns 0x00000001
T27F0 000:595.990 JLINK_HasError()
T27F0 000:595.996 JLINK_WriteReg(R0, 0x08002800)
T27F0 000:596.001 - 0.005ms returns 0
T27F0 000:596.006 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:596.011 - 0.004ms returns 0
T27F0 000:596.016 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:596.021 - 0.004ms returns 0
T27F0 000:596.026 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:596.030 - 0.004ms returns 0
T27F0 000:596.036 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:596.044 - 0.008ms returns 0
T27F0 000:596.052 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:596.056 - 0.004ms returns 0
T27F0 000:596.061 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:596.066 - 0.004ms returns 0
T27F0 000:596.071 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:596.075 - 0.004ms returns 0
T27F0 000:596.081 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:596.085 - 0.004ms returns 0
T27F0 000:596.090 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:596.095 - 0.004ms returns 0
T27F0 000:596.100 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:596.104 - 0.004ms returns 0
T27F0 000:596.109 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:596.114 - 0.004ms returns 0
T27F0 000:596.119 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:596.123 - 0.004ms returns 0
T27F0 000:596.128 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:596.133 - 0.004ms returns 0
T27F0 000:596.138 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:596.143 - 0.004ms returns 0
T27F0 000:596.148 JLINK_WriteReg(R15 (PC), 0x200000B6)
T27F0 000:596.152 - 0.004ms returns 0
T27F0 000:596.157 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:596.162 - 0.004ms returns 0
T27F0 000:596.167 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:596.172 - 0.004ms returns 0
T27F0 000:596.177 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:596.181 - 0.004ms returns 0
T27F0 000:596.186 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:596.191 - 0.004ms returns 0
T27F0 000:596.196 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:596.201 - 0.005ms returns 0x0000000D
T27F0 000:596.206 JLINK_Go()
T27F0 000:596.216 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:599.202 - 2.995ms
T27F0 000:599.214 JLINK_IsHalted()
T27F0 000:599.628 - 0.413ms returns FALSE
T27F0 000:599.640 JLINK_HasError()
T27F0 000:600.780 JLINK_IsHalted()
T27F0 000:601.198 - 0.417ms returns FALSE
T27F0 000:601.210 JLINK_HasError()
T27F0 000:602.302 JLINK_IsHalted()
T27F0 000:602.707 - 0.404ms returns FALSE
T27F0 000:602.720 JLINK_HasError()
T27F0 000:604.289 JLINK_IsHalted()
T27F0 000:604.698 - 0.408ms returns FALSE
T27F0 000:604.710 JLINK_HasError()
T27F0 000:605.799 JLINK_IsHalted()
T27F0 000:606.205 - 0.406ms returns FALSE
T27F0 000:606.218 JLINK_HasError()
T27F0 000:607.790 JLINK_IsHalted()
T27F0 000:608.201 - 0.410ms returns FALSE
T27F0 000:608.215 JLINK_HasError()
T27F0 000:609.798 JLINK_IsHalted()
T27F0 000:610.207 - 0.408ms returns FALSE
T27F0 000:610.221 JLINK_HasError()
T27F0 000:611.296 JLINK_IsHalted()
T27F0 000:611.700 - 0.403ms returns FALSE
T27F0 000:611.714 JLINK_HasError()
T27F0 000:612.786 JLINK_IsHalted()
T27F0 000:613.184 - 0.398ms returns FALSE
T27F0 000:613.200 JLINK_HasError()
T27F0 000:614.784 JLINK_IsHalted()
T27F0 000:615.191 - 0.406ms returns FALSE
T27F0 000:615.207 JLINK_HasError()
T27F0 000:616.278 JLINK_IsHalted()
T27F0 000:616.681 - 0.402ms returns FALSE
T27F0 000:616.697 JLINK_HasError()
T27F0 000:618.218 JLINK_IsHalted()
T27F0 000:618.659 - 0.440ms returns FALSE
T27F0 000:618.678 JLINK_HasError()
T27F0 000:620.263 JLINK_IsHalted()
T27F0 000:620.702 - 0.438ms returns FALSE
T27F0 000:620.720 JLINK_HasError()
T27F0 000:622.270 JLINK_IsHalted()
T27F0 000:625.001 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:625.473 - 3.203ms returns TRUE
T27F0 000:625.485 JLINK_ReadReg(R15 (PC))
T27F0 000:625.493 - 0.007ms returns 0x20000000
T27F0 000:625.499 JLINK_ClrBPEx(BPHandle = 0x0000000D)
T27F0 000:625.504 - 0.005ms returns 0x00
T27F0 000:625.510 JLINK_ReadReg(R0)
T27F0 000:625.515 - 0.005ms returns 0x00000000
T27F0 000:625.917 JLINK_HasError()
T27F0 000:625.928 JLINK_WriteReg(R0, 0x08003000)
T27F0 000:625.934 - 0.006ms returns 0
T27F0 000:625.940 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:625.945 - 0.005ms returns 0
T27F0 000:625.951 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:625.956 - 0.005ms returns 0
T27F0 000:625.961 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:625.966 - 0.005ms returns 0
T27F0 000:625.971 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:625.976 - 0.005ms returns 0
T27F0 000:625.982 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:625.986 - 0.004ms returns 0
T27F0 000:625.996 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:626.003 - 0.007ms returns 0
T27F0 000:626.009 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:626.014 - 0.004ms returns 0
T27F0 000:626.019 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:626.024 - 0.005ms returns 0
T27F0 000:626.029 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:626.034 - 0.004ms returns 0
T27F0 000:626.040 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:626.045 - 0.005ms returns 0
T27F0 000:626.050 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:626.055 - 0.004ms returns 0
T27F0 000:626.060 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:626.065 - 0.005ms returns 0
T27F0 000:626.071 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:626.076 - 0.005ms returns 0
T27F0 000:626.081 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:626.086 - 0.004ms returns 0
T27F0 000:626.092 JLINK_WriteReg(R15 (PC), 0x20000020)
T27F0 000:626.097 - 0.005ms returns 0
T27F0 000:626.102 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:626.107 - 0.005ms returns 0
T27F0 000:626.112 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:626.117 - 0.004ms returns 0
T27F0 000:626.123 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:626.128 - 0.005ms returns 0
T27F0 000:626.133 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:626.138 - 0.005ms returns 0
T27F0 000:626.144 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:626.150 - 0.005ms returns 0x0000000E
T27F0 000:626.155 JLINK_Go()
T27F0 000:626.166 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:629.172 - 3.016ms
T27F0 000:629.185 JLINK_IsHalted()
T27F0 000:631.728 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:632.168 - 2.983ms returns TRUE
T27F0 000:632.182 JLINK_ReadReg(R15 (PC))
T27F0 000:632.189 - 0.007ms returns 0x20000000
T27F0 000:632.196 JLINK_ClrBPEx(BPHandle = 0x0000000E)
T27F0 000:632.202 - 0.006ms returns 0x00
T27F0 000:632.208 JLINK_ReadReg(R0)
T27F0 000:632.214 - 0.005ms returns 0x00000001
T27F0 000:632.220 JLINK_HasError()
T27F0 000:632.226 JLINK_WriteReg(R0, 0x08003000)
T27F0 000:632.232 - 0.006ms returns 0
T27F0 000:632.239 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:632.244 - 0.005ms returns 0
T27F0 000:632.250 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:632.255 - 0.005ms returns 0
T27F0 000:632.261 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:632.267 - 0.005ms returns 0
T27F0 000:632.273 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:632.278 - 0.005ms returns 0
T27F0 000:632.284 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:632.290 - 0.005ms returns 0
T27F0 000:632.296 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:632.301 - 0.005ms returns 0
T27F0 000:632.307 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:632.313 - 0.005ms returns 0
T27F0 000:632.319 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:632.324 - 0.005ms returns 0
T27F0 000:632.330 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:632.336 - 0.005ms returns 0
T27F0 000:632.342 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:632.347 - 0.005ms returns 0
T27F0 000:632.353 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:632.359 - 0.005ms returns 0
T27F0 000:632.365 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:632.370 - 0.005ms returns 0
T27F0 000:632.376 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:632.382 - 0.005ms returns 0
T27F0 000:632.402 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:632.408 - 0.005ms returns 0
T27F0 000:632.414 JLINK_WriteReg(R15 (PC), 0x200000B6)
T27F0 000:632.420 - 0.006ms returns 0
T27F0 000:632.427 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:632.433 - 0.006ms returns 0
T27F0 000:632.440 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:632.446 - 0.006ms returns 0
T27F0 000:632.452 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:632.458 - 0.005ms returns 0
T27F0 000:632.465 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:632.471 - 0.006ms returns 0
T27F0 000:632.478 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:632.485 - 0.006ms returns 0x0000000F
T27F0 000:632.491 JLINK_Go()
T27F0 000:632.503 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:635.419 - 2.927ms
T27F0 000:635.433 JLINK_IsHalted()
T27F0 000:635.895 - 0.461ms returns FALSE
T27F0 000:635.910 JLINK_HasError()
T27F0 000:638.951 JLINK_IsHalted()
T27F0 000:639.353 - 0.401ms returns FALSE
T27F0 000:639.371 JLINK_HasError()
T27F0 000:641.454 JLINK_IsHalted()
T27F0 000:641.892 - 0.438ms returns FALSE
T27F0 000:641.908 JLINK_HasError()
T27F0 000:643.942 JLINK_IsHalted()
T27F0 000:644.352 - 0.409ms returns FALSE
T27F0 000:644.370 JLINK_HasError()
T27F0 000:646.446 JLINK_IsHalted()
T27F0 000:646.893 - 0.446ms returns FALSE
T27F0 000:646.911 JLINK_HasError()
T27F0 000:648.982 JLINK_IsHalted()
T27F0 000:649.420 - 0.437ms returns FALSE
T27F0 000:649.441 JLINK_HasError()
T27F0 000:650.919 JLINK_IsHalted()
T27F0 000:651.342 - 0.422ms returns FALSE
T27F0 000:651.363 JLINK_HasError()
T27F0 000:652.965 JLINK_IsHalted()
T27F0 000:653.415 - 0.449ms returns FALSE
T27F0 000:653.439 JLINK_HasError()
T27F0 000:655.459 JLINK_IsHalted()
T27F0 000:655.896 - 0.436ms returns FALSE
T27F0 000:655.920 JLINK_HasError()
T27F0 000:657.941 JLINK_IsHalted()
T27F0 000:660.617 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:661.136 - 3.194ms returns TRUE
T27F0 000:661.165 JLINK_ReadReg(R15 (PC))
T27F0 000:661.182 - 0.016ms returns 0x20000000
T27F0 000:661.196 JLINK_ClrBPEx(BPHandle = 0x0000000F)
T27F0 000:661.208 - 0.012ms returns 0x00
T27F0 000:661.222 JLINK_ReadReg(R0)
T27F0 000:661.234 - 0.012ms returns 0x00000000
T27F0 000:662.138 JLINK_HasError()
T27F0 000:662.164 JLINK_WriteReg(R0, 0x08003800)
T27F0 000:662.178 - 0.014ms returns 0
T27F0 000:662.192 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:662.204 - 0.011ms returns 0
T27F0 000:662.216 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:662.228 - 0.011ms returns 0
T27F0 000:662.240 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:662.252 - 0.011ms returns 0
T27F0 000:662.264 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:662.276 - 0.011ms returns 0
T27F0 000:662.288 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:662.300 - 0.011ms returns 0
T27F0 000:662.312 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:662.324 - 0.011ms returns 0
T27F0 000:662.336 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:662.348 - 0.011ms returns 0
T27F0 000:662.360 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:662.387 - 0.027ms returns 0
T27F0 000:662.403 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:662.417 - 0.013ms returns 0
T27F0 000:662.432 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:662.446 - 0.014ms returns 0
T27F0 000:662.462 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:662.476 - 0.014ms returns 0
T27F0 000:662.491 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:662.505 - 0.013ms returns 0
T27F0 000:662.521 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:662.536 - 0.015ms returns 0
T27F0 000:662.551 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:662.565 - 0.014ms returns 0
T27F0 000:662.581 JLINK_WriteReg(R15 (PC), 0x20000020)
T27F0 000:662.598 - 0.017ms returns 0
T27F0 000:662.614 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:662.628 - 0.014ms returns 0
T27F0 000:662.644 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:662.658 - 0.014ms returns 0
T27F0 000:662.673 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:662.687 - 0.014ms returns 0
T27F0 000:662.703 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:662.717 - 0.014ms returns 0
T27F0 000:662.734 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:662.749 - 0.016ms returns 0x00000010
T27F0 000:662.765 JLINK_Go()
T27F0 000:662.797 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:665.897 - 3.130ms
T27F0 000:665.937 JLINK_IsHalted()
T27F0 000:668.586 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:669.188 - 3.249ms returns TRUE
T27F0 000:669.240 JLINK_ReadReg(R15 (PC))
T27F0 000:669.268 - 0.027ms returns 0x20000000
T27F0 000:669.290 JLINK_ClrBPEx(BPHandle = 0x00000010)
T27F0 000:669.310 - 0.020ms returns 0x00
T27F0 000:669.334 JLINK_ReadReg(R0)
T27F0 000:669.354 - 0.019ms returns 0x00000001
T27F0 000:669.379 JLINK_HasError()
T27F0 000:669.534 JLINK_WriteReg(R0, 0x08003800)
T27F0 000:669.582 - 0.048ms returns 0
T27F0 000:669.607 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:669.626 - 0.019ms returns 0
T27F0 000:669.646 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:669.665 - 0.019ms returns 0
T27F0 000:669.703 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:669.723 - 0.019ms returns 0
T27F0 000:669.743 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:669.761 - 0.017ms returns 0
T27F0 000:669.781 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:669.799 - 0.018ms returns 0
T27F0 000:669.819 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:669.838 - 0.018ms returns 0
T27F0 000:669.857 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:669.875 - 0.018ms returns 0
T27F0 000:669.896 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:669.914 - 0.018ms returns 0
T27F0 000:669.934 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:669.952 - 0.018ms returns 0
T27F0 000:669.972 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:669.991 - 0.019ms returns 0
T27F0 000:670.011 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:670.029 - 0.018ms returns 0
T27F0 000:670.049 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:670.067 - 0.017ms returns 0
T27F0 000:670.088 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:670.107 - 0.020ms returns 0
T27F0 000:670.127 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:670.146 - 0.018ms returns 0
T27F0 000:670.170 JLINK_WriteReg(R15 (PC), 0x200000B6)
T27F0 000:670.189 - 0.019ms returns 0
T27F0 000:670.210 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:670.228 - 0.018ms returns 0
T27F0 000:670.248 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:670.267 - 0.018ms returns 0
T27F0 000:670.287 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:670.305 - 0.018ms returns 0
T27F0 000:670.324 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:670.343 - 0.018ms returns 0
T27F0 000:670.365 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:670.387 - 0.023ms returns 0x00000011
T27F0 000:670.408 JLINK_Go()
T27F0 000:670.448 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:673.669 - 3.259ms
T27F0 000:673.715 JLINK_IsHalted()
T27F0 000:674.260 - 0.543ms returns FALSE
T27F0 000:674.306 JLINK_HasError()
T27F0 000:676.283 JLINK_IsHalted()
T27F0 000:676.814 - 0.530ms returns FALSE
T27F0 000:676.861 JLINK_HasError()
T27F0 000:678.849 JLINK_IsHalted()
T27F0 000:679.375 - 0.524ms returns FALSE
T27F0 000:679.422 JLINK_HasError()
T27F0 000:680.847 JLINK_IsHalted()
T27F0 000:681.371 - 0.522ms returns FALSE
T27F0 000:681.417 JLINK_HasError()
T27F0 000:682.837 JLINK_IsHalted()
T27F0 000:683.295 - 0.457ms returns FALSE
T27F0 000:683.343 JLINK_HasError()
T27F0 000:684.845 JLINK_IsHalted()
T27F0 000:685.448 - 0.601ms returns FALSE
T27F0 000:685.496 JLINK_HasError()
T27F0 000:686.837 JLINK_IsHalted()
T27F0 000:687.352 - 0.513ms returns FALSE
T27F0 000:687.397 JLINK_HasError()
T27F0 000:688.930 JLINK_IsHalted()
T27F0 000:689.395 - 0.462ms returns FALSE
T27F0 000:689.439 JLINK_HasError()
T27F0 000:690.817 JLINK_IsHalted()
T27F0 000:691.297 - 0.478ms returns FALSE
T27F0 000:691.328 JLINK_HasError()
T27F0 000:692.819 JLINK_IsHalted()
T27F0 000:693.278 - 0.457ms returns FALSE
T27F0 000:693.325 JLINK_HasError()
T27F0 000:694.814 JLINK_IsHalted()
T27F0 000:695.287 - 0.472ms returns FALSE
T27F0 000:695.324 JLINK_HasError()
T27F0 000:696.784 JLINK_IsHalted()
T27F0 000:699.171 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:699.499 - 2.714ms returns TRUE
T27F0 000:699.507 JLINK_ReadReg(R15 (PC))
T27F0 000:699.514 - 0.006ms returns 0x20000000
T27F0 000:699.519 JLINK_ClrBPEx(BPHandle = 0x00000011)
T27F0 000:699.524 - 0.005ms returns 0x00
T27F0 000:699.529 JLINK_ReadReg(R0)
T27F0 000:699.534 - 0.004ms returns 0x00000000
T27F0 000:700.036 JLINK_HasError()
T27F0 000:700.046 JLINK_WriteReg(R0, 0x08004000)
T27F0 000:700.052 - 0.005ms returns 0
T27F0 000:700.057 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:700.062 - 0.004ms returns 0
T27F0 000:700.067 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:700.071 - 0.004ms returns 0
T27F0 000:700.076 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:700.081 - 0.004ms returns 0
T27F0 000:700.086 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:700.091 - 0.004ms returns 0
T27F0 000:700.096 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:700.100 - 0.004ms returns 0
T27F0 000:700.105 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:700.110 - 0.004ms returns 0
T27F0 000:700.154 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:700.159 - 0.005ms returns 0
T27F0 000:700.164 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:700.169 - 0.004ms returns 0
T27F0 000:700.174 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:700.179 - 0.004ms returns 0
T27F0 000:700.184 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:700.188 - 0.004ms returns 0
T27F0 000:700.193 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:700.198 - 0.004ms returns 0
T27F0 000:700.203 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:700.207 - 0.004ms returns 0
T27F0 000:700.213 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:700.217 - 0.005ms returns 0
T27F0 000:700.223 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:700.227 - 0.004ms returns 0
T27F0 000:700.232 JLINK_WriteReg(R15 (PC), 0x20000020)
T27F0 000:700.237 - 0.004ms returns 0
T27F0 000:700.242 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:700.247 - 0.004ms returns 0
T27F0 000:700.252 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:700.256 - 0.004ms returns 0
T27F0 000:700.261 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:700.266 - 0.004ms returns 0
T27F0 000:700.271 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:700.275 - 0.004ms returns 0
T27F0 000:700.281 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:700.286 - 0.005ms returns 0x00000012
T27F0 000:700.291 JLINK_Go()
T27F0 000:700.302 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:702.997 - 2.704ms
T27F0 000:703.009 JLINK_IsHalted()
T27F0 000:705.418 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:705.804 - 2.795ms returns TRUE
T27F0 000:705.816 JLINK_ReadReg(R15 (PC))
T27F0 000:705.823 - 0.006ms returns 0x20000000
T27F0 000:705.829 JLINK_ClrBPEx(BPHandle = 0x00000012)
T27F0 000:705.834 - 0.005ms returns 0x00
T27F0 000:705.839 JLINK_ReadReg(R0)
T27F0 000:705.844 - 0.004ms returns 0x00000001
T27F0 000:705.849 JLINK_HasError()
T27F0 000:705.854 JLINK_WriteReg(R0, 0x08004000)
T27F0 000:705.859 - 0.005ms returns 0
T27F0 000:705.864 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:705.869 - 0.004ms returns 0
T27F0 000:705.874 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:705.879 - 0.004ms returns 0
T27F0 000:705.884 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:705.888 - 0.004ms returns 0
T27F0 000:705.894 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:705.898 - 0.004ms returns 0
T27F0 000:705.903 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:705.908 - 0.004ms returns 0
T27F0 000:705.913 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:705.918 - 0.004ms returns 0
T27F0 000:705.923 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:705.927 - 0.004ms returns 0
T27F0 000:705.932 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:705.937 - 0.004ms returns 0
T27F0 000:705.942 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:705.947 - 0.004ms returns 0
T27F0 000:705.952 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:705.956 - 0.004ms returns 0
T27F0 000:705.961 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:705.966 - 0.004ms returns 0
T27F0 000:705.971 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:705.976 - 0.004ms returns 0
T27F0 000:705.981 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:705.986 - 0.004ms returns 0
T27F0 000:705.991 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:705.995 - 0.004ms returns 0
T27F0 000:706.000 JLINK_WriteReg(R15 (PC), 0x200000B6)
T27F0 000:706.005 - 0.004ms returns 0
T27F0 000:706.010 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:706.015 - 0.004ms returns 0
T27F0 000:706.020 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:706.025 - 0.004ms returns 0
T27F0 000:706.030 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:706.034 - 0.004ms returns 0
T27F0 000:706.039 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:706.044 - 0.004ms returns 0
T27F0 000:706.049 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:706.054 - 0.005ms returns 0x00000013
T27F0 000:706.059 JLINK_Go()
T27F0 000:706.069 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:708.694 - 2.634ms
T27F0 000:708.704 JLINK_IsHalted()
T27F0 000:709.055 - 0.349ms returns FALSE
T27F0 000:709.065 JLINK_HasError()
T27F0 000:710.807 JLINK_IsHalted()
T27F0 000:711.109 - 0.302ms returns FALSE
T27F0 000:711.198 JLINK_HasError()
T27F0 000:712.748 JLINK_IsHalted()
T27F0 000:713.068 - 0.320ms returns FALSE
T27F0 000:713.076 JLINK_HasError()
T27F0 000:714.809 JLINK_IsHalted()
T27F0 000:715.189 - 0.380ms returns FALSE
T27F0 000:715.201 JLINK_HasError()
T27F0 000:716.803 JLINK_IsHalted()
T27F0 000:717.123 - 0.336ms returns FALSE
T27F0 000:717.135 JLINK_HasError()
T27F0 000:718.796 JLINK_IsHalted()
T27F0 000:719.098 - 0.301ms returns FALSE
T27F0 000:719.110 JLINK_HasError()
T27F0 000:720.761 JLINK_IsHalted()
T27F0 000:721.092 - 0.330ms returns FALSE
T27F0 000:721.106 JLINK_HasError()
T27F0 000:722.736 JLINK_IsHalted()
T27F0 000:723.064 - 0.327ms returns FALSE
T27F0 000:723.072 JLINK_HasError()
T27F0 000:724.788 JLINK_IsHalted()
T27F0 000:725.131 - 0.342ms returns FALSE
T27F0 000:725.139 JLINK_HasError()
T27F0 000:726.724 JLINK_IsHalted()
T27F0 000:727.097 - 0.372ms returns FALSE
T27F0 000:727.105 JLINK_HasError()
T27F0 000:728.760 JLINK_IsHalted()
T27F0 000:729.050 - 0.289ms returns FALSE
T27F0 000:729.058 JLINK_HasError()
T27F0 000:730.748 JLINK_IsHalted()
T27F0 000:733.258 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:733.652 - 2.903ms returns TRUE
T27F0 000:733.663 JLINK_ReadReg(R15 (PC))
T27F0 000:733.670 - 0.006ms returns 0x20000000
T27F0 000:733.676 JLINK_ClrBPEx(BPHandle = 0x00000013)
T27F0 000:733.681 - 0.005ms returns 0x00
T27F0 000:733.686 JLINK_ReadReg(R0)
T27F0 000:733.691 - 0.005ms returns 0x00000000
T27F0 000:734.224 JLINK_HasError()
T27F0 000:734.237 JLINK_WriteReg(R0, 0x08004800)
T27F0 000:734.243 - 0.006ms returns 0
T27F0 000:734.249 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:734.254 - 0.005ms returns 0
T27F0 000:734.259 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:734.263 - 0.004ms returns 0
T27F0 000:734.268 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:734.289 - 0.020ms returns 0
T27F0 000:734.308 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:734.313 - 0.018ms returns 0
T27F0 000:734.318 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:734.322 - 0.004ms returns 0
T27F0 000:734.327 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:734.348 - 0.021ms returns 0
T27F0 000:734.354 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:734.358 - 0.004ms returns 0
T27F0 000:734.380 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:734.385 - 0.005ms returns 0
T27F0 000:734.409 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:734.414 - 0.004ms returns 0
T27F0 000:734.419 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:734.424 - 0.004ms returns 0
T27F0 000:734.429 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:734.448 - 0.018ms returns 0
T27F0 000:734.453 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:734.478 - 0.025ms returns 0
T27F0 000:734.483 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:734.488 - 0.005ms returns 0
T27F0 000:734.494 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:734.498 - 0.004ms returns 0
T27F0 000:734.504 JLINK_WriteReg(R15 (PC), 0x20000020)
T27F0 000:734.509 - 0.004ms returns 0
T27F0 000:734.534 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:734.539 - 0.004ms returns 0
T27F0 000:734.543 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:734.564 - 0.020ms returns 0
T27F0 000:734.569 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:734.574 - 0.004ms returns 0
T27F0 000:734.579 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:734.584 - 0.004ms returns 0
T27F0 000:734.605 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:734.610 - 0.005ms returns 0x00000014
T27F0 000:734.615 JLINK_Go()
T27F0 000:734.629 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:737.441 - 2.824ms
T27F0 000:737.457 JLINK_IsHalted()
T27F0 000:739.916 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:740.283 - 2.825ms returns TRUE
T27F0 000:740.296 JLINK_ReadReg(R15 (PC))
T27F0 000:740.304 - 0.007ms returns 0x20000000
T27F0 000:740.309 JLINK_ClrBPEx(BPHandle = 0x00000014)
T27F0 000:740.314 - 0.005ms returns 0x00
T27F0 000:740.320 JLINK_ReadReg(R0)
T27F0 000:740.325 - 0.004ms returns 0x00000001
T27F0 000:740.330 JLINK_HasError()
T27F0 000:740.336 JLINK_WriteReg(R0, 0x08004800)
T27F0 000:740.342 - 0.005ms returns 0
T27F0 000:740.390 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:740.398 - 0.008ms returns 0
T27F0 000:740.404 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:740.408 - 0.004ms returns 0
T27F0 000:740.413 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:740.418 - 0.004ms returns 0
T27F0 000:740.423 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:740.428 - 0.004ms returns 0
T27F0 000:740.433 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:740.437 - 0.004ms returns 0
T27F0 000:740.442 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:740.447 - 0.004ms returns 0
T27F0 000:740.452 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:740.456 - 0.004ms returns 0
T27F0 000:740.462 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:740.466 - 0.004ms returns 0
T27F0 000:740.471 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:740.476 - 0.004ms returns 0
T27F0 000:740.481 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:740.485 - 0.004ms returns 0
T27F0 000:740.491 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:740.495 - 0.004ms returns 0
T27F0 000:740.500 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:740.505 - 0.004ms returns 0
T27F0 000:740.510 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:740.515 - 0.005ms returns 0
T27F0 000:740.520 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:740.524 - 0.004ms returns 0
T27F0 000:740.530 JLINK_WriteReg(R15 (PC), 0x200000B6)
T27F0 000:740.535 - 0.004ms returns 0
T27F0 000:740.540 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:740.544 - 0.004ms returns 0
T27F0 000:740.549 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:740.554 - 0.004ms returns 0
T27F0 000:740.559 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:740.563 - 0.004ms returns 0
T27F0 000:740.569 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:740.573 - 0.004ms returns 0
T27F0 000:740.579 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:740.584 - 0.005ms returns 0x00000015
T27F0 000:740.589 JLINK_Go()
T27F0 000:740.601 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:743.369 - 2.779ms
T27F0 000:743.388 JLINK_IsHalted()
T27F0 000:743.703 - 0.314ms returns FALSE
T27F0 000:743.711 JLINK_HasError()
T27F0 000:747.684 JLINK_IsHalted()
T27F0 000:748.052 - 0.367ms returns FALSE
T27F0 000:748.064 JLINK_HasError()
T27F0 000:749.705 JLINK_IsHalted()
T27F0 000:750.049 - 0.344ms returns FALSE
T27F0 000:750.062 JLINK_HasError()
T27F0 000:751.700 JLINK_IsHalted()
T27F0 000:752.050 - 0.350ms returns FALSE
T27F0 000:752.064 JLINK_HasError()
T27F0 000:753.691 JLINK_IsHalted()
T27F0 000:754.049 - 0.357ms returns FALSE
T27F0 000:754.061 JLINK_HasError()
T27F0 000:755.685 JLINK_IsHalted()
T27F0 000:756.052 - 0.365ms returns FALSE
T27F0 000:756.064 JLINK_HasError()
T27F0 000:757.709 JLINK_IsHalted()
T27F0 000:758.049 - 0.339ms returns FALSE
T27F0 000:758.060 JLINK_HasError()
T27F0 000:759.674 JLINK_IsHalted()
T27F0 000:760.083 - 0.408ms returns FALSE
T27F0 000:760.094 JLINK_HasError()
T27F0 000:761.618 JLINK_IsHalted()
T27F0 000:761.927 - 0.308ms returns FALSE
T27F0 000:761.941 JLINK_HasError()
T27F0 000:763.616 JLINK_IsHalted()
T27F0 000:763.953 - 0.335ms returns FALSE
T27F0 000:763.966 JLINK_HasError()
T27F0 000:765.606 JLINK_IsHalted()
T27F0 000:768.051 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:768.409 - 2.803ms returns TRUE
T27F0 000:768.424 JLINK_ReadReg(R15 (PC))
T27F0 000:768.432 - 0.008ms returns 0x20000000
T27F0 000:768.438 JLINK_ClrBPEx(BPHandle = 0x00000015)
T27F0 000:768.443 - 0.005ms returns 0x00
T27F0 000:768.449 JLINK_ReadReg(R0)
T27F0 000:768.454 - 0.005ms returns 0x00000000
T27F0 000:768.923 JLINK_HasError()
T27F0 000:768.937 JLINK_WriteReg(R0, 0x08005000)
T27F0 000:768.943 - 0.006ms returns 0
T27F0 000:768.948 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:768.954 - 0.005ms returns 0
T27F0 000:768.959 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:768.964 - 0.004ms returns 0
T27F0 000:768.969 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:768.974 - 0.005ms returns 0
T27F0 000:768.979 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:768.984 - 0.004ms returns 0
T27F0 000:768.989 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:768.994 - 0.004ms returns 0
T27F0 000:768.999 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:769.012 - 0.012ms returns 0
T27F0 000:769.018 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:769.022 - 0.004ms returns 0
T27F0 000:769.028 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:769.032 - 0.004ms returns 0
T27F0 000:769.038 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:769.043 - 0.004ms returns 0
T27F0 000:769.050 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:769.054 - 0.004ms returns 0
T27F0 000:769.060 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:769.065 - 0.005ms returns 0
T27F0 000:769.070 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:769.075 - 0.004ms returns 0
T27F0 000:769.080 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:769.085 - 0.005ms returns 0
T27F0 000:769.091 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:769.095 - 0.004ms returns 0
T27F0 000:769.101 JLINK_WriteReg(R15 (PC), 0x20000020)
T27F0 000:769.106 - 0.004ms returns 0
T27F0 000:769.111 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:769.116 - 0.004ms returns 0
T27F0 000:769.121 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:769.126 - 0.004ms returns 0
T27F0 000:769.131 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:769.136 - 0.004ms returns 0
T27F0 000:769.141 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:769.145 - 0.004ms returns 0
T27F0 000:769.151 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:769.157 - 0.005ms returns 0x00000016
T27F0 000:769.162 JLINK_Go()
T27F0 000:769.176 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:771.976 - 2.812ms
T27F0 000:771.992 JLINK_IsHalted()
T27F0 000:774.419 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:774.826 - 2.833ms returns TRUE
T27F0 000:774.838 JLINK_ReadReg(R15 (PC))
T27F0 000:774.845 - 0.006ms returns 0x20000000
T27F0 000:774.850 JLINK_ClrBPEx(BPHandle = 0x00000016)
T27F0 000:774.855 - 0.005ms returns 0x00
T27F0 000:774.861 JLINK_ReadReg(R0)
T27F0 000:774.866 - 0.004ms returns 0x00000001
T27F0 000:774.896 JLINK_HasError()
T27F0 000:774.903 JLINK_WriteReg(R0, 0x08005000)
T27F0 000:774.908 - 0.006ms returns 0
T27F0 000:774.914 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:774.918 - 0.004ms returns 0
T27F0 000:774.924 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:774.929 - 0.004ms returns 0
T27F0 000:774.934 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:774.939 - 0.004ms returns 0
T27F0 000:774.944 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:774.950 - 0.005ms returns 0
T27F0 000:774.955 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:774.959 - 0.004ms returns 0
T27F0 000:774.964 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:774.969 - 0.004ms returns 0
T27F0 000:774.974 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:774.979 - 0.004ms returns 0
T27F0 000:774.984 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:774.989 - 0.004ms returns 0
T27F0 000:774.994 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:774.998 - 0.004ms returns 0
T27F0 000:775.004 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:775.008 - 0.004ms returns 0
T27F0 000:775.013 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:775.018 - 0.004ms returns 0
T27F0 000:775.023 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:775.028 - 0.004ms returns 0
T27F0 000:775.033 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:775.038 - 0.005ms returns 0
T27F0 000:775.043 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:775.048 - 0.004ms returns 0
T27F0 000:775.053 JLINK_WriteReg(R15 (PC), 0x200000B6)
T27F0 000:775.059 - 0.006ms returns 0
T27F0 000:775.065 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:775.069 - 0.004ms returns 0
T27F0 000:775.074 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:775.079 - 0.004ms returns 0
T27F0 000:775.084 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:775.089 - 0.004ms returns 0
T27F0 000:775.094 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:775.099 - 0.004ms returns 0
T27F0 000:775.104 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:775.110 - 0.005ms returns 0x00000017
T27F0 000:775.115 JLINK_Go()
T27F0 000:775.125 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:777.820 - 2.704ms
T27F0 000:777.833 JLINK_IsHalted()
T27F0 000:778.149 - 0.315ms returns FALSE
T27F0 000:778.156 JLINK_HasError()
T27F0 000:779.420 JLINK_IsHalted()
T27F0 000:779.759 - 0.339ms returns FALSE
T27F0 000:779.771 JLINK_HasError()
T27F0 000:781.418 JLINK_IsHalted()
T27F0 000:781.747 - 0.328ms returns FALSE
T27F0 000:781.758 JLINK_HasError()
T27F0 000:783.421 JLINK_IsHalted()
T27F0 000:783.756 - 0.334ms returns FALSE
T27F0 000:783.767 JLINK_HasError()
T27F0 000:785.383 JLINK_IsHalted()
T27F0 000:785.745 - 0.362ms returns FALSE
T27F0 000:785.757 JLINK_HasError()
T27F0 000:787.383 JLINK_IsHalted()
T27F0 000:787.740 - 0.356ms returns FALSE
T27F0 000:787.751 JLINK_HasError()
T27F0 000:789.395 JLINK_IsHalted()
T27F0 000:789.749 - 0.354ms returns FALSE
T27F0 000:789.761 JLINK_HasError()
T27F0 000:791.385 JLINK_IsHalted()
T27F0 000:791.748 - 0.362ms returns FALSE
T27F0 000:791.760 JLINK_HasError()
T27F0 000:793.378 JLINK_IsHalted()
T27F0 000:793.747 - 0.368ms returns FALSE
T27F0 000:793.758 JLINK_HasError()
T27F0 000:795.355 JLINK_IsHalted()
T27F0 000:795.689 - 0.332ms returns FALSE
T27F0 000:795.700 JLINK_HasError()
T27F0 000:797.325 JLINK_IsHalted()
T27F0 000:797.654 - 0.328ms returns FALSE
T27F0 000:797.667 JLINK_HasError()
T27F0 000:799.363 JLINK_IsHalted()
T27F0 000:799.661 - 0.298ms returns FALSE
T27F0 000:799.674 JLINK_HasError()
T27F0 000:801.350 JLINK_IsHalted()
T27F0 000:803.927 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:804.316 - 2.966ms returns TRUE
T27F0 000:804.330 JLINK_ReadReg(R15 (PC))
T27F0 000:804.338 - 0.007ms returns 0x20000000
T27F0 000:804.343 JLINK_ClrBPEx(BPHandle = 0x00000017)
T27F0 000:804.349 - 0.005ms returns 0x00
T27F0 000:804.354 JLINK_ReadReg(R0)
T27F0 000:804.359 - 0.004ms returns 0x00000000
T27F0 000:804.659 JLINK_HasError()
T27F0 000:804.669 JLINK_WriteReg(R0, 0x00000001)
T27F0 000:804.675 - 0.005ms returns 0
T27F0 000:804.681 JLINK_WriteReg(R1, 0x00000800)
T27F0 000:804.685 - 0.004ms returns 0
T27F0 000:804.691 JLINK_WriteReg(R2, 0x000000FF)
T27F0 000:804.696 - 0.004ms returns 0
T27F0 000:804.701 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:804.705 - 0.004ms returns 0
T27F0 000:804.711 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:804.715 - 0.004ms returns 0
T27F0 000:804.721 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:804.725 - 0.004ms returns 0
T27F0 000:804.731 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:804.735 - 0.004ms returns 0
T27F0 000:804.740 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:804.745 - 0.004ms returns 0
T27F0 000:804.750 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:804.755 - 0.004ms returns 0
T27F0 000:804.760 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:804.765 - 0.004ms returns 0
T27F0 000:804.770 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:804.775 - 0.004ms returns 0
T27F0 000:804.780 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:804.784 - 0.004ms returns 0
T27F0 000:804.790 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:804.794 - 0.004ms returns 0
T27F0 000:804.800 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:804.805 - 0.005ms returns 0
T27F0 000:804.810 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:804.814 - 0.004ms returns 0
T27F0 000:804.820 JLINK_WriteReg(R15 (PC), 0x2000006A)
T27F0 000:804.824 - 0.004ms returns 0
T27F0 000:804.830 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:804.834 - 0.004ms returns 0
T27F0 000:804.839 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:804.844 - 0.004ms returns 0
T27F0 000:804.849 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:804.854 - 0.004ms returns 0
T27F0 000:804.859 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:804.863 - 0.004ms returns 0
T27F0 000:804.869 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:804.875 - 0.005ms returns 0x00000018
T27F0 000:804.880 JLINK_Go()
T27F0 000:804.891 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:807.657 - 2.776ms
T27F0 000:807.669 JLINK_IsHalted()
T27F0 000:810.205 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:810.604 - 2.934ms returns TRUE
T27F0 000:810.616 JLINK_ReadReg(R15 (PC))
T27F0 000:810.623 - 0.007ms returns 0x20000000
T27F0 000:810.629 JLINK_ClrBPEx(BPHandle = 0x00000018)
T27F0 000:810.634 - 0.005ms returns 0x00
T27F0 000:810.640 JLINK_ReadReg(R0)
T27F0 000:810.645 - 0.004ms returns 0x00000000
T27F0 000:873.318 JLINK_WriteMem(0x20000000, 0x164 Bytes, ...)
T27F0 000:873.331 Data: 00 BE 0A E0 0D 78 2D 06 68 40 08 24 40 00 00 D3 ...
T27F0 000:873.350 CPU_WriteMem(356 bytes @ 0x20000000)
T27F0 000:876.865 - 3.547ms returns 0x164
T27F0 000:876.900 JLINK_HasError()
T27F0 000:876.909 JLINK_WriteReg(R0, 0x08000000)
T27F0 000:876.916 - 0.007ms returns 0
T27F0 000:876.921 JLINK_WriteReg(R1, 0x007A1200)
T27F0 000:876.926 - 0.004ms returns 0
T27F0 000:876.931 JLINK_WriteReg(R2, 0x00000002)
T27F0 000:876.936 - 0.004ms returns 0
T27F0 000:876.941 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:876.946 - 0.004ms returns 0
T27F0 000:876.951 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:876.956 - 0.004ms returns 0
T27F0 000:876.961 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:876.966 - 0.004ms returns 0
T27F0 000:876.971 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:876.976 - 0.004ms returns 0
T27F0 000:876.981 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:876.986 - 0.004ms returns 0
T27F0 000:876.991 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:876.996 - 0.004ms returns 0
T27F0 000:877.001 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:877.006 - 0.004ms returns 0
T27F0 000:877.011 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:877.016 - 0.004ms returns 0
T27F0 000:877.021 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:877.026 - 0.004ms returns 0
T27F0 000:877.031 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:877.036 - 0.004ms returns 0
T27F0 000:877.041 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:877.047 - 0.005ms returns 0
T27F0 000:877.052 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:877.056 - 0.004ms returns 0
T27F0 000:877.062 JLINK_WriteReg(R15 (PC), 0x20000038)
T27F0 000:877.067 - 0.004ms returns 0
T27F0 000:877.072 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:877.077 - 0.004ms returns 0
T27F0 000:877.082 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:877.086 - 0.004ms returns 0
T27F0 000:877.092 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:877.096 - 0.004ms returns 0
T27F0 000:877.102 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:877.106 - 0.004ms returns 0
T27F0 000:877.112 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:877.121 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:877.516 - 0.404ms returns 0x00000019
T27F0 000:877.528 JLINK_Go()
T27F0 000:877.535 CPU_WriteMem(2 bytes @ 0x20000000)
T27F0 000:877.889 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:880.666 - 3.137ms
T27F0 000:880.681 JLINK_IsHalted()
T27F0 000:883.235 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:883.623 - 2.942ms returns TRUE
T27F0 000:883.637 JLINK_ReadReg(R15 (PC))
T27F0 000:883.644 - 0.006ms returns 0x20000000
T27F0 000:883.649 JLINK_ClrBPEx(BPHandle = 0x00000019)
T27F0 000:883.654 - 0.005ms returns 0x00
T27F0 000:883.660 JLINK_ReadReg(R0)
T27F0 000:883.665 - 0.004ms returns 0x00000000
T27F0 000:883.944 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 000:883.953 Data: 70 0F 00 20 CD 01 00 08 F5 3A 00 08 95 31 00 08 ...
T27F0 000:883.967 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 000:890.128 - 6.183ms returns 0x29C
T27F0 000:890.146 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 000:890.152 Data: C0 09 AC E8 C0 09 21 F0 07 01 8D 46 70 47 10 B5 ...
T27F0 000:890.172 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 000:893.617 - 3.470ms returns 0x164
T27F0 000:893.632 JLINK_HasError()
T27F0 000:893.639 JLINK_WriteReg(R0, 0x08000000)
T27F0 000:893.646 - 0.007ms returns 0
T27F0 000:893.652 JLINK_WriteReg(R1, 0x00000400)
T27F0 000:893.657 - 0.005ms returns 0
T27F0 000:893.662 JLINK_WriteReg(R2, 0x20000164)
T27F0 000:893.667 - 0.004ms returns 0
T27F0 000:893.672 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:893.677 - 0.004ms returns 0
T27F0 000:893.683 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:893.687 - 0.004ms returns 0
T27F0 000:893.692 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:893.697 - 0.004ms returns 0
T27F0 000:893.702 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:893.707 - 0.004ms returns 0
T27F0 000:893.712 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:893.717 - 0.004ms returns 0
T27F0 000:893.725 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:893.732 - 0.006ms returns 0
T27F0 000:893.738 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:893.742 - 0.004ms returns 0
T27F0 000:893.747 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:893.752 - 0.004ms returns 0
T27F0 000:893.757 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:893.762 - 0.004ms returns 0
T27F0 000:893.767 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:893.772 - 0.004ms returns 0
T27F0 000:893.777 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:893.782 - 0.005ms returns 0
T27F0 000:893.788 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:893.792 - 0.004ms returns 0
T27F0 000:893.798 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 000:893.802 - 0.005ms returns 0
T27F0 000:893.808 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:893.812 - 0.004ms returns 0
T27F0 000:893.817 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:893.822 - 0.004ms returns 0
T27F0 000:893.827 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:893.832 - 0.004ms returns 0
T27F0 000:893.837 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:893.842 - 0.004ms returns 0
T27F0 000:893.847 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:893.853 - 0.005ms returns 0x0000001A
T27F0 000:893.858 JLINK_Go()
T27F0 000:893.870 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:896.669 - 2.809ms
T27F0 000:896.686 JLINK_IsHalted()
T27F0 000:897.085 - 0.398ms returns FALSE
T27F0 000:897.096 JLINK_HasError()
T27F0 000:901.111 JLINK_IsHalted()
T27F0 000:901.494 - 0.382ms returns FALSE
T27F0 000:901.508 JLINK_HasError()
T27F0 000:903.133 JLINK_IsHalted()
T27F0 000:903.503 - 0.370ms returns FALSE
T27F0 000:903.516 JLINK_HasError()
T27F0 000:905.095 JLINK_IsHalted()
T27F0 000:905.459 - 0.363ms returns FALSE
T27F0 000:905.471 JLINK_HasError()
T27F0 000:907.395 JLINK_IsHalted()
T27F0 000:907.758 - 0.363ms returns FALSE
T27F0 000:907.771 JLINK_HasError()
T27F0 000:909.412 JLINK_IsHalted()
T27F0 000:909.769 - 0.356ms returns FALSE
T27F0 000:909.781 JLINK_HasError()
T27F0 000:911.382 JLINK_IsHalted()
T27F0 000:911.736 - 0.354ms returns FALSE
T27F0 000:911.748 JLINK_HasError()
T27F0 000:913.379 JLINK_IsHalted()
T27F0 000:913.728 - 0.348ms returns FALSE
T27F0 000:913.739 JLINK_HasError()
T27F0 000:915.372 JLINK_IsHalted()
T27F0 000:915.819 - 0.447ms returns FALSE
T27F0 000:915.830 JLINK_HasError()
T27F0 000:916.927 JLINK_IsHalted()
T27F0 000:917.334 - 0.407ms returns FALSE
T27F0 000:917.345 JLINK_HasError()
T27F0 000:918.908 JLINK_IsHalted()
T27F0 000:919.325 - 0.416ms returns FALSE
T27F0 000:919.337 JLINK_HasError()
T27F0 000:920.447 JLINK_IsHalted()
T27F0 000:920.937 - 0.490ms returns FALSE
T27F0 000:920.949 JLINK_HasError()
T27F0 000:922.048 JLINK_IsHalted()
T27F0 000:922.464 - 0.416ms returns FALSE
T27F0 000:922.476 JLINK_HasError()
T27F0 000:923.579 JLINK_IsHalted()
T27F0 000:924.008 - 0.428ms returns FALSE
T27F0 000:924.019 JLINK_HasError()
T27F0 000:925.124 JLINK_IsHalted()
T27F0 000:925.542 - 0.417ms returns FALSE
T27F0 000:925.554 JLINK_HasError()
T27F0 000:926.655 JLINK_IsHalted()
T27F0 000:927.134 - 0.478ms returns FALSE
T27F0 000:927.145 JLINK_HasError()
T27F0 000:928.245 JLINK_IsHalted()
T27F0 000:930.984 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:931.429 - 3.182ms returns TRUE
T27F0 000:931.440 JLINK_ReadReg(R15 (PC))
T27F0 000:931.448 - 0.007ms returns 0x20000000
T27F0 000:931.454 JLINK_ClrBPEx(BPHandle = 0x0000001A)
T27F0 000:931.459 - 0.005ms returns 0x00
T27F0 000:931.465 JLINK_ReadReg(R0)
T27F0 000:931.470 - 0.004ms returns 0x00000000
T27F0 000:931.894 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 000:931.903 Data: A4 43 C2 F2 00 03 00 F0 1B FA 40 F6 00 40 C4 F2 ...
T27F0 000:931.915 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 000:938.116 - 6.222ms returns 0x29C
T27F0 000:938.129 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 000:938.135 Data: FF E7 FF E7 00 98 40 F2 01 11 88 42 09 D1 FF E7 ...
T27F0 000:938.146 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 000:941.610 - 3.480ms returns 0x164
T27F0 000:941.623 JLINK_HasError()
T27F0 000:941.635 JLINK_WriteReg(R0, 0x08000400)
T27F0 000:941.642 - 0.006ms returns 0
T27F0 000:941.648 JLINK_WriteReg(R1, 0x00000400)
T27F0 000:941.653 - 0.005ms returns 0
T27F0 000:941.659 JLINK_WriteReg(R2, 0x20000164)
T27F0 000:941.664 - 0.004ms returns 0
T27F0 000:941.670 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:941.674 - 0.004ms returns 0
T27F0 000:941.680 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:941.685 - 0.004ms returns 0
T27F0 000:941.690 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:941.695 - 0.004ms returns 0
T27F0 000:941.700 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:941.705 - 0.004ms returns 0
T27F0 000:941.710 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:941.715 - 0.004ms returns 0
T27F0 000:941.720 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:941.725 - 0.004ms returns 0
T27F0 000:941.730 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:941.735 - 0.004ms returns 0
T27F0 000:941.798 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:941.810 - 0.012ms returns 0
T27F0 000:941.816 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:941.821 - 0.005ms returns 0
T27F0 000:941.826 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:941.831 - 0.004ms returns 0
T27F0 000:941.836 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:941.842 - 0.005ms returns 0
T27F0 000:941.847 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:941.852 - 0.004ms returns 0
T27F0 000:941.857 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 000:941.862 - 0.004ms returns 0
T27F0 000:941.867 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:941.872 - 0.004ms returns 0
T27F0 000:941.877 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:941.882 - 0.004ms returns 0
T27F0 000:941.887 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:941.892 - 0.004ms returns 0
T27F0 000:941.897 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:941.902 - 0.004ms returns 0
T27F0 000:941.907 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:941.913 - 0.006ms returns 0x0000001B
T27F0 000:941.919 JLINK_Go()
T27F0 000:941.930 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:944.902 - 2.983ms
T27F0 000:944.915 JLINK_IsHalted()
T27F0 000:945.325 - 0.409ms returns FALSE
T27F0 000:945.337 JLINK_HasError()
T27F0 000:946.427 JLINK_IsHalted()
T27F0 000:946.901 - 0.473ms returns FALSE
T27F0 000:946.913 JLINK_HasError()
T27F0 000:947.995 JLINK_IsHalted()
T27F0 000:948.401 - 0.405ms returns FALSE
T27F0 000:948.414 JLINK_HasError()
T27F0 000:949.992 JLINK_IsHalted()
T27F0 000:950.400 - 0.407ms returns FALSE
T27F0 000:950.414 JLINK_HasError()
T27F0 000:952.083 JLINK_IsHalted()
T27F0 000:952.511 - 0.427ms returns FALSE
T27F0 000:952.526 JLINK_HasError()
T27F0 000:953.600 JLINK_IsHalted()
T27F0 000:954.016 - 0.415ms returns FALSE
T27F0 000:954.031 JLINK_HasError()
T27F0 000:955.595 JLINK_IsHalted()
T27F0 000:955.957 - 0.361ms returns FALSE
T27F0 000:955.972 JLINK_HasError()
T27F0 000:957.658 JLINK_IsHalted()
T27F0 000:958.044 - 0.385ms returns FALSE
T27F0 000:958.061 JLINK_HasError()
T27F0 000:959.676 JLINK_IsHalted()
T27F0 000:960.118 - 0.441ms returns FALSE
T27F0 000:960.135 JLINK_HasError()
T27F0 000:961.693 JLINK_IsHalted()
T27F0 000:962.113 - 0.419ms returns FALSE
T27F0 000:962.129 JLINK_HasError()
T27F0 000:964.181 JLINK_IsHalted()
T27F0 000:964.570 - 0.388ms returns FALSE
T27F0 000:964.588 JLINK_HasError()
T27F0 000:967.606 JLINK_IsHalted()
T27F0 000:968.002 - 0.394ms returns FALSE
T27F0 000:968.025 JLINK_HasError()
T27F0 000:969.644 JLINK_IsHalted()
T27F0 000:970.118 - 0.473ms returns FALSE
T27F0 000:970.140 JLINK_HasError()
T27F0 000:971.695 JLINK_IsHalted()
T27F0 000:972.118 - 0.422ms returns FALSE
T27F0 000:972.140 JLINK_HasError()
T27F0 000:973.688 JLINK_IsHalted()
T27F0 000:974.122 - 0.433ms returns FALSE
T27F0 000:974.147 JLINK_HasError()
T27F0 000:976.167 JLINK_IsHalted()
T27F0 000:978.850 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 000:979.381 - 3.213ms returns TRUE
T27F0 000:979.412 JLINK_ReadReg(R15 (PC))
T27F0 000:979.431 - 0.018ms returns 0x20000000
T27F0 000:979.446 JLINK_ClrBPEx(BPHandle = 0x0000001B)
T27F0 000:979.459 - 0.013ms returns 0x00
T27F0 000:979.480 JLINK_ReadReg(R0)
T27F0 000:979.499 - 0.018ms returns 0x00000000
T27F0 000:980.731 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 000:980.769 Data: 01 28 05 D0 FF E7 9D F8 03 00 02 28 0A D1 FF E7 ...
T27F0 000:980.803 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 000:987.041 - 6.305ms returns 0x29C
T27F0 000:987.085 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 000:987.103 Data: 04 02 FF E7 03 98 00 69 40 B9 FF E7 02 9A 01 99 ...
T27F0 000:987.139 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 000:990.678 - 3.590ms returns 0x164
T27F0 000:990.726 JLINK_HasError()
T27F0 000:990.754 JLINK_WriteReg(R0, 0x08000800)
T27F0 000:990.783 - 0.029ms returns 0
T27F0 000:990.806 JLINK_WriteReg(R1, 0x00000400)
T27F0 000:990.827 - 0.021ms returns 0
T27F0 000:990.850 JLINK_WriteReg(R2, 0x20000164)
T27F0 000:990.870 - 0.020ms returns 0
T27F0 000:990.898 JLINK_WriteReg(R3, 0x00000000)
T27F0 000:990.918 - 0.020ms returns 0
T27F0 000:990.941 JLINK_WriteReg(R4, 0x00000000)
T27F0 000:990.961 - 0.020ms returns 0
T27F0 000:990.984 JLINK_WriteReg(R5, 0x00000000)
T27F0 000:991.004 - 0.020ms returns 0
T27F0 000:991.026 JLINK_WriteReg(R6, 0x00000000)
T27F0 000:991.046 - 0.020ms returns 0
T27F0 000:991.069 JLINK_WriteReg(R7, 0x00000000)
T27F0 000:991.088 - 0.019ms returns 0
T27F0 000:991.111 JLINK_WriteReg(R8, 0x00000000)
T27F0 000:991.131 - 0.020ms returns 0
T27F0 000:991.154 JLINK_WriteReg(R9, 0x20000160)
T27F0 000:991.174 - 0.020ms returns 0
T27F0 000:991.196 JLINK_WriteReg(R10, 0x00000000)
T27F0 000:991.217 - 0.021ms returns 0
T27F0 000:991.240 JLINK_WriteReg(R11, 0x00000000)
T27F0 000:991.260 - 0.020ms returns 0
T27F0 000:991.282 JLINK_WriteReg(R12, 0x00000000)
T27F0 000:991.302 - 0.020ms returns 0
T27F0 000:991.325 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 000:991.347 - 0.022ms returns 0
T27F0 000:991.370 JLINK_WriteReg(R14, 0x20000001)
T27F0 000:991.390 - 0.020ms returns 0
T27F0 000:991.413 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 000:991.433 - 0.020ms returns 0
T27F0 000:991.456 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 000:991.477 - 0.021ms returns 0
T27F0 000:991.499 JLINK_WriteReg(MSP, 0x20001000)
T27F0 000:991.520 - 0.020ms returns 0
T27F0 000:991.542 JLINK_WriteReg(PSP, 0x20001000)
T27F0 000:991.562 - 0.020ms returns 0
T27F0 000:991.585 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 000:991.605 - 0.020ms returns 0
T27F0 000:991.629 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 000:991.653 - 0.024ms returns 0x0000001C
T27F0 000:991.675 JLINK_Go()
T27F0 000:991.720 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 000:994.892 - 3.215ms
T27F0 000:994.947 JLINK_IsHalted()
T27F0 000:995.398 - 0.448ms returns FALSE
T27F0 000:995.455 JLINK_HasError()
T27F0 001:006.271 JLINK_IsHalted()
T27F0 001:006.934 - 0.661ms returns FALSE
T27F0 001:006.985 JLINK_HasError()
T27F0 001:008.958 JLINK_IsHalted()
T27F0 001:009.500 - 0.540ms returns FALSE
T27F0 001:009.550 JLINK_HasError()
T27F0 001:010.971 JLINK_IsHalted()
T27F0 001:011.484 - 0.512ms returns FALSE
T27F0 001:011.534 JLINK_HasError()
T27F0 001:012.949 JLINK_IsHalted()
T27F0 001:013.488 - 0.537ms returns FALSE
T27F0 001:013.538 JLINK_HasError()
T27F0 001:015.311 JLINK_IsHalted()
T27F0 001:015.929 - 0.616ms returns FALSE
T27F0 001:015.978 JLINK_HasError()
T27F0 001:017.967 JLINK_IsHalted()
T27F0 001:018.524 - 0.555ms returns FALSE
T27F0 001:018.575 JLINK_HasError()
T27F0 001:019.948 JLINK_IsHalted()
T27F0 001:020.496 - 0.546ms returns FALSE
T27F0 001:020.546 JLINK_HasError()
T27F0 001:021.941 JLINK_IsHalted()
T27F0 001:022.503 - 0.559ms returns FALSE
T27F0 001:022.553 JLINK_HasError()
T27F0 001:023.942 JLINK_IsHalted()
T27F0 001:024.497 - 0.553ms returns FALSE
T27F0 001:024.547 JLINK_HasError()
T27F0 001:025.931 JLINK_IsHalted()
T27F0 001:028.852 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:029.433 - 3.500ms returns TRUE
T27F0 001:029.484 JLINK_ReadReg(R15 (PC))
T27F0 001:029.514 - 0.029ms returns 0x20000000
T27F0 001:029.538 JLINK_ClrBPEx(BPHandle = 0x0000001C)
T27F0 001:029.561 - 0.022ms returns 0x00
T27F0 001:029.604 JLINK_ReadReg(R0)
T27F0 001:029.626 - 0.021ms returns 0x00000000
T27F0 001:031.222 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:031.261 Data: 04 D3 FF E7 02 99 08 20 08 61 0B E0 04 98 00 68 ...
T27F0 001:031.309 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:037.641 - 6.418ms returns 0x29C
T27F0 001:037.693 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:037.717 Data: 09 98 00 F0 2B FC FF E7 FF E7 FF E7 FF E7 9D F8 ...
T27F0 001:037.765 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:041.381 - 3.687ms returns 0x164
T27F0 001:041.432 JLINK_HasError()
T27F0 001:041.460 JLINK_WriteReg(R0, 0x08000C00)
T27F0 001:041.488 - 0.028ms returns 0
T27F0 001:041.512 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:041.533 - 0.021ms returns 0
T27F0 001:041.556 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:041.576 - 0.020ms returns 0
T27F0 001:041.599 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:041.619 - 0.020ms returns 0
T27F0 001:041.660 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:041.681 - 0.020ms returns 0
T27F0 001:041.703 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:041.723 - 0.020ms returns 0
T27F0 001:041.746 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:041.766 - 0.020ms returns 0
T27F0 001:041.788 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:041.808 - 0.020ms returns 0
T27F0 001:041.831 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:041.852 - 0.020ms returns 0
T27F0 001:041.874 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:041.894 - 0.020ms returns 0
T27F0 001:041.917 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:041.938 - 0.021ms returns 0
T27F0 001:041.960 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:041.980 - 0.020ms returns 0
T27F0 001:042.003 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:042.023 - 0.020ms returns 0
T27F0 001:042.046 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:042.068 - 0.022ms returns 0
T27F0 001:042.090 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:042.111 - 0.020ms returns 0
T27F0 001:042.134 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:042.154 - 0.020ms returns 0
T27F0 001:042.177 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:042.197 - 0.020ms returns 0
T27F0 001:042.220 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:042.240 - 0.020ms returns 0
T27F0 001:042.262 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:042.283 - 0.020ms returns 0
T27F0 001:042.305 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:042.329 - 0.024ms returns 0
T27F0 001:042.354 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:042.378 - 0.024ms returns 0x0000001D
T27F0 001:042.400 JLINK_Go()
T27F0 001:042.445 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:045.662 - 3.259ms
T27F0 001:045.712 JLINK_IsHalted()
T27F0 001:046.233 - 0.519ms returns FALSE
T27F0 001:046.288 JLINK_HasError()
T27F0 001:048.347 JLINK_IsHalted()
T27F0 001:048.912 - 0.564ms returns FALSE
T27F0 001:048.963 JLINK_HasError()
T27F0 001:050.344 JLINK_IsHalted()
T27F0 001:051.005 - 0.659ms returns FALSE
T27F0 001:051.056 JLINK_HasError()
T27F0 001:052.907 JLINK_IsHalted()
T27F0 001:053.466 - 0.557ms returns FALSE
T27F0 001:053.516 JLINK_HasError()
T27F0 001:054.920 JLINK_IsHalted()
T27F0 001:055.473 - 0.551ms returns FALSE
T27F0 001:055.523 JLINK_HasError()
T27F0 001:056.881 JLINK_IsHalted()
T27F0 001:057.421 - 0.538ms returns FALSE
T27F0 001:057.472 JLINK_HasError()
T27F0 001:058.879 JLINK_IsHalted()
T27F0 001:059.405 - 0.525ms returns FALSE
T27F0 001:059.456 JLINK_HasError()
T27F0 001:060.878 JLINK_IsHalted()
T27F0 001:061.413 - 0.532ms returns FALSE
T27F0 001:061.463 JLINK_HasError()
T27F0 001:063.436 JLINK_IsHalted()
T27F0 001:063.977 - 0.539ms returns FALSE
T27F0 001:064.044 JLINK_HasError()
T27F0 001:065.438 JLINK_IsHalted()
T27F0 001:066.000 - 0.560ms returns FALSE
T27F0 001:066.050 JLINK_HasError()
T27F0 001:067.425 JLINK_IsHalted()
T27F0 001:067.933 - 0.506ms returns FALSE
T27F0 001:067.984 JLINK_HasError()
T27F0 001:069.451 JLINK_IsHalted()
T27F0 001:070.019 - 0.566ms returns FALSE
T27F0 001:070.069 JLINK_HasError()
T27F0 001:072.044 JLINK_IsHalted()
T27F0 001:072.601 - 0.555ms returns FALSE
T27F0 001:072.675 JLINK_HasError()
T27F0 001:074.025 JLINK_IsHalted()
T27F0 001:074.591 - 0.566ms returns FALSE
T27F0 001:074.629 JLINK_HasError()
T27F0 001:080.020 JLINK_IsHalted()
T27F0 001:083.040 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:083.655 - 3.633ms returns TRUE
T27F0 001:083.706 JLINK_ReadReg(R15 (PC))
T27F0 001:083.736 - 0.028ms returns 0x20000000
T27F0 001:083.760 JLINK_ClrBPEx(BPHandle = 0x0000001D)
T27F0 001:083.782 - 0.022ms returns 0x00
T27F0 001:083.805 JLINK_ReadReg(R0)
T27F0 001:083.826 - 0.020ms returns 0x00000000
T27F0 001:085.372 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:085.412 Data: 1E 00 80 07 00 28 0F D5 FF E7 9D F8 18 00 C0 06 ...
T27F0 001:085.460 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:091.757 - 6.383ms returns 0x29C
T27F0 001:091.823 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:091.847 Data: 02 98 80 7E 01 28 07 D1 FF E7 02 98 01 68 08 68 ...
T27F0 001:091.900 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:095.455 - 3.634ms returns 0x164
T27F0 001:095.477 JLINK_HasError()
T27F0 001:095.485 JLINK_WriteReg(R0, 0x08001000)
T27F0 001:095.494 - 0.008ms returns 0
T27F0 001:095.499 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:095.504 - 0.005ms returns 0
T27F0 001:095.510 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:095.514 - 0.004ms returns 0
T27F0 001:095.519 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:095.524 - 0.004ms returns 0
T27F0 001:095.529 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:095.534 - 0.004ms returns 0
T27F0 001:095.539 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:095.544 - 0.004ms returns 0
T27F0 001:095.549 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:095.554 - 0.004ms returns 0
T27F0 001:095.559 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:095.564 - 0.004ms returns 0
T27F0 001:095.572 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:095.577 - 0.004ms returns 0
T27F0 001:095.582 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:095.587 - 0.004ms returns 0
T27F0 001:095.592 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:095.597 - 0.004ms returns 0
T27F0 001:095.602 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:095.607 - 0.004ms returns 0
T27F0 001:095.612 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:095.616 - 0.004ms returns 0
T27F0 001:095.622 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:095.627 - 0.005ms returns 0
T27F0 001:095.632 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:095.637 - 0.004ms returns 0
T27F0 001:095.642 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:095.647 - 0.004ms returns 0
T27F0 001:095.653 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:095.657 - 0.005ms returns 0
T27F0 001:095.663 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:095.667 - 0.004ms returns 0
T27F0 001:095.672 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:095.677 - 0.004ms returns 0
T27F0 001:095.683 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:095.688 - 0.004ms returns 0
T27F0 001:095.694 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:095.699 - 0.006ms returns 0x0000001E
T27F0 001:095.705 JLINK_Go()
T27F0 001:095.718 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:098.602 - 2.896ms
T27F0 001:098.616 JLINK_IsHalted()
T27F0 001:099.036 - 0.419ms returns FALSE
T27F0 001:099.049 JLINK_HasError()
T27F0 001:100.643 JLINK_IsHalted()
T27F0 001:101.093 - 0.450ms returns FALSE
T27F0 001:101.105 JLINK_HasError()
T27F0 001:103.092 JLINK_IsHalted()
T27F0 001:103.512 - 0.420ms returns FALSE
T27F0 001:103.524 JLINK_HasError()
T27F0 001:105.092 JLINK_IsHalted()
T27F0 001:105.484 - 0.391ms returns FALSE
T27F0 001:105.495 JLINK_HasError()
T27F0 001:106.591 JLINK_IsHalted()
T27F0 001:107.032 - 0.440ms returns FALSE
T27F0 001:107.043 JLINK_HasError()
T27F0 001:108.609 JLINK_IsHalted()
T27F0 001:109.031 - 0.422ms returns FALSE
T27F0 001:109.043 JLINK_HasError()
T27F0 001:110.578 JLINK_IsHalted()
T27F0 001:111.016 - 0.437ms returns FALSE
T27F0 001:111.027 JLINK_HasError()
T27F0 001:112.127 JLINK_IsHalted()
T27F0 001:112.539 - 0.412ms returns FALSE
T27F0 001:112.550 JLINK_HasError()
T27F0 001:113.648 JLINK_IsHalted()
T27F0 001:114.134 - 0.485ms returns FALSE
T27F0 001:114.145 JLINK_HasError()
T27F0 001:115.242 JLINK_IsHalted()
T27F0 001:115.657 - 0.413ms returns FALSE
T27F0 001:115.668 JLINK_HasError()
T27F0 001:116.763 JLINK_IsHalted()
T27F0 001:117.180 - 0.416ms returns FALSE
T27F0 001:117.191 JLINK_HasError()
T27F0 001:118.761 JLINK_IsHalted()
T27F0 001:119.211 - 0.450ms returns FALSE
T27F0 001:119.223 JLINK_HasError()
T27F0 001:120.767 JLINK_IsHalted()
T27F0 001:121.192 - 0.424ms returns FALSE
T27F0 001:121.203 JLINK_HasError()
T27F0 001:122.729 JLINK_IsHalted()
T27F0 001:123.092 - 0.362ms returns FALSE
T27F0 001:123.103 JLINK_HasError()
T27F0 001:124.728 JLINK_IsHalted()
T27F0 001:125.088 - 0.359ms returns FALSE
T27F0 001:125.099 JLINK_HasError()
T27F0 001:126.205 JLINK_IsHalted()
T27F0 001:126.624 - 0.418ms returns FALSE
T27F0 001:126.635 JLINK_HasError()
T27F0 001:127.725 JLINK_IsHalted()
T27F0 001:128.132 - 0.406ms returns FALSE
T27F0 001:128.144 JLINK_HasError()
T27F0 001:129.824 JLINK_IsHalted()
T27F0 001:132.454 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:132.902 - 3.078ms returns TRUE
T27F0 001:132.916 JLINK_ReadReg(R15 (PC))
T27F0 001:132.924 - 0.008ms returns 0x20000000
T27F0 001:132.931 JLINK_ClrBPEx(BPHandle = 0x0000001E)
T27F0 001:132.937 - 0.006ms returns 0x00
T27F0 001:132.944 JLINK_ReadReg(R0)
T27F0 001:132.949 - 0.005ms returns 0x00000000
T27F0 001:133.421 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:133.431 Data: 03 22 0A 92 00 F0 02 FB 03 9A 13 20 02 90 11 46 ...
T27F0 001:133.445 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:139.647 - 6.225ms returns 0x29C
T27F0 001:139.663 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:139.670 Data: 48 62 02 99 05 20 81 F8 20 00 01 20 8D F8 0F 00 ...
T27F0 001:139.685 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:143.168 - 3.504ms returns 0x164
T27F0 001:143.185 JLINK_HasError()
T27F0 001:143.194 JLINK_WriteReg(R0, 0x08001400)
T27F0 001:143.204 - 0.009ms returns 0
T27F0 001:143.212 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:143.219 - 0.007ms returns 0
T27F0 001:143.226 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:143.233 - 0.006ms returns 0
T27F0 001:143.241 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:143.248 - 0.006ms returns 0
T27F0 001:143.255 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:143.261 - 0.006ms returns 0
T27F0 001:143.269 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:143.276 - 0.006ms returns 0
T27F0 001:143.283 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:143.290 - 0.006ms returns 0
T27F0 001:143.298 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:143.304 - 0.006ms returns 0
T27F0 001:143.312 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:143.319 - 0.006ms returns 0
T27F0 001:143.326 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:143.333 - 0.006ms returns 0
T27F0 001:143.340 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:143.347 - 0.006ms returns 0
T27F0 001:143.355 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:143.362 - 0.006ms returns 0
T27F0 001:143.369 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:143.376 - 0.006ms returns 0
T27F0 001:143.383 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:143.391 - 0.007ms returns 0
T27F0 001:143.398 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:143.405 - 0.006ms returns 0
T27F0 001:143.413 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:143.420 - 0.007ms returns 0
T27F0 001:143.427 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:143.434 - 0.006ms returns 0
T27F0 001:143.441 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:143.448 - 0.006ms returns 0
T27F0 001:143.455 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:143.462 - 0.006ms returns 0
T27F0 001:143.470 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:143.476 - 0.006ms returns 0
T27F0 001:143.485 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:143.492 - 0.008ms returns 0x0000001F
T27F0 001:143.500 JLINK_Go()
T27F0 001:143.515 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:146.462 - 2.961ms
T27F0 001:146.479 JLINK_IsHalted()
T27F0 001:146.889 - 0.409ms returns FALSE
T27F0 001:146.906 JLINK_HasError()
T27F0 001:148.189 JLINK_IsHalted()
T27F0 001:148.582 - 0.392ms returns FALSE
T27F0 001:148.600 JLINK_HasError()
T27F0 001:150.171 JLINK_IsHalted()
T27F0 001:150.618 - 0.446ms returns FALSE
T27F0 001:150.636 JLINK_HasError()
T27F0 001:152.110 JLINK_IsHalted()
T27F0 001:152.481 - 0.370ms returns FALSE
T27F0 001:152.493 JLINK_HasError()
T27F0 001:154.561 JLINK_IsHalted()
T27F0 001:154.874 - 0.312ms returns FALSE
T27F0 001:154.886 JLINK_HasError()
T27F0 001:155.986 JLINK_IsHalted()
T27F0 001:156.409 - 0.422ms returns FALSE
T27F0 001:156.421 JLINK_HasError()
T27F0 001:157.510 JLINK_IsHalted()
T27F0 001:157.925 - 0.414ms returns FALSE
T27F0 001:157.937 JLINK_HasError()
T27F0 001:159.502 JLINK_IsHalted()
T27F0 001:159.959 - 0.457ms returns FALSE
T27F0 001:159.972 JLINK_HasError()
T27F0 001:161.064 JLINK_IsHalted()
T27F0 001:161.480 - 0.415ms returns FALSE
T27F0 001:161.492 JLINK_HasError()
T27F0 001:163.050 JLINK_IsHalted()
T27F0 001:163.472 - 0.421ms returns FALSE
T27F0 001:163.486 JLINK_HasError()
T27F0 001:164.566 JLINK_IsHalted()
T27F0 001:165.004 - 0.436ms returns FALSE
T27F0 001:165.017 JLINK_HasError()
T27F0 001:166.101 JLINK_IsHalted()
T27F0 001:166.518 - 0.416ms returns FALSE
T27F0 001:166.531 JLINK_HasError()
T27F0 001:168.086 JLINK_IsHalted()
T27F0 001:168.468 - 0.381ms returns FALSE
T27F0 001:168.479 JLINK_HasError()
T27F0 001:170.091 JLINK_IsHalted()
T27F0 001:170.470 - 0.379ms returns FALSE
T27F0 001:170.481 JLINK_HasError()
T27F0 001:171.585 JLINK_IsHalted()
T27F0 001:171.957 - 0.370ms returns FALSE
T27F0 001:171.968 JLINK_HasError()
T27F0 001:173.563 JLINK_IsHalted()
T27F0 001:174.163 - 0.597ms returns FALSE
T27F0 001:174.218 JLINK_HasError()
T27F0 001:175.555 JLINK_IsHalted()
T27F0 001:176.160 - 0.603ms returns FALSE
T27F0 001:176.216 JLINK_HasError()
T27F0 001:177.553 JLINK_IsHalted()
T27F0 001:180.515 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:181.208 - 3.653ms returns TRUE
T27F0 001:181.263 JLINK_ReadReg(R15 (PC))
T27F0 001:181.295 - 0.031ms returns 0x20000000
T27F0 001:181.323 JLINK_ClrBPEx(BPHandle = 0x0000001F)
T27F0 001:181.347 - 0.024ms returns 0x00
T27F0 001:181.373 JLINK_ReadReg(R0)
T27F0 001:181.397 - 0.023ms returns 0x00000000
T27F0 001:183.066 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:183.109 Data: 01 EB C2 21 88 42 1F D2 FF E7 01 98 FE F7 A6 FE ...
T27F0 001:183.254 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:189.574 - 6.508ms returns 0x29C
T27F0 001:189.631 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:189.657 Data: C1 F2 21 01 88 42 28 D0 FF E7 07 98 00 21 C1 F2 ...
T27F0 001:189.710 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:193.361 - 3.729ms returns 0x164
T27F0 001:193.416 JLINK_HasError()
T27F0 001:193.448 JLINK_WriteReg(R0, 0x08001800)
T27F0 001:193.479 - 0.031ms returns 0
T27F0 001:193.505 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:193.529 - 0.023ms returns 0
T27F0 001:193.554 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:193.577 - 0.023ms returns 0
T27F0 001:193.602 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:193.625 - 0.022ms returns 0
T27F0 001:193.650 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:193.673 - 0.022ms returns 0
T27F0 001:193.699 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:193.722 - 0.023ms returns 0
T27F0 001:193.747 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:193.770 - 0.023ms returns 0
T27F0 001:193.795 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:193.818 - 0.023ms returns 0
T27F0 001:193.843 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:193.866 - 0.022ms returns 0
T27F0 001:193.891 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:193.914 - 0.023ms returns 0
T27F0 001:193.940 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:193.963 - 0.023ms returns 0
T27F0 001:193.988 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:194.011 - 0.023ms returns 0
T27F0 001:194.037 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:194.059 - 0.022ms returns 0
T27F0 001:194.086 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:194.110 - 0.025ms returns 0
T27F0 001:194.136 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:194.159 - 0.023ms returns 0
T27F0 001:194.205 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:194.229 - 0.024ms returns 0
T27F0 001:194.255 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:194.283 - 0.027ms returns 0
T27F0 001:194.308 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:194.330 - 0.022ms returns 0
T27F0 001:194.356 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:194.378 - 0.022ms returns 0
T27F0 001:194.404 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:194.426 - 0.022ms returns 0
T27F0 001:194.453 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:194.480 - 0.027ms returns 0x00000020
T27F0 001:194.505 JLINK_Go()
T27F0 001:194.554 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:197.950 - 3.442ms
T27F0 001:198.005 JLINK_IsHalted()
T27F0 001:198.568 - 0.560ms returns FALSE
T27F0 001:198.622 JLINK_HasError()
T27F0 001:204.288 JLINK_IsHalted()
T27F0 001:204.929 - 0.639ms returns FALSE
T27F0 001:204.985 JLINK_HasError()
T27F0 001:206.954 JLINK_IsHalted()
T27F0 001:207.535 - 0.579ms returns FALSE
T27F0 001:207.591 JLINK_HasError()
T27F0 001:208.952 JLINK_IsHalted()
T27F0 001:209.526 - 0.572ms returns FALSE
T27F0 001:209.582 JLINK_HasError()
T27F0 001:211.530 JLINK_IsHalted()
T27F0 001:212.160 - 0.628ms returns FALSE
T27F0 001:212.215 JLINK_HasError()
T27F0 001:213.558 JLINK_IsHalted()
T27F0 001:214.115 - 0.555ms returns FALSE
T27F0 001:214.170 JLINK_HasError()
T27F0 001:215.545 JLINK_IsHalted()
T27F0 001:216.114 - 0.567ms returns FALSE
T27F0 001:216.170 JLINK_HasError()
T27F0 001:217.518 JLINK_IsHalted()
T27F0 001:217.855 - 0.336ms returns FALSE
T27F0 001:217.867 JLINK_HasError()
T27F0 001:219.506 JLINK_IsHalted()
T27F0 001:219.850 - 0.343ms returns FALSE
T27F0 001:219.862 JLINK_HasError()
T27F0 001:221.499 JLINK_IsHalted()
T27F0 001:221.910 - 0.411ms returns FALSE
T27F0 001:221.922 JLINK_HasError()
T27F0 001:223.573 JLINK_IsHalted()
T27F0 001:223.985 - 0.411ms returns FALSE
T27F0 001:223.996 JLINK_HasError()
T27F0 001:225.094 JLINK_IsHalted()
T27F0 001:225.520 - 0.425ms returns FALSE
T27F0 001:225.531 JLINK_HasError()
T27F0 001:227.089 JLINK_IsHalted()
T27F0 001:227.514 - 0.424ms returns FALSE
T27F0 001:227.525 JLINK_HasError()
T27F0 001:228.623 JLINK_IsHalted()
T27F0 001:231.188 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:231.647 - 3.023ms returns TRUE
T27F0 001:231.659 JLINK_ReadReg(R15 (PC))
T27F0 001:231.666 - 0.007ms returns 0x20000000
T27F0 001:231.672 JLINK_ClrBPEx(BPHandle = 0x00000020)
T27F0 001:231.677 - 0.005ms returns 0x00
T27F0 001:231.682 JLINK_ReadReg(R0)
T27F0 001:231.687 - 0.004ms returns 0x00000000
T27F0 001:232.108 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:232.117 Data: 11 98 41 F2 00 01 C4 F2 01 01 88 42 03 D1 FF E7 ...
T27F0 001:232.129 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:238.365 - 6.256ms returns 0x29C
T27F0 001:238.377 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:238.383 Data: 10 44 08 60 70 47 00 00 80 B5 42 F2 00 01 C4 F2 ...
T27F0 001:238.394 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:241.907 - 3.529ms returns 0x164
T27F0 001:241.919 JLINK_HasError()
T27F0 001:241.925 JLINK_WriteReg(R0, 0x08001C00)
T27F0 001:241.932 - 0.006ms returns 0
T27F0 001:241.937 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:241.942 - 0.004ms returns 0
T27F0 001:241.947 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:241.952 - 0.004ms returns 0
T27F0 001:241.957 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:241.962 - 0.004ms returns 0
T27F0 001:241.967 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:241.972 - 0.004ms returns 0
T27F0 001:241.977 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:241.982 - 0.004ms returns 0
T27F0 001:241.987 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:241.992 - 0.004ms returns 0
T27F0 001:241.997 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:242.002 - 0.004ms returns 0
T27F0 001:242.007 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:242.012 - 0.004ms returns 0
T27F0 001:242.017 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:242.022 - 0.004ms returns 0
T27F0 001:242.027 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:242.032 - 0.004ms returns 0
T27F0 001:242.043 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:242.048 - 0.005ms returns 0
T27F0 001:242.053 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:242.058 - 0.004ms returns 0
T27F0 001:242.063 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:242.068 - 0.005ms returns 0
T27F0 001:242.073 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:242.078 - 0.004ms returns 0
T27F0 001:242.083 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:242.088 - 0.004ms returns 0
T27F0 001:242.093 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:242.098 - 0.004ms returns 0
T27F0 001:242.103 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:242.107 - 0.004ms returns 0
T27F0 001:242.113 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:242.117 - 0.004ms returns 0
T27F0 001:242.123 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:242.127 - 0.004ms returns 0
T27F0 001:242.133 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:242.139 - 0.005ms returns 0x00000021
T27F0 001:242.144 JLINK_Go()
T27F0 001:242.154 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:245.107 - 2.963ms
T27F0 001:245.120 JLINK_IsHalted()
T27F0 001:245.542 - 0.422ms returns FALSE
T27F0 001:245.555 JLINK_HasError()
T27F0 001:246.832 JLINK_IsHalted()
T27F0 001:247.252 - 0.419ms returns FALSE
T27F0 001:247.264 JLINK_HasError()
T27F0 001:249.333 JLINK_IsHalted()
T27F0 001:249.790 - 0.456ms returns FALSE
T27F0 001:249.803 JLINK_HasError()
T27F0 001:250.885 JLINK_IsHalted()
T27F0 001:251.261 - 0.374ms returns FALSE
T27F0 001:251.275 JLINK_HasError()
T27F0 001:252.875 JLINK_IsHalted()
T27F0 001:253.297 - 0.421ms returns FALSE
T27F0 001:253.312 JLINK_HasError()
T27F0 001:255.384 JLINK_IsHalted()
T27F0 001:255.790 - 0.405ms returns FALSE
T27F0 001:255.805 JLINK_HasError()
T27F0 001:256.879 JLINK_IsHalted()
T27F0 001:257.291 - 0.411ms returns FALSE
T27F0 001:257.306 JLINK_HasError()
T27F0 001:258.377 JLINK_IsHalted()
T27F0 001:258.790 - 0.412ms returns FALSE
T27F0 001:258.807 JLINK_HasError()
T27F0 001:260.369 JLINK_IsHalted()
T27F0 001:260.777 - 0.407ms returns FALSE
T27F0 001:260.793 JLINK_HasError()
T27F0 001:262.359 JLINK_IsHalted()
T27F0 001:262.816 - 0.456ms returns FALSE
T27F0 001:262.835 JLINK_HasError()
T27F0 001:264.353 JLINK_IsHalted()
T27F0 001:264.767 - 0.413ms returns FALSE
T27F0 001:264.785 JLINK_HasError()
T27F0 001:266.437 JLINK_IsHalted()
T27F0 001:266.921 - 0.482ms returns FALSE
T27F0 001:266.939 JLINK_HasError()
T27F0 001:269.028 JLINK_IsHalted()
T27F0 001:269.500 - 0.470ms returns FALSE
T27F0 001:269.521 JLINK_HasError()
T27F0 001:271.569 JLINK_IsHalted()
T27F0 001:272.019 - 0.449ms returns FALSE
T27F0 001:272.041 JLINK_HasError()
T27F0 001:274.126 JLINK_IsHalted()
T27F0 001:274.568 - 0.441ms returns FALSE
T27F0 001:274.593 JLINK_HasError()
T27F0 001:276.565 JLINK_IsHalted()
T27F0 001:279.246 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:279.756 - 3.190ms returns TRUE
T27F0 001:279.791 JLINK_ReadReg(R15 (PC))
T27F0 001:279.810 - 0.017ms returns 0x20000000
T27F0 001:279.824 JLINK_ClrBPEx(BPHandle = 0x00000021)
T27F0 001:279.838 - 0.013ms returns 0x00
T27F0 001:279.854 JLINK_ReadReg(R0)
T27F0 001:279.867 - 0.012ms returns 0x00000000
T27F0 001:280.844 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:280.868 Data: 00 90 00 98 08 60 FF E7 03 B0 70 47 80 B5 82 B0 ...
T27F0 001:280.897 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:287.166 - 6.321ms returns 0x29C
T27F0 001:287.205 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:287.223 Data: 40 F2 10 00 C2 F2 00 00 00 68 FF F7 11 FE 00 20 ...
T27F0 001:287.260 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:290.929 - 3.722ms returns 0x164
T27F0 001:290.979 JLINK_HasError()
T27F0 001:291.007 JLINK_WriteReg(R0, 0x08002000)
T27F0 001:291.035 - 0.028ms returns 0
T27F0 001:291.059 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:291.080 - 0.021ms returns 0
T27F0 001:291.103 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:291.124 - 0.020ms returns 0
T27F0 001:291.146 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:291.167 - 0.020ms returns 0
T27F0 001:291.201 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:291.230 - 0.029ms returns 0
T27F0 001:291.253 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:291.273 - 0.020ms returns 0
T27F0 001:291.295 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:291.316 - 0.020ms returns 0
T27F0 001:291.338 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:291.358 - 0.020ms returns 0
T27F0 001:291.381 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:291.401 - 0.020ms returns 0
T27F0 001:291.424 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:291.444 - 0.020ms returns 0
T27F0 001:291.467 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:291.487 - 0.020ms returns 0
T27F0 001:291.509 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:291.530 - 0.020ms returns 0
T27F0 001:291.552 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:291.572 - 0.020ms returns 0
T27F0 001:291.595 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:291.616 - 0.022ms returns 0
T27F0 001:291.639 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:291.659 - 0.020ms returns 0
T27F0 001:291.682 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:291.702 - 0.020ms returns 0
T27F0 001:291.725 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:291.745 - 0.020ms returns 0
T27F0 001:291.768 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:291.788 - 0.020ms returns 0
T27F0 001:291.810 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:291.831 - 0.020ms returns 0
T27F0 001:291.853 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:291.878 - 0.025ms returns 0
T27F0 001:291.903 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:291.927 - 0.024ms returns 0x00000022
T27F0 001:291.950 JLINK_Go()
T27F0 001:291.995 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:295.365 - 3.413ms
T27F0 001:295.419 JLINK_IsHalted()
T27F0 001:295.975 - 0.554ms returns FALSE
T27F0 001:296.030 JLINK_HasError()
T27F0 001:301.341 JLINK_IsHalted()
T27F0 001:301.902 - 0.559ms returns FALSE
T27F0 001:301.960 JLINK_HasError()
T27F0 001:303.310 JLINK_IsHalted()
T27F0 001:303.924 - 0.612ms returns FALSE
T27F0 001:303.979 JLINK_HasError()
T27F0 001:305.350 JLINK_IsHalted()
T27F0 001:305.924 - 0.572ms returns FALSE
T27F0 001:305.985 JLINK_HasError()
T27F0 001:307.380 JLINK_IsHalted()
T27F0 001:307.925 - 0.543ms returns FALSE
T27F0 001:307.980 JLINK_HasError()
T27F0 001:309.921 JLINK_IsHalted()
T27F0 001:310.494 - 0.571ms returns FALSE
T27F0 001:310.549 JLINK_HasError()
T27F0 001:312.519 JLINK_IsHalted()
T27F0 001:313.156 - 0.634ms returns FALSE
T27F0 001:313.210 JLINK_HasError()
T27F0 001:315.150 JLINK_IsHalted()
T27F0 001:315.722 - 0.570ms returns FALSE
T27F0 001:315.777 JLINK_HasError()
T27F0 001:317.181 JLINK_IsHalted()
T27F0 001:317.873 - 0.689ms returns FALSE
T27F0 001:317.928 JLINK_HasError()
T27F0 001:319.751 JLINK_IsHalted()
T27F0 001:320.290 - 0.537ms returns FALSE
T27F0 001:320.346 JLINK_HasError()
T27F0 001:322.315 JLINK_IsHalted()
T27F0 001:322.922 - 0.604ms returns FALSE
T27F0 001:322.976 JLINK_HasError()
T27F0 001:324.313 JLINK_IsHalted()
T27F0 001:324.929 - 0.613ms returns FALSE
T27F0 001:324.983 JLINK_HasError()
T27F0 001:326.963 JLINK_IsHalted()
T27F0 001:329.870 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:330.497 - 3.532ms returns TRUE
T27F0 001:330.560 JLINK_ReadReg(R15 (PC))
T27F0 001:330.593 - 0.032ms returns 0x20000000
T27F0 001:330.757 JLINK_ClrBPEx(BPHandle = 0x00000022)
T27F0 001:330.813 - 0.056ms returns 0x00
T27F0 001:330.843 JLINK_ReadReg(R0)
T27F0 001:330.870 - 0.025ms returns 0x00000000
T27F0 001:332.593 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:332.636 Data: 07 90 06 91 05 92 00 20 04 90 03 90 02 90 01 90 ...
T27F0 001:332.690 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:339.034 - 6.440ms returns 0x29C
T27F0 001:339.092 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:339.129 Data: 04 D3 FF E7 03 20 8D F8 17 00 16 E2 EA E7 41 F2 ...
T27F0 001:339.183 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:342.760 - 3.667ms returns 0x164
T27F0 001:342.820 JLINK_HasError()
T27F0 001:342.851 JLINK_WriteReg(R0, 0x08002400)
T27F0 001:342.883 - 0.032ms returns 0
T27F0 001:342.909 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:342.953 - 0.044ms returns 0
T27F0 001:342.980 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:343.003 - 0.023ms returns 0
T27F0 001:343.028 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:343.051 - 0.022ms returns 0
T27F0 001:343.143 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:343.169 - 0.026ms returns 0
T27F0 001:343.195 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:343.217 - 0.022ms returns 0
T27F0 001:343.243 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:343.265 - 0.022ms returns 0
T27F0 001:343.290 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:343.313 - 0.022ms returns 0
T27F0 001:343.338 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:343.361 - 0.022ms returns 0
T27F0 001:343.386 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:343.408 - 0.022ms returns 0
T27F0 001:343.434 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:343.457 - 0.023ms returns 0
T27F0 001:343.483 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:343.505 - 0.023ms returns 0
T27F0 001:343.531 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:343.553 - 0.022ms returns 0
T27F0 001:343.579 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:343.603 - 0.024ms returns 0
T27F0 001:343.629 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:343.651 - 0.022ms returns 0
T27F0 001:343.677 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:343.700 - 0.023ms returns 0
T27F0 001:343.725 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:343.748 - 0.023ms returns 0
T27F0 001:343.773 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:343.796 - 0.023ms returns 0
T27F0 001:343.824 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:343.847 - 0.022ms returns 0
T27F0 001:343.873 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:343.895 - 0.022ms returns 0
T27F0 001:343.922 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:343.948 - 0.027ms returns 0x00000023
T27F0 001:343.973 JLINK_Go()
T27F0 001:344.028 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:347.362 - 3.386ms
T27F0 001:347.417 JLINK_IsHalted()
T27F0 001:347.973 - 0.553ms returns FALSE
T27F0 001:348.033 JLINK_HasError()
T27F0 001:350.132 JLINK_IsHalted()
T27F0 001:350.706 - 0.572ms returns FALSE
T27F0 001:350.760 JLINK_HasError()
T27F0 001:352.703 JLINK_IsHalted()
T27F0 001:353.283 - 0.578ms returns FALSE
T27F0 001:353.338 JLINK_HasError()
T27F0 001:355.304 JLINK_IsHalted()
T27F0 001:355.939 - 0.633ms returns FALSE
T27F0 001:355.995 JLINK_HasError()
T27F0 001:361.712 JLINK_IsHalted()
T27F0 001:362.134 - 0.421ms returns FALSE
T27F0 001:362.146 JLINK_HasError()
T27F0 001:363.242 JLINK_IsHalted()
T27F0 001:363.659 - 0.417ms returns FALSE
T27F0 001:363.671 JLINK_HasError()
T27F0 001:364.768 JLINK_IsHalted()
T27F0 001:365.181 - 0.413ms returns FALSE
T27F0 001:365.193 JLINK_HasError()
T27F0 001:366.292 JLINK_IsHalted()
T27F0 001:366.708 - 0.415ms returns FALSE
T27F0 001:366.719 JLINK_HasError()
T27F0 001:368.199 JLINK_IsHalted()
T27F0 001:368.595 - 0.395ms returns FALSE
T27F0 001:368.606 JLINK_HasError()
T27F0 001:370.276 JLINK_IsHalted()
T27F0 001:370.597 - 0.320ms returns FALSE
T27F0 001:370.608 JLINK_HasError()
T27F0 001:372.283 JLINK_IsHalted()
T27F0 001:372.731 - 0.448ms returns FALSE
T27F0 001:372.743 JLINK_HasError()
T27F0 001:373.841 JLINK_IsHalted()
T27F0 001:374.273 - 0.431ms returns FALSE
T27F0 001:374.284 JLINK_HasError()
T27F0 001:375.381 JLINK_IsHalted()
T27F0 001:375.819 - 0.437ms returns FALSE
T27F0 001:375.827 JLINK_HasError()
T27F0 001:376.926 JLINK_IsHalted()
T27F0 001:377.353 - 0.426ms returns FALSE
T27F0 001:377.364 JLINK_HasError()
T27F0 001:378.944 JLINK_IsHalted()
T27F0 001:381.593 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:382.068 - 3.124ms returns TRUE
T27F0 001:382.082 JLINK_ReadReg(R15 (PC))
T27F0 001:382.089 - 0.007ms returns 0x20000000
T27F0 001:382.095 JLINK_ClrBPEx(BPHandle = 0x00000023)
T27F0 001:382.100 - 0.005ms returns 0x00
T27F0 001:382.105 JLINK_ReadReg(R0)
T27F0 001:382.110 - 0.004ms returns 0x00000000
T27F0 001:382.519 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:382.529 Data: 47 F2 00 01 C4 F2 00 01 08 68 40 F4 80 70 08 60 ...
T27F0 001:382.548 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:388.778 - 6.258ms returns 0x29C
T27F0 001:388.794 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:388.801 Data: 00 68 02 90 02 98 00 F4 80 30 04 99 09 6A 88 42 ...
T27F0 001:388.815 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:392.333 - 3.538ms returns 0x164
T27F0 001:392.347 JLINK_HasError()
T27F0 001:392.355 JLINK_WriteReg(R0, 0x08002800)
T27F0 001:392.363 - 0.007ms returns 0
T27F0 001:392.369 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:392.375 - 0.005ms returns 0
T27F0 001:392.381 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:392.387 - 0.005ms returns 0
T27F0 001:392.393 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:392.399 - 0.005ms returns 0
T27F0 001:392.418 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:392.424 - 0.006ms returns 0
T27F0 001:392.431 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:392.437 - 0.006ms returns 0
T27F0 001:392.444 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:392.450 - 0.006ms returns 0
T27F0 001:392.456 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:392.462 - 0.006ms returns 0
T27F0 001:392.469 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:392.475 - 0.006ms returns 0
T27F0 001:392.482 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:392.488 - 0.005ms returns 0
T27F0 001:392.495 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:392.501 - 0.006ms returns 0
T27F0 001:392.508 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:392.514 - 0.006ms returns 0
T27F0 001:392.521 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:392.527 - 0.006ms returns 0
T27F0 001:392.534 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:392.540 - 0.006ms returns 0
T27F0 001:392.547 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:392.553 - 0.006ms returns 0
T27F0 001:392.560 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:392.566 - 0.006ms returns 0
T27F0 001:392.573 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:392.579 - 0.006ms returns 0
T27F0 001:392.586 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:392.592 - 0.006ms returns 0
T27F0 001:392.599 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:392.605 - 0.006ms returns 0
T27F0 001:392.611 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:392.617 - 0.006ms returns 0
T27F0 001:392.625 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:392.632 - 0.007ms returns 0x00000024
T27F0 001:392.639 JLINK_Go()
T27F0 001:392.652 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:395.659 - 3.019ms
T27F0 001:395.673 JLINK_IsHalted()
T27F0 001:396.116 - 0.441ms returns FALSE
T27F0 001:396.131 JLINK_HasError()
T27F0 001:397.203 JLINK_IsHalted()
T27F0 001:397.603 - 0.398ms returns FALSE
T27F0 001:397.619 JLINK_HasError()
T27F0 001:399.213 JLINK_IsHalted()
T27F0 001:399.646 - 0.432ms returns FALSE
T27F0 001:399.663 JLINK_HasError()
T27F0 001:401.164 JLINK_IsHalted()
T27F0 001:401.530 - 0.365ms returns FALSE
T27F0 001:401.548 JLINK_HasError()
T27F0 001:404.151 JLINK_IsHalted()
T27F0 001:404.580 - 0.427ms returns FALSE
T27F0 001:404.599 JLINK_HasError()
T27F0 001:406.627 JLINK_IsHalted()
T27F0 001:407.119 - 0.491ms returns FALSE
T27F0 001:407.143 JLINK_HasError()
T27F0 001:408.626 JLINK_IsHalted()
T27F0 001:409.117 - 0.490ms returns FALSE
T27F0 001:409.139 JLINK_HasError()
T27F0 001:410.619 JLINK_IsHalted()
T27F0 001:411.070 - 0.450ms returns FALSE
T27F0 001:411.092 JLINK_HasError()
T27F0 001:413.115 JLINK_IsHalted()
T27F0 001:413.570 - 0.454ms returns FALSE
T27F0 001:413.595 JLINK_HasError()
T27F0 001:415.613 JLINK_IsHalted()
T27F0 001:416.111 - 0.497ms returns FALSE
T27F0 001:416.137 JLINK_HasError()
T27F0 001:417.600 JLINK_IsHalted()
T27F0 001:418.064 - 0.463ms returns FALSE
T27F0 001:418.095 JLINK_HasError()
T27F0 001:419.613 JLINK_IsHalted()
T27F0 001:420.053 - 0.439ms returns FALSE
T27F0 001:420.085 JLINK_HasError()
T27F0 001:421.602 JLINK_IsHalted()
T27F0 001:422.132 - 0.529ms returns FALSE
T27F0 001:422.163 JLINK_HasError()
T27F0 001:424.168 JLINK_IsHalted()
T27F0 001:424.695 - 0.525ms returns FALSE
T27F0 001:424.734 JLINK_HasError()
T27F0 001:426.723 JLINK_IsHalted()
T27F0 001:429.567 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:430.193 - 3.467ms returns TRUE
T27F0 001:430.244 JLINK_ReadReg(R15 (PC))
T27F0 001:430.273 - 0.028ms returns 0x20000000
T27F0 001:430.298 JLINK_ClrBPEx(BPHandle = 0x00000024)
T27F0 001:430.320 - 0.022ms returns 0x00
T27F0 001:430.343 JLINK_ReadReg(R0)
T27F0 001:430.378 - 0.020ms returns 0x00000000
T27F0 001:431.960 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:432.001 Data: 07 00 3F E0 00 98 90 F8 3D 00 40 B9 FF E7 00 99 ...
T27F0 001:432.048 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:438.387 - 6.426ms returns 0x29C
T27F0 001:438.445 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:438.469 Data: 04 98 01 68 88 68 40 F4 80 40 88 60 31 E0 04 98 ...
T27F0 001:438.517 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:442.154 - 3.708ms returns 0x164
T27F0 001:442.214 JLINK_HasError()
T27F0 001:442.243 JLINK_WriteReg(R0, 0x08002C00)
T27F0 001:442.271 - 0.028ms returns 0
T27F0 001:442.299 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:442.320 - 0.022ms returns 0
T27F0 001:442.347 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:442.368 - 0.021ms returns 0
T27F0 001:442.413 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:442.436 - 0.023ms returns 0
T27F0 001:442.464 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:442.487 - 0.023ms returns 0
T27F0 001:442.649 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:442.705 - 0.056ms returns 0
T27F0 001:442.734 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:442.759 - 0.024ms returns 0
T27F0 001:442.784 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:442.807 - 0.023ms returns 0
T27F0 001:442.833 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:442.856 - 0.023ms returns 0
T27F0 001:442.881 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:442.904 - 0.023ms returns 0
T27F0 001:442.930 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:442.953 - 0.023ms returns 0
T27F0 001:442.978 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:443.000 - 0.022ms returns 0
T27F0 001:443.026 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:443.049 - 0.022ms returns 0
T27F0 001:443.075 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:443.099 - 0.025ms returns 0
T27F0 001:443.124 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:443.148 - 0.023ms returns 0
T27F0 001:443.174 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:443.196 - 0.023ms returns 0
T27F0 001:443.222 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:443.250 - 0.028ms returns 0
T27F0 001:443.276 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:443.299 - 0.023ms returns 0
T27F0 001:443.324 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:443.347 - 0.023ms returns 0
T27F0 001:443.373 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:443.395 - 0.022ms returns 0
T27F0 001:443.424 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:443.452 - 0.029ms returns 0x00000025
T27F0 001:443.477 JLINK_Go()
T27F0 001:443.528 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:446.918 - 3.439ms
T27F0 001:446.974 JLINK_IsHalted()
T27F0 001:447.514 - 0.538ms returns FALSE
T27F0 001:447.569 JLINK_HasError()
T27F0 001:453.248 JLINK_IsHalted()
T27F0 001:453.840 - 0.589ms returns FALSE
T27F0 001:453.895 JLINK_HasError()
T27F0 001:455.245 JLINK_IsHalted()
T27F0 001:455.820 - 0.573ms returns FALSE
T27F0 001:455.875 JLINK_HasError()
T27F0 001:457.845 JLINK_IsHalted()
T27F0 001:458.409 - 0.562ms returns FALSE
T27F0 001:458.464 JLINK_HasError()
T27F0 001:459.874 JLINK_IsHalted()
T27F0 001:460.414 - 0.539ms returns FALSE
T27F0 001:460.470 JLINK_HasError()
T27F0 001:462.273 JLINK_IsHalted()
T27F0 001:462.836 - 0.561ms returns FALSE
T27F0 001:462.892 JLINK_HasError()
T27F0 001:464.271 JLINK_IsHalted()
T27F0 001:464.821 - 0.547ms returns FALSE
T27F0 001:464.875 JLINK_HasError()
T27F0 001:466.846 JLINK_IsHalted()
T27F0 001:467.416 - 0.569ms returns FALSE
T27F0 001:467.471 JLINK_HasError()
T27F0 001:468.842 JLINK_IsHalted()
T27F0 001:469.415 - 0.570ms returns FALSE
T27F0 001:469.470 JLINK_HasError()
T27F0 001:470.835 JLINK_IsHalted()
T27F0 001:471.404 - 0.567ms returns FALSE
T27F0 001:471.459 JLINK_HasError()
T27F0 001:472.831 JLINK_IsHalted()
T27F0 001:473.446 - 0.613ms returns FALSE
T27F0 001:473.521 JLINK_HasError()
T27F0 001:474.831 JLINK_IsHalted()
T27F0 001:475.417 - 0.583ms returns FALSE
T27F0 001:475.472 JLINK_HasError()
T27F0 001:476.823 JLINK_IsHalted()
T27F0 001:477.411 - 0.585ms returns FALSE
T27F0 001:477.467 JLINK_HasError()
T27F0 001:478.784 JLINK_IsHalted()
T27F0 001:481.390 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:481.838 - 3.054ms returns TRUE
T27F0 001:481.851 JLINK_ReadReg(R15 (PC))
T27F0 001:481.858 - 0.007ms returns 0x20000000
T27F0 001:481.864 JLINK_ClrBPEx(BPHandle = 0x00000025)
T27F0 001:481.869 - 0.005ms returns 0x00
T27F0 001:481.874 JLINK_ReadReg(R0)
T27F0 001:481.879 - 0.004ms returns 0x00000000
T27F0 001:482.284 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:482.293 Data: 00 07 00 28 24 D5 FF E7 9D F8 08 00 00 07 00 28 ...
T27F0 001:482.305 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:488.516 - 6.232ms returns 0x29C
T27F0 001:488.528 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:488.533 Data: 00 20 B1 EB 52 0F C8 BF 01 20 02 90 02 99 01 20 ...
T27F0 001:488.544 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:492.011 - 3.482ms returns 0x164
T27F0 001:492.022 JLINK_HasError()
T27F0 001:492.029 JLINK_WriteReg(R0, 0x08003000)
T27F0 001:492.035 - 0.006ms returns 0
T27F0 001:492.041 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:492.046 - 0.005ms returns 0
T27F0 001:492.051 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:492.056 - 0.004ms returns 0
T27F0 001:492.061 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:492.066 - 0.004ms returns 0
T27F0 001:492.071 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:492.076 - 0.004ms returns 0
T27F0 001:492.081 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:492.085 - 0.004ms returns 0
T27F0 001:492.091 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:492.095 - 0.004ms returns 0
T27F0 001:492.100 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:492.105 - 0.004ms returns 0
T27F0 001:492.110 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:492.115 - 0.004ms returns 0
T27F0 001:492.120 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:492.125 - 0.004ms returns 0
T27F0 001:492.130 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:492.135 - 0.004ms returns 0
T27F0 001:492.140 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:492.145 - 0.004ms returns 0
T27F0 001:492.150 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:492.155 - 0.004ms returns 0
T27F0 001:492.160 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:492.165 - 0.005ms returns 0
T27F0 001:492.171 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:492.175 - 0.004ms returns 0
T27F0 001:492.181 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:492.185 - 0.004ms returns 0
T27F0 001:492.191 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:492.195 - 0.004ms returns 0
T27F0 001:492.201 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:492.206 - 0.004ms returns 0
T27F0 001:492.211 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:492.215 - 0.004ms returns 0
T27F0 001:492.221 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:492.225 - 0.004ms returns 0
T27F0 001:492.231 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:492.237 - 0.005ms returns 0x00000026
T27F0 001:492.242 JLINK_Go()
T27F0 001:492.252 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:495.179 - 2.937ms
T27F0 001:495.192 JLINK_IsHalted()
T27F0 001:495.604 - 0.411ms returns FALSE
T27F0 001:495.616 JLINK_HasError()
T27F0 001:497.034 JLINK_IsHalted()
T27F0 001:497.479 - 0.444ms returns FALSE
T27F0 001:497.491 JLINK_HasError()
T27F0 001:501.359 JLINK_IsHalted()
T27F0 001:501.758 - 0.398ms returns FALSE
T27F0 001:501.772 JLINK_HasError()
T27F0 001:503.398 JLINK_IsHalted()
T27F0 001:503.835 - 0.436ms returns FALSE
T27F0 001:503.848 JLINK_HasError()
T27F0 001:505.397 JLINK_IsHalted()
T27F0 001:505.823 - 0.425ms returns FALSE
T27F0 001:505.836 JLINK_HasError()
T27F0 001:506.928 JLINK_IsHalted()
T27F0 001:507.353 - 0.424ms returns FALSE
T27F0 001:507.365 JLINK_HasError()
T27F0 001:508.454 JLINK_IsHalted()
T27F0 001:508.939 - 0.484ms returns FALSE
T27F0 001:508.948 JLINK_HasError()
T27F0 001:510.443 JLINK_IsHalted()
T27F0 001:510.925 - 0.481ms returns FALSE
T27F0 001:510.936 JLINK_HasError()
T27F0 001:512.434 JLINK_IsHalted()
T27F0 001:512.921 - 0.486ms returns FALSE
T27F0 001:512.930 JLINK_HasError()
T27F0 001:515.017 JLINK_IsHalted()
T27F0 001:515.459 - 0.441ms returns FALSE
T27F0 001:515.473 JLINK_HasError()
T27F0 001:516.527 JLINK_IsHalted()
T27F0 001:516.951 - 0.424ms returns FALSE
T27F0 001:516.965 JLINK_HasError()
T27F0 001:519.023 JLINK_IsHalted()
T27F0 001:519.434 - 0.410ms returns FALSE
T27F0 001:519.449 JLINK_HasError()
T27F0 001:521.033 JLINK_IsHalted()
T27F0 001:521.450 - 0.416ms returns FALSE
T27F0 001:521.465 JLINK_HasError()
T27F0 001:522.549 JLINK_IsHalted()
T27F0 001:522.993 - 0.443ms returns FALSE
T27F0 001:523.009 JLINK_HasError()
T27F0 001:524.072 JLINK_IsHalted()
T27F0 001:524.496 - 0.423ms returns FALSE
T27F0 001:524.507 JLINK_HasError()
T27F0 001:526.062 JLINK_IsHalted()
T27F0 001:528.700 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:529.178 - 3.114ms returns TRUE
T27F0 001:529.197 JLINK_ReadReg(R15 (PC))
T27F0 001:529.209 - 0.011ms returns 0x20000000
T27F0 001:529.218 JLINK_ClrBPEx(BPHandle = 0x00000026)
T27F0 001:529.226 - 0.008ms returns 0x00
T27F0 001:529.235 JLINK_ReadReg(R0)
T27F0 001:529.243 - 0.007ms returns 0x00000000
T27F0 001:529.854 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:529.868 Data: 4F F4 40 22 02 61 4F F4 80 12 42 61 01 76 41 76 ...
T27F0 001:529.887 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:536.105 - 6.252ms returns 0x29C
T27F0 001:536.127 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:536.137 Data: 80 BD 00 00 FF E7 FE E7 80 B5 82 B0 40 F2 38 60 ...
T27F0 001:536.158 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:539.675 - 3.547ms returns 0x164
T27F0 001:539.701 JLINK_HasError()
T27F0 001:539.715 JLINK_WriteReg(R0, 0x08003400)
T27F0 001:539.729 - 0.014ms returns 0
T27F0 001:539.741 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:539.752 - 0.010ms returns 0
T27F0 001:539.763 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:539.776 - 0.012ms returns 0
T27F0 001:539.788 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:539.798 - 0.010ms returns 0
T27F0 001:539.809 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:539.819 - 0.010ms returns 0
T27F0 001:539.831 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:539.841 - 0.010ms returns 0
T27F0 001:539.852 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:539.863 - 0.010ms returns 0
T27F0 001:539.874 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:539.884 - 0.010ms returns 0
T27F0 001:539.895 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:539.905 - 0.010ms returns 0
T27F0 001:539.917 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:539.927 - 0.010ms returns 0
T27F0 001:539.938 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:539.949 - 0.010ms returns 0
T27F0 001:539.960 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:539.970 - 0.010ms returns 0
T27F0 001:539.982 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:539.992 - 0.010ms returns 0
T27F0 001:540.003 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:540.014 - 0.011ms returns 0
T27F0 001:540.026 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:540.036 - 0.010ms returns 0
T27F0 001:540.047 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:540.058 - 0.010ms returns 0
T27F0 001:540.069 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:540.079 - 0.010ms returns 0
T27F0 001:540.091 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:540.101 - 0.010ms returns 0
T27F0 001:540.112 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:540.123 - 0.010ms returns 0
T27F0 001:540.134 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:540.144 - 0.010ms returns 0
T27F0 001:540.157 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:540.168 - 0.012ms returns 0x00000027
T27F0 001:540.180 JLINK_Go()
T27F0 001:540.202 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:543.284 - 3.102ms
T27F0 001:543.314 JLINK_IsHalted()
T27F0 001:543.765 - 0.449ms returns FALSE
T27F0 001:543.795 JLINK_HasError()
T27F0 001:545.812 JLINK_IsHalted()
T27F0 001:546.278 - 0.465ms returns FALSE
T27F0 001:546.313 JLINK_HasError()
T27F0 001:548.312 JLINK_IsHalted()
T27F0 001:548.833 - 0.520ms returns FALSE
T27F0 001:548.872 JLINK_HasError()
T27F0 001:550.307 JLINK_IsHalted()
T27F0 001:550.834 - 0.525ms returns FALSE
T27F0 001:550.874 JLINK_HasError()
T27F0 001:552.846 JLINK_IsHalted()
T27F0 001:553.390 - 0.542ms returns FALSE
T27F0 001:553.440 JLINK_HasError()
T27F0 001:555.414 JLINK_IsHalted()
T27F0 001:555.982 - 0.566ms returns FALSE
T27F0 001:556.032 JLINK_HasError()
T27F0 001:557.433 JLINK_IsHalted()
T27F0 001:558.023 - 0.587ms returns FALSE
T27F0 001:558.078 JLINK_HasError()
T27F0 001:559.412 JLINK_IsHalted()
T27F0 001:559.978 - 0.564ms returns FALSE
T27F0 001:560.033 JLINK_HasError()
T27F0 001:562.003 JLINK_IsHalted()
T27F0 001:562.568 - 0.563ms returns FALSE
T27F0 001:562.623 JLINK_HasError()
T27F0 001:563.997 JLINK_IsHalted()
T27F0 001:564.566 - 0.567ms returns FALSE
T27F0 001:564.620 JLINK_HasError()
T27F0 001:565.992 JLINK_IsHalted()
T27F0 001:566.559 - 0.565ms returns FALSE
T27F0 001:566.614 JLINK_HasError()
T27F0 001:567.992 JLINK_IsHalted()
T27F0 001:568.587 - 0.592ms returns FALSE
T27F0 001:568.642 JLINK_HasError()
T27F0 001:569.981 JLINK_IsHalted()
T27F0 001:570.549 - 0.565ms returns FALSE
T27F0 001:570.605 JLINK_HasError()
T27F0 001:572.361 JLINK_IsHalted()
T27F0 001:572.926 - 0.563ms returns FALSE
T27F0 001:572.982 JLINK_HasError()
T27F0 001:574.358 JLINK_IsHalted()
T27F0 001:577.313 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:577.937 - 3.576ms returns TRUE
T27F0 001:577.993 JLINK_ReadReg(R15 (PC))
T27F0 001:578.026 - 0.032ms returns 0x20000000
T27F0 001:578.053 JLINK_ClrBPEx(BPHandle = 0x00000027)
T27F0 001:578.079 - 0.025ms returns 0x00
T27F0 001:578.105 JLINK_ReadReg(R0)
T27F0 001:578.129 - 0.023ms returns 0x00000000
T27F0 001:579.832 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:579.879 Data: B0 01 C2 F2 00 01 00 20 08 60 40 F2 B8 00 C2 F2 ...
T27F0 001:579.933 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:586.287 - 6.455ms returns 0x29C
T27F0 001:586.343 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:586.369 Data: C4 F2 01 00 04 21 01 22 FE F7 8A F9 08 E0 41 F2 ...
T27F0 001:586.421 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:590.068 - 3.723ms returns 0x164
T27F0 001:590.123 JLINK_HasError()
T27F0 001:590.154 JLINK_WriteReg(R0, 0x08003800)
T27F0 001:590.186 - 0.031ms returns 0
T27F0 001:590.213 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:590.236 - 0.023ms returns 0
T27F0 001:590.262 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:590.286 - 0.023ms returns 0
T27F0 001:590.311 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:590.335 - 0.023ms returns 0
T27F0 001:590.360 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:590.383 - 0.022ms returns 0
T27F0 001:590.409 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:590.432 - 0.023ms returns 0
T27F0 001:590.458 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:590.481 - 0.023ms returns 0
T27F0 001:590.507 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:590.530 - 0.023ms returns 0
T27F0 001:590.556 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:590.578 - 0.022ms returns 0
T27F0 001:590.604 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:590.627 - 0.023ms returns 0
T27F0 001:590.653 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:590.677 - 0.023ms returns 0
T27F0 001:590.702 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:590.726 - 0.023ms returns 0
T27F0 001:590.751 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:590.773 - 0.022ms returns 0
T27F0 001:590.800 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:590.825 - 0.025ms returns 0
T27F0 001:590.851 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:590.874 - 0.023ms returns 0
T27F0 001:590.899 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:590.929 - 0.030ms returns 0
T27F0 001:590.955 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:590.978 - 0.024ms returns 0
T27F0 001:591.004 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:591.027 - 0.023ms returns 0
T27F0 001:591.052 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:591.076 - 0.023ms returns 0
T27F0 001:591.101 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:591.125 - 0.023ms returns 0
T27F0 001:591.172 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:591.199 - 0.028ms returns 0x00000028
T27F0 001:591.224 JLINK_Go()
T27F0 001:591.273 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:594.602 - 3.375ms
T27F0 001:594.656 JLINK_IsHalted()
T27F0 001:595.229 - 0.570ms returns FALSE
T27F0 001:595.286 JLINK_HasError()
T27F0 001:597.237 JLINK_IsHalted()
T27F0 001:597.800 - 0.561ms returns FALSE
T27F0 001:597.861 JLINK_HasError()
T27F0 001:599.831 JLINK_IsHalted()
T27F0 001:600.384 - 0.550ms returns FALSE
T27F0 001:600.438 JLINK_HasError()
T27F0 001:602.423 JLINK_IsHalted()
T27F0 001:603.041 - 0.615ms returns FALSE
T27F0 001:603.097 JLINK_HasError()
T27F0 001:604.415 JLINK_IsHalted()
T27F0 001:605.015 - 0.598ms returns FALSE
T27F0 001:605.071 JLINK_HasError()
T27F0 001:606.401 JLINK_IsHalted()
T27F0 001:606.986 - 0.583ms returns FALSE
T27F0 001:607.042 JLINK_HasError()
T27F0 001:608.391 JLINK_IsHalted()
T27F0 001:608.991 - 0.598ms returns FALSE
T27F0 001:609.046 JLINK_HasError()
T27F0 001:610.385 JLINK_IsHalted()
T27F0 001:610.983 - 0.596ms returns FALSE
T27F0 001:611.038 JLINK_HasError()
T27F0 001:612.353 JLINK_IsHalted()
T27F0 001:612.716 - 0.362ms returns FALSE
T27F0 001:612.728 JLINK_HasError()
T27F0 001:614.346 JLINK_IsHalted()
T27F0 001:614.763 - 0.417ms returns FALSE
T27F0 001:614.775 JLINK_HasError()
T27F0 001:616.422 JLINK_IsHalted()
T27F0 001:616.906 - 0.483ms returns FALSE
T27F0 001:616.918 JLINK_HasError()
T27F0 001:618.342 JLINK_IsHalted()
T27F0 001:618.762 - 0.419ms returns FALSE
T27F0 001:618.773 JLINK_HasError()
T27F0 001:620.414 JLINK_IsHalted()
T27F0 001:620.860 - 0.445ms returns FALSE
T27F0 001:620.872 JLINK_HasError()
T27F0 001:622.410 JLINK_IsHalted()
T27F0 001:622.850 - 0.440ms returns FALSE
T27F0 001:622.862 JLINK_HasError()
T27F0 001:625.365 JLINK_IsHalted()
T27F0 001:628.003 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:628.473 - 3.107ms returns TRUE
T27F0 001:628.482 JLINK_ReadReg(R15 (PC))
T27F0 001:628.488 - 0.006ms returns 0x20000000
T27F0 001:628.494 JLINK_ClrBPEx(BPHandle = 0x00000028)
T27F0 001:628.499 - 0.005ms returns 0x00
T27F0 001:628.504 JLINK_ReadReg(R0)
T27F0 001:628.509 - 0.004ms returns 0x00000000
T27F0 001:628.907 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:628.916 Data: FE F7 B0 F8 01 46 01 98 B1 FA 81 F1 4A 09 9D F8 ...
T27F0 001:628.928 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:635.104 - 6.196ms returns 0x29C
T27F0 001:635.116 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:635.122 Data: 03 90 FF E7 03 98 7F 28 25 D8 FF E7 03 9A 40 F2 ...
T27F0 001:635.134 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:638.622 - 3.505ms returns 0x164
T27F0 001:638.636 JLINK_HasError()
T27F0 001:638.644 JLINK_WriteReg(R0, 0x08003C00)
T27F0 001:638.651 - 0.007ms returns 0
T27F0 001:638.658 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:638.664 - 0.005ms returns 0
T27F0 001:638.670 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:638.675 - 0.005ms returns 0
T27F0 001:638.681 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:638.687 - 0.005ms returns 0
T27F0 001:638.693 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:638.699 - 0.005ms returns 0
T27F0 001:638.705 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:638.711 - 0.005ms returns 0
T27F0 001:638.717 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:638.723 - 0.005ms returns 0
T27F0 001:638.729 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:638.734 - 0.005ms returns 0
T27F0 001:638.740 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:638.746 - 0.005ms returns 0
T27F0 001:638.752 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:638.758 - 0.005ms returns 0
T27F0 001:638.764 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:638.770 - 0.005ms returns 0
T27F0 001:638.776 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:638.781 - 0.005ms returns 0
T27F0 001:638.788 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:638.793 - 0.005ms returns 0
T27F0 001:638.800 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:638.806 - 0.006ms returns 0
T27F0 001:638.812 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:638.822 - 0.009ms returns 0
T27F0 001:638.831 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:638.836 - 0.005ms returns 0
T27F0 001:638.843 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:638.848 - 0.005ms returns 0
T27F0 001:638.856 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:638.871 - 0.015ms returns 0
T27F0 001:638.878 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:638.883 - 0.005ms returns 0
T27F0 001:638.889 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:638.895 - 0.005ms returns 0
T27F0 001:638.902 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:638.908 - 0.006ms returns 0x00000029
T27F0 001:638.915 JLINK_Go()
T27F0 001:638.927 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:641.897 - 2.982ms
T27F0 001:641.911 JLINK_IsHalted()
T27F0 001:642.315 - 0.403ms returns FALSE
T27F0 001:642.328 JLINK_HasError()
T27F0 001:643.404 JLINK_IsHalted()
T27F0 001:643.818 - 0.413ms returns FALSE
T27F0 001:643.832 JLINK_HasError()
T27F0 001:644.909 JLINK_IsHalted()
T27F0 001:645.315 - 0.405ms returns FALSE
T27F0 001:645.330 JLINK_HasError()
T27F0 001:646.404 JLINK_IsHalted()
T27F0 001:646.808 - 0.404ms returns FALSE
T27F0 001:646.823 JLINK_HasError()
T27F0 001:648.417 JLINK_IsHalted()
T27F0 001:648.804 - 0.386ms returns FALSE
T27F0 001:648.822 JLINK_HasError()
T27F0 001:650.403 JLINK_IsHalted()
T27F0 001:650.893 - 0.489ms returns FALSE
T27F0 001:650.910 JLINK_HasError()
T27F0 001:652.973 JLINK_IsHalted()
T27F0 001:653.360 - 0.386ms returns FALSE
T27F0 001:653.379 JLINK_HasError()
T27F0 001:654.974 JLINK_IsHalted()
T27F0 001:655.389 - 0.414ms returns FALSE
T27F0 001:655.407 JLINK_HasError()
T27F0 001:657.507 JLINK_IsHalted()
T27F0 001:657.942 - 0.433ms returns FALSE
T27F0 001:657.963 JLINK_HasError()
T27F0 001:659.468 JLINK_IsHalted()
T27F0 001:659.897 - 0.428ms returns FALSE
T27F0 001:659.918 JLINK_HasError()
T27F0 001:661.976 JLINK_IsHalted()
T27F0 001:662.421 - 0.444ms returns FALSE
T27F0 001:662.446 JLINK_HasError()
T27F0 001:664.452 JLINK_IsHalted()
T27F0 001:664.898 - 0.445ms returns FALSE
T27F0 001:664.924 JLINK_HasError()
T27F0 001:666.941 JLINK_IsHalted()
T27F0 001:667.384 - 0.442ms returns FALSE
T27F0 001:667.425 JLINK_HasError()
T27F0 001:668.946 JLINK_IsHalted()
T27F0 001:669.387 - 0.439ms returns FALSE
T27F0 001:669.417 JLINK_HasError()
T27F0 001:673.416 JLINK_IsHalted()
T27F0 001:676.258 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:676.819 - 3.402ms returns TRUE
T27F0 001:676.864 JLINK_ReadReg(R15 (PC))
T27F0 001:676.887 - 0.022ms returns 0x20000000
T27F0 001:676.906 JLINK_ClrBPEx(BPHandle = 0x00000029)
T27F0 001:676.922 - 0.017ms returns 0x00
T27F0 001:676.943 JLINK_ReadReg(R0)
T27F0 001:676.959 - 0.015ms returns 0x00000000
T27F0 001:678.164 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:678.195 Data: 83 B0 02 90 01 91 02 98 00 68 00 90 02 98 42 F6 ...
T27F0 001:678.232 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:684.518 - 6.354ms returns 0x29C
T27F0 001:684.558 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:684.576 Data: 81 B0 8D F8 03 00 9D F9 03 00 00 28 0E D4 FF E7 ...
T27F0 001:684.612 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:688.209 - 3.649ms returns 0x164
T27F0 001:688.260 JLINK_HasError()
T27F0 001:688.288 JLINK_WriteReg(R0, 0x08004000)
T27F0 001:688.316 - 0.028ms returns 0
T27F0 001:688.339 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:688.361 - 0.021ms returns 0
T27F0 001:688.384 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:688.404 - 0.020ms returns 0
T27F0 001:688.427 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:688.446 - 0.019ms returns 0
T27F0 001:688.469 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:688.490 - 0.020ms returns 0
T27F0 001:688.512 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:688.533 - 0.020ms returns 0
T27F0 001:688.555 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:688.575 - 0.020ms returns 0
T27F0 001:688.598 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:688.618 - 0.020ms returns 0
T27F0 001:688.641 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:688.662 - 0.020ms returns 0
T27F0 001:688.684 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:688.724 - 0.040ms returns 0
T27F0 001:688.748 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:688.769 - 0.021ms returns 0
T27F0 001:688.792 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:688.812 - 0.020ms returns 0
T27F0 001:688.834 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:688.993 - 0.157ms returns 0
T27F0 001:689.023 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:689.047 - 0.024ms returns 0
T27F0 001:689.070 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:689.091 - 0.021ms returns 0
T27F0 001:689.114 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:689.135 - 0.021ms returns 0
T27F0 001:689.158 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:689.178 - 0.020ms returns 0
T27F0 001:689.216 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:689.239 - 0.038ms returns 0
T27F0 001:689.262 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:689.282 - 0.020ms returns 0
T27F0 001:689.305 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:689.325 - 0.020ms returns 0
T27F0 001:689.350 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:689.374 - 0.026ms returns 0x0000002A
T27F0 001:689.398 JLINK_Go()
T27F0 001:689.443 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:692.748 - 3.348ms
T27F0 001:692.797 JLINK_IsHalted()
T27F0 001:693.334 - 0.535ms returns FALSE
T27F0 001:693.384 JLINK_HasError()
T27F0 001:695.376 JLINK_IsHalted()
T27F0 001:695.937 - 0.559ms returns FALSE
T27F0 001:695.987 JLINK_HasError()
T27F0 001:697.967 JLINK_IsHalted()
T27F0 001:698.520 - 0.552ms returns FALSE
T27F0 001:698.571 JLINK_HasError()
T27F0 001:699.971 JLINK_IsHalted()
T27F0 001:700.530 - 0.557ms returns FALSE
T27F0 001:700.580 JLINK_HasError()
T27F0 001:702.690 JLINK_IsHalted()
T27F0 001:703.270 - 0.577ms returns FALSE
T27F0 001:703.320 JLINK_HasError()
T27F0 001:705.298 JLINK_IsHalted()
T27F0 001:705.930 - 0.629ms returns FALSE
T27F0 001:705.980 JLINK_HasError()
T27F0 001:707.961 JLINK_IsHalted()
T27F0 001:708.508 - 0.545ms returns FALSE
T27F0 001:708.559 JLINK_HasError()
T27F0 001:709.963 JLINK_IsHalted()
T27F0 001:710.498 - 0.533ms returns FALSE
T27F0 001:710.549 JLINK_HasError()
T27F0 001:711.948 JLINK_IsHalted()
T27F0 001:712.507 - 0.557ms returns FALSE
T27F0 001:712.557 JLINK_HasError()
T27F0 001:714.537 JLINK_IsHalted()
T27F0 001:715.098 - 0.560ms returns FALSE
T27F0 001:715.149 JLINK_HasError()
T27F0 001:716.542 JLINK_IsHalted()
T27F0 001:717.154 - 0.610ms returns FALSE
T27F0 001:717.205 JLINK_HasError()
T27F0 001:718.498 JLINK_IsHalted()
T27F0 001:719.049 - 0.549ms returns FALSE
T27F0 001:719.100 JLINK_HasError()
T27F0 001:720.530 JLINK_IsHalted()
T27F0 001:721.151 - 0.619ms returns FALSE
T27F0 001:721.201 JLINK_HasError()
T27F0 001:722.515 JLINK_IsHalted()
T27F0 001:723.079 - 0.562ms returns FALSE
T27F0 001:723.129 JLINK_HasError()
T27F0 001:725.109 JLINK_IsHalted()
T27F0 001:728.033 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:728.630 - 3.519ms returns TRUE
T27F0 001:728.686 JLINK_ReadReg(R15 (PC))
T27F0 001:728.716 - 0.029ms returns 0x20000000
T27F0 001:728.848 JLINK_ClrBPEx(BPHandle = 0x0000002A)
T27F0 001:728.878 - 0.030ms returns 0x00
T27F0 001:728.903 JLINK_ReadReg(R0)
T27F0 001:728.924 - 0.021ms returns 0x00000000
T27F0 001:730.510 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:730.551 Data: 01 30 00 90 E6 E7 FF E7 01 98 01 30 01 90 AE E7 ...
T27F0 001:730.600 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:736.935 - 6.424ms returns 0x29C
T27F0 001:736.986 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:737.010 Data: 30 F8 11 00 47 F2 2F 51 88 42 0F DC FF E7 40 F2 ...
T27F0 001:737.057 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:740.660 - 3.672ms returns 0x164
T27F0 001:740.711 JLINK_HasError()
T27F0 001:740.739 JLINK_WriteReg(R0, 0x08004400)
T27F0 001:740.768 - 0.029ms returns 0
T27F0 001:740.792 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:740.813 - 0.021ms returns 0
T27F0 001:740.836 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:740.857 - 0.020ms returns 0
T27F0 001:740.884 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:740.905 - 0.021ms returns 0
T27F0 001:740.948 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:740.969 - 0.021ms returns 0
T27F0 001:740.992 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:741.012 - 0.020ms returns 0
T27F0 001:741.035 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:741.055 - 0.020ms returns 0
T27F0 001:741.077 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:741.098 - 0.020ms returns 0
T27F0 001:741.120 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:741.140 - 0.020ms returns 0
T27F0 001:741.163 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:741.183 - 0.020ms returns 0
T27F0 001:741.206 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:741.226 - 0.020ms returns 0
T27F0 001:741.249 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:741.269 - 0.020ms returns 0
T27F0 001:741.292 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:741.312 - 0.020ms returns 0
T27F0 001:741.334 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:741.356 - 0.022ms returns 0
T27F0 001:741.379 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:741.399 - 0.020ms returns 0
T27F0 001:741.422 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:741.442 - 0.020ms returns 0
T27F0 001:741.464 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:741.484 - 0.020ms returns 0
T27F0 001:741.507 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:741.527 - 0.020ms returns 0
T27F0 001:741.549 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:741.569 - 0.019ms returns 0
T27F0 001:741.592 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:741.612 - 0.020ms returns 0
T27F0 001:741.636 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:741.660 - 0.025ms returns 0x0000002B
T27F0 001:741.682 JLINK_Go()
T27F0 001:741.727 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:744.997 - 3.313ms
T27F0 001:745.048 JLINK_IsHalted()
T27F0 001:745.568 - 0.518ms returns FALSE
T27F0 001:745.618 JLINK_HasError()
T27F0 001:752.019 JLINK_IsHalted()
T27F0 001:752.544 - 0.523ms returns FALSE
T27F0 001:752.598 JLINK_HasError()
T27F0 001:754.007 JLINK_IsHalted()
T27F0 001:754.563 - 0.554ms returns FALSE
T27F0 001:754.613 JLINK_HasError()
T27F0 001:756.592 JLINK_IsHalted()
T27F0 001:757.155 - 0.561ms returns FALSE
T27F0 001:757.205 JLINK_HasError()
T27F0 001:759.218 JLINK_IsHalted()
T27F0 001:759.779 - 0.559ms returns FALSE
T27F0 001:759.829 JLINK_HasError()
T27F0 001:761.789 JLINK_IsHalted()
T27F0 001:762.352 - 0.561ms returns FALSE
T27F0 001:762.402 JLINK_HasError()
T27F0 001:763.833 JLINK_IsHalted()
T27F0 001:764.381 - 0.546ms returns FALSE
T27F0 001:764.431 JLINK_HasError()
T27F0 001:766.411 JLINK_IsHalted()
T27F0 001:766.979 - 0.567ms returns FALSE
T27F0 001:767.029 JLINK_HasError()
T27F0 001:768.986 JLINK_IsHalted()
T27F0 001:769.605 - 0.616ms returns FALSE
T27F0 001:769.655 JLINK_HasError()
T27F0 001:771.004 JLINK_IsHalted()
T27F0 001:771.559 - 0.553ms returns FALSE
T27F0 001:771.610 JLINK_HasError()
T27F0 001:772.998 JLINK_IsHalted()
T27F0 001:773.560 - 0.560ms returns FALSE
T27F0 001:773.610 JLINK_HasError()
T27F0 001:774.992 JLINK_IsHalted()
T27F0 001:775.537 - 0.543ms returns FALSE
T27F0 001:775.588 JLINK_HasError()
T27F0 001:776.991 JLINK_IsHalted()
T27F0 001:779.891 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:780.486 - 3.493ms returns TRUE
T27F0 001:780.542 JLINK_ReadReg(R15 (PC))
T27F0 001:780.572 - 0.029ms returns 0x20000000
T27F0 001:780.737 JLINK_ClrBPEx(BPHandle = 0x0000002B)
T27F0 001:780.789 - 0.052ms returns 0x00
T27F0 001:780.816 JLINK_ReadReg(R0)
T27F0 001:780.839 - 0.022ms returns 0x00000000
T27F0 001:782.397 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:782.437 Data: 21 00 20 B3 FF E7 40 F2 B8 41 C2 F2 00 01 0B 68 ...
T27F0 001:782.510 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:788.952 - 6.554ms returns 0x29C
T27F0 001:789.018 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:789.043 Data: C2 F2 00 00 01 68 00 20 01 29 05 90 1D DB FF E7 ...
T27F0 001:789.090 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:792.685 - 3.681ms returns 0x164
T27F0 001:792.736 JLINK_HasError()
T27F0 001:792.764 JLINK_WriteReg(R0, 0x08004800)
T27F0 001:792.792 - 0.028ms returns 0
T27F0 001:792.828 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:792.858 - 0.030ms returns 0
T27F0 001:792.882 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:792.902 - 0.020ms returns 0
T27F0 001:792.925 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:792.945 - 0.020ms returns 0
T27F0 001:792.967 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:792.987 - 0.020ms returns 0
T27F0 001:793.015 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:793.036 - 0.020ms returns 0
T27F0 001:793.059 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:793.084 - 0.025ms returns 0
T27F0 001:793.106 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:793.127 - 0.020ms returns 0
T27F0 001:793.149 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:793.170 - 0.020ms returns 0
T27F0 001:793.192 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:793.211 - 0.019ms returns 0
T27F0 001:793.235 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:793.255 - 0.020ms returns 0
T27F0 001:793.278 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:793.298 - 0.020ms returns 0
T27F0 001:793.320 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:793.341 - 0.020ms returns 0
T27F0 001:793.364 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:793.385 - 0.021ms returns 0
T27F0 001:793.408 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:793.428 - 0.020ms returns 0
T27F0 001:793.451 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:793.472 - 0.021ms returns 0
T27F0 001:793.495 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:793.515 - 0.020ms returns 0
T27F0 001:793.537 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:793.557 - 0.020ms returns 0
T27F0 001:793.580 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:793.600 - 0.020ms returns 0
T27F0 001:793.623 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:793.643 - 0.020ms returns 0
T27F0 001:793.667 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:793.691 - 0.024ms returns 0x0000002C
T27F0 001:793.713 JLINK_Go()
T27F0 001:793.757 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:797.021 - 3.306ms
T27F0 001:797.071 JLINK_IsHalted()
T27F0 001:797.601 - 0.528ms returns FALSE
T27F0 001:797.651 JLINK_HasError()
T27F0 001:799.633 JLINK_IsHalted()
T27F0 001:800.154 - 0.519ms returns FALSE
T27F0 001:800.204 JLINK_HasError()
T27F0 001:802.192 JLINK_IsHalted()
T27F0 001:802.766 - 0.573ms returns FALSE
T27F0 001:802.816 JLINK_HasError()
T27F0 001:804.180 JLINK_IsHalted()
T27F0 001:804.736 - 0.555ms returns FALSE
T27F0 001:804.787 JLINK_HasError()
T27F0 001:806.174 JLINK_IsHalted()
T27F0 001:806.727 - 0.551ms returns FALSE
T27F0 001:806.783 JLINK_HasError()
T27F0 001:808.172 JLINK_IsHalted()
T27F0 001:808.693 - 0.519ms returns FALSE
T27F0 001:808.744 JLINK_HasError()
T27F0 001:810.166 JLINK_IsHalted()
T27F0 001:810.717 - 0.550ms returns FALSE
T27F0 001:810.767 JLINK_HasError()
T27F0 001:812.748 JLINK_IsHalted()
T27F0 001:813.298 - 0.548ms returns FALSE
T27F0 001:813.348 JLINK_HasError()
T27F0 001:814.741 JLINK_IsHalted()
T27F0 001:815.295 - 0.552ms returns FALSE
T27F0 001:815.346 JLINK_HasError()
T27F0 001:816.729 JLINK_IsHalted()
T27F0 001:817.291 - 0.560ms returns FALSE
T27F0 001:817.341 JLINK_HasError()
T27F0 001:819.304 JLINK_IsHalted()
T27F0 001:819.829 - 0.523ms returns FALSE
T27F0 001:819.879 JLINK_HasError()
T27F0 001:821.858 JLINK_IsHalted()
T27F0 001:822.405 - 0.546ms returns FALSE
T27F0 001:822.456 JLINK_HasError()
T27F0 001:823.862 JLINK_IsHalted()
T27F0 001:824.408 - 0.544ms returns FALSE
T27F0 001:824.459 JLINK_HasError()
T27F0 001:826.437 JLINK_IsHalted()
T27F0 001:827.007 - 0.568ms returns FALSE
T27F0 001:827.057 JLINK_HasError()
T27F0 001:829.004 JLINK_IsHalted()
T27F0 001:831.864 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:832.462 - 3.456ms returns TRUE
T27F0 001:832.518 JLINK_ReadReg(R15 (PC))
T27F0 001:832.548 - 0.029ms returns 0x20000000
T27F0 001:832.709 JLINK_ClrBPEx(BPHandle = 0x0000002C)
T27F0 001:832.760 - 0.051ms returns 0x00
T27F0 001:832.788 JLINK_ReadReg(R0)
T27F0 001:832.812 - 0.022ms returns 0x00000000
T27F0 001:834.372 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:834.412 Data: 40 F2 E4 40 C2 F2 00 00 01 60 03 68 40 F2 F4 41 ...
T27F0 001:834.503 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:840.932 - 6.559ms returns 0x29C
T27F0 001:840.985 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:841.009 Data: C2 F2 00 00 50 F8 21 00 80 B9 FF E7 40 F2 B8 40 ...
T27F0 001:841.056 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:844.621 - 3.634ms returns 0x164
T27F0 001:844.672 JLINK_HasError()
T27F0 001:844.700 JLINK_WriteReg(R0, 0x08004C00)
T27F0 001:844.728 - 0.028ms returns 0
T27F0 001:844.751 JLINK_WriteReg(R1, 0x00000400)
T27F0 001:844.772 - 0.021ms returns 0
T27F0 001:844.795 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:844.815 - 0.020ms returns 0
T27F0 001:844.838 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:844.858 - 0.020ms returns 0
T27F0 001:844.881 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:844.901 - 0.020ms returns 0
T27F0 001:844.924 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:844.944 - 0.020ms returns 0
T27F0 001:844.967 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:844.987 - 0.020ms returns 0
T27F0 001:845.010 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:845.030 - 0.020ms returns 0
T27F0 001:845.053 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:845.073 - 0.020ms returns 0
T27F0 001:845.096 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:845.116 - 0.020ms returns 0
T27F0 001:845.139 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:845.159 - 0.020ms returns 0
T27F0 001:845.182 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:845.202 - 0.020ms returns 0
T27F0 001:845.225 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:845.245 - 0.020ms returns 0
T27F0 001:845.268 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:845.290 - 0.022ms returns 0
T27F0 001:845.313 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:845.333 - 0.020ms returns 0
T27F0 001:845.356 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:845.376 - 0.020ms returns 0
T27F0 001:845.399 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:845.419 - 0.020ms returns 0
T27F0 001:845.441 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:845.462 - 0.020ms returns 0
T27F0 001:845.484 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:845.504 - 0.020ms returns 0
T27F0 001:845.527 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:845.548 - 0.020ms returns 0
T27F0 001:845.572 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:845.604 - 0.032ms returns 0x0000002D
T27F0 001:845.626 JLINK_Go()
T27F0 001:845.670 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:848.942 - 3.314ms
T27F0 001:848.993 JLINK_IsHalted()
T27F0 001:849.510 - 0.515ms returns FALSE
T27F0 001:849.560 JLINK_HasError()
T27F0 001:854.580 JLINK_IsHalted()
T27F0 001:855.113 - 0.531ms returns FALSE
T27F0 001:855.165 JLINK_HasError()
T27F0 001:856.537 JLINK_IsHalted()
T27F0 001:857.058 - 0.519ms returns FALSE
T27F0 001:857.108 JLINK_HasError()
T27F0 001:858.535 JLINK_IsHalted()
T27F0 001:859.057 - 0.520ms returns FALSE
T27F0 001:859.107 JLINK_HasError()
T27F0 001:860.456 JLINK_IsHalted()
T27F0 001:860.912 - 0.455ms returns FALSE
T27F0 001:860.923 JLINK_HasError()
T27F0 001:861.995 JLINK_IsHalted()
T27F0 001:862.415 - 0.419ms returns FALSE
T27F0 001:862.426 JLINK_HasError()
T27F0 001:863.527 JLINK_IsHalted()
T27F0 001:863.963 - 0.435ms returns FALSE
T27F0 001:863.974 JLINK_HasError()
T27F0 001:865.716 JLINK_IsHalted()
T27F0 001:866.135 - 0.418ms returns FALSE
T27F0 001:866.146 JLINK_HasError()
T27F0 001:867.246 JLINK_IsHalted()
T27F0 001:867.665 - 0.417ms returns FALSE
T27F0 001:867.676 JLINK_HasError()
T27F0 001:869.667 JLINK_IsHalted()
T27F0 001:870.079 - 0.411ms returns FALSE
T27F0 001:870.091 JLINK_HasError()
T27F0 001:873.340 JLINK_IsHalted()
T27F0 001:873.763 - 0.422ms returns FALSE
T27F0 001:873.775 JLINK_HasError()
T27F0 001:875.798 JLINK_IsHalted()
T27F0 001:876.210 - 0.411ms returns FALSE
T27F0 001:876.222 JLINK_HasError()
T27F0 001:877.318 JLINK_IsHalted()
T27F0 001:877.740 - 0.420ms returns FALSE
T27F0 001:877.751 JLINK_HasError()
T27F0 001:879.746 JLINK_IsHalted()
T27F0 001:882.368 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:882.824 - 3.078ms returns TRUE
T27F0 001:882.838 JLINK_ReadReg(R15 (PC))
T27F0 001:882.850 - 0.011ms returns 0x20000000
T27F0 001:882.858 JLINK_ClrBPEx(BPHandle = 0x0000002D)
T27F0 001:882.864 - 0.005ms returns 0x00
T27F0 001:882.924 JLINK_ReadReg(R0)
T27F0 001:882.937 - 0.013ms returns 0x00000000
T27F0 001:883.516 JLINK_WriteMem(0x20000164, 0x29C Bytes, ...)
T27F0 001:883.526 Data: C2 F2 00 01 08 80 40 F2 38 60 C2 F2 00 00 90 F8 ...
T27F0 001:883.539 CPU_WriteMem(668 bytes @ 0x20000164)
T27F0 001:889.724 - 6.208ms returns 0x29C
T27F0 001:889.747 JLINK_WriteMem(0x20000400, 0x164 Bytes, ...)
T27F0 001:889.753 Data: FF E7 9D F8 23 00 28 B1 FF E7 FC F7 E3 FA 8D F8 ...
T27F0 001:889.769 CPU_WriteMem(356 bytes @ 0x20000400)
T27F0 001:893.154 - 3.407ms returns 0x164
T27F0 001:893.168 JLINK_HasError()
T27F0 001:893.175 JLINK_WriteReg(R0, 0x08005000)
T27F0 001:893.183 - 0.007ms returns 0
T27F0 001:893.189 JLINK_WriteReg(R1, 0x00000328)
T27F0 001:893.194 - 0.005ms returns 0
T27F0 001:893.200 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:893.205 - 0.005ms returns 0
T27F0 001:893.211 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:893.216 - 0.005ms returns 0
T27F0 001:893.222 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:893.227 - 0.005ms returns 0
T27F0 001:893.233 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:893.238 - 0.005ms returns 0
T27F0 001:893.244 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:893.249 - 0.005ms returns 0
T27F0 001:893.254 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:893.260 - 0.005ms returns 0
T27F0 001:893.266 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:893.271 - 0.005ms returns 0
T27F0 001:893.276 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:893.282 - 0.005ms returns 0
T27F0 001:893.288 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:893.293 - 0.005ms returns 0
T27F0 001:893.299 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:893.304 - 0.005ms returns 0
T27F0 001:893.310 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:893.315 - 0.005ms returns 0
T27F0 001:893.321 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:893.326 - 0.005ms returns 0
T27F0 001:893.332 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:893.337 - 0.005ms returns 0
T27F0 001:893.343 JLINK_WriteReg(R15 (PC), 0x200000F4)
T27F0 001:893.349 - 0.005ms returns 0
T27F0 001:893.354 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:893.359 - 0.005ms returns 0
T27F0 001:893.365 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:893.370 - 0.005ms returns 0
T27F0 001:893.376 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:893.381 - 0.005ms returns 0
T27F0 001:893.387 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:893.392 - 0.005ms returns 0
T27F0 001:893.399 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:893.404 - 0.006ms returns 0x0000002E
T27F0 001:893.410 JLINK_Go()
T27F0 001:893.423 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:896.198 - 2.787ms
T27F0 001:896.210 JLINK_IsHalted()
T27F0 001:896.536 - 0.325ms returns FALSE
T27F0 001:896.547 JLINK_HasError()
T27F0 001:897.753 JLINK_IsHalted()
T27F0 001:898.088 - 0.335ms returns FALSE
T27F0 001:898.100 JLINK_HasError()
T27F0 001:899.734 JLINK_IsHalted()
T27F0 001:900.060 - 0.325ms returns FALSE
T27F0 001:900.072 JLINK_HasError()
T27F0 001:901.710 JLINK_IsHalted()
T27F0 001:902.078 - 0.367ms returns FALSE
T27F0 001:902.092 JLINK_HasError()
T27F0 001:903.727 JLINK_IsHalted()
T27F0 001:904.141 - 0.413ms returns FALSE
T27F0 001:904.152 JLINK_HasError()
T27F0 001:905.836 JLINK_IsHalted()
T27F0 001:906.256 - 0.420ms returns FALSE
T27F0 001:906.268 JLINK_HasError()
T27F0 001:907.365 JLINK_IsHalted()
T27F0 001:907.786 - 0.420ms returns FALSE
T27F0 001:907.798 JLINK_HasError()
T27F0 001:909.382 JLINK_IsHalted()
T27F0 001:909.769 - 0.386ms returns FALSE
T27F0 001:909.780 JLINK_HasError()
T27F0 001:911.357 JLINK_IsHalted()
T27F0 001:911.774 - 0.416ms returns FALSE
T27F0 001:911.786 JLINK_HasError()
T27F0 001:912.883 JLINK_IsHalted()
T27F0 001:913.300 - 0.416ms returns FALSE
T27F0 001:913.312 JLINK_HasError()
T27F0 001:914.409 JLINK_IsHalted()
T27F0 001:914.822 - 0.412ms returns FALSE
T27F0 001:914.833 JLINK_HasError()
T27F0 001:916.408 JLINK_IsHalted()
T27F0 001:916.808 - 0.399ms returns FALSE
T27F0 001:916.822 JLINK_HasError()
T27F0 001:917.914 JLINK_IsHalted()
T27F0 001:918.305 - 0.390ms returns FALSE
T27F0 001:918.317 JLINK_HasError()
T27F0 001:919.912 JLINK_IsHalted()
T27F0 001:920.330 - 0.418ms returns FALSE
T27F0 001:920.342 JLINK_HasError()
T27F0 001:921.907 JLINK_IsHalted()
T27F0 001:924.515 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:924.961 - 3.053ms returns TRUE
T27F0 001:924.973 JLINK_ReadReg(R15 (PC))
T27F0 001:924.980 - 0.007ms returns 0x20000000
T27F0 001:924.986 JLINK_ClrBPEx(BPHandle = 0x0000002E)
T27F0 001:924.991 - 0.005ms returns 0x00
T27F0 001:924.996 JLINK_ReadReg(R0)
T27F0 001:925.001 - 0.004ms returns 0x00000000
T27F0 001:925.007 JLINK_HasError()
T27F0 001:925.012 JLINK_WriteReg(R0, 0x00000002)
T27F0 001:925.018 - 0.005ms returns 0
T27F0 001:925.023 JLINK_WriteReg(R1, 0x00000328)
T27F0 001:925.028 - 0.005ms returns 0
T27F0 001:925.033 JLINK_WriteReg(R2, 0x20000164)
T27F0 001:925.038 - 0.004ms returns 0
T27F0 001:925.043 JLINK_WriteReg(R3, 0x00000000)
T27F0 001:925.048 - 0.004ms returns 0
T27F0 001:925.053 JLINK_WriteReg(R4, 0x00000000)
T27F0 001:925.058 - 0.004ms returns 0
T27F0 001:925.063 JLINK_WriteReg(R5, 0x00000000)
T27F0 001:925.068 - 0.004ms returns 0
T27F0 001:925.073 JLINK_WriteReg(R6, 0x00000000)
T27F0 001:925.078 - 0.004ms returns 0
T27F0 001:925.083 JLINK_WriteReg(R7, 0x00000000)
T27F0 001:925.088 - 0.004ms returns 0
T27F0 001:925.093 JLINK_WriteReg(R8, 0x00000000)
T27F0 001:925.098 - 0.004ms returns 0
T27F0 001:925.103 JLINK_WriteReg(R9, 0x20000160)
T27F0 001:925.108 - 0.004ms returns 0
T27F0 001:925.113 JLINK_WriteReg(R10, 0x00000000)
T27F0 001:925.118 - 0.004ms returns 0
T27F0 001:925.123 JLINK_WriteReg(R11, 0x00000000)
T27F0 001:925.128 - 0.004ms returns 0
T27F0 001:925.133 JLINK_WriteReg(R12, 0x00000000)
T27F0 001:925.138 - 0.004ms returns 0
T27F0 001:925.143 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 001:925.148 - 0.005ms returns 0
T27F0 001:925.154 JLINK_WriteReg(R14, 0x20000001)
T27F0 001:925.158 - 0.004ms returns 0
T27F0 001:925.164 JLINK_WriteReg(R15 (PC), 0x2000006A)
T27F0 001:925.168 - 0.004ms returns 0
T27F0 001:925.174 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 001:925.178 - 0.004ms returns 0
T27F0 001:925.184 JLINK_WriteReg(MSP, 0x20001000)
T27F0 001:925.188 - 0.004ms returns 0
T27F0 001:925.194 JLINK_WriteReg(PSP, 0x20001000)
T27F0 001:925.198 - 0.004ms returns 0
T27F0 001:925.204 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 001:925.208 - 0.004ms returns 0
T27F0 001:925.214 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 001:925.219 - 0.005ms returns 0x0000002F
T27F0 001:925.224 JLINK_Go()
T27F0 001:925.235 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 001:928.282 - 3.057ms
T27F0 001:928.294 JLINK_IsHalted()
T27F0 001:930.961 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 001:931.407 - 3.112ms returns TRUE
T27F0 001:931.418 JLINK_ReadReg(R15 (PC))
T27F0 001:931.425 - 0.006ms returns 0x20000000
T27F0 001:931.431 JLINK_ClrBPEx(BPHandle = 0x0000002F)
T27F0 001:931.436 - 0.005ms returns 0x00
T27F0 001:931.441 JLINK_ReadReg(R0)
T27F0 001:931.446 - 0.004ms returns 0x00000000
T27F0 002:004.735 JLINK_WriteMem(0x20000000, 0x164 Bytes, ...)
T27F0 002:004.748 Data: 00 BE 0A E0 0D 78 2D 06 68 40 08 24 40 00 00 D3 ...
T27F0 002:004.765 CPU_WriteMem(356 bytes @ 0x20000000)
T27F0 002:008.264 - 3.528ms returns 0x164
T27F0 002:008.293 JLINK_HasError()
T27F0 002:008.301 JLINK_WriteReg(R0, 0x08000000)
T27F0 002:008.307 - 0.006ms returns 0
T27F0 002:008.313 JLINK_WriteReg(R1, 0x007A1200)
T27F0 002:008.318 - 0.005ms returns 0
T27F0 002:008.323 JLINK_WriteReg(R2, 0x00000003)
T27F0 002:008.328 - 0.004ms returns 0
T27F0 002:008.333 JLINK_WriteReg(R3, 0x00000000)
T27F0 002:008.337 - 0.004ms returns 0
T27F0 002:008.342 JLINK_WriteReg(R4, 0x00000000)
T27F0 002:008.347 - 0.004ms returns 0
T27F0 002:008.352 JLINK_WriteReg(R5, 0x00000000)
T27F0 002:008.357 - 0.004ms returns 0
T27F0 002:008.362 JLINK_WriteReg(R6, 0x00000000)
T27F0 002:008.366 - 0.004ms returns 0
T27F0 002:008.375 JLINK_WriteReg(R7, 0x00000000)
T27F0 002:008.382 - 0.006ms returns 0
T27F0 002:008.387 JLINK_WriteReg(R8, 0x00000000)
T27F0 002:008.392 - 0.004ms returns 0
T27F0 002:008.397 JLINK_WriteReg(R9, 0x20000160)
T27F0 002:008.401 - 0.004ms returns 0
T27F0 002:008.406 JLINK_WriteReg(R10, 0x00000000)
T27F0 002:008.411 - 0.004ms returns 0
T27F0 002:008.416 JLINK_WriteReg(R11, 0x00000000)
T27F0 002:008.420 - 0.004ms returns 0
T27F0 002:008.426 JLINK_WriteReg(R12, 0x00000000)
T27F0 002:008.430 - 0.004ms returns 0
T27F0 002:008.435 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 002:008.440 - 0.005ms returns 0
T27F0 002:008.445 JLINK_WriteReg(R14, 0x20000001)
T27F0 002:008.450 - 0.004ms returns 0
T27F0 002:008.455 JLINK_WriteReg(R15 (PC), 0x20000038)
T27F0 002:008.460 - 0.004ms returns 0
T27F0 002:008.465 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 002:008.470 - 0.004ms returns 0
T27F0 002:008.475 JLINK_WriteReg(MSP, 0x20001000)
T27F0 002:008.479 - 0.004ms returns 0
T27F0 002:008.484 JLINK_WriteReg(PSP, 0x20001000)
T27F0 002:008.489 - 0.004ms returns 0
T27F0 002:008.494 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 002:008.498 - 0.004ms returns 0
T27F0 002:008.504 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 002:008.512 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 002:008.990 - 0.486ms returns 0x00000030
T27F0 002:009.006 JLINK_Go()
T27F0 002:009.013 CPU_WriteMem(2 bytes @ 0x20000000)
T27F0 002:009.429 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 002:012.461 - 3.454ms
T27F0 002:012.473 JLINK_IsHalted()
T27F0 002:015.107 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 002:015.551 - 3.077ms returns TRUE
T27F0 002:015.563 JLINK_ReadReg(R15 (PC))
T27F0 002:015.570 - 0.006ms returns 0x20000000
T27F0 002:015.575 JLINK_ClrBPEx(BPHandle = 0x00000030)
T27F0 002:015.580 - 0.005ms returns 0x00
T27F0 002:015.586 JLINK_ReadReg(R0)
T27F0 002:015.590 - 0.004ms returns 0x00000000
T27F0 002:015.648 JLINK_HasError()
T27F0 002:015.660 JLINK_WriteReg(R0, 0xFFFFFFFF)
T27F0 002:015.667 - 0.006ms returns 0
T27F0 002:015.672 JLINK_WriteReg(R1, 0x08000000)
T27F0 002:015.677 - 0.004ms returns 0
T27F0 002:015.682 JLINK_WriteReg(R2, 0x00005328)
T27F0 002:015.686 - 0.004ms returns 0
T27F0 002:015.691 JLINK_WriteReg(R3, 0x04C11DB7)
T27F0 002:015.696 - 0.004ms returns 0
T27F0 002:015.701 JLINK_WriteReg(R4, 0x00000000)
T27F0 002:015.706 - 0.004ms returns 0
T27F0 002:015.711 JLINK_WriteReg(R5, 0x00000000)
T27F0 002:015.715 - 0.004ms returns 0
T27F0 002:015.720 JLINK_WriteReg(R6, 0x00000000)
T27F0 002:015.725 - 0.004ms returns 0
T27F0 002:015.730 JLINK_WriteReg(R7, 0x00000000)
T27F0 002:015.735 - 0.004ms returns 0
T27F0 002:015.740 JLINK_WriteReg(R8, 0x00000000)
T27F0 002:015.744 - 0.004ms returns 0
T27F0 002:015.750 JLINK_WriteReg(R9, 0x20000160)
T27F0 002:015.754 - 0.004ms returns 0
T27F0 002:015.759 JLINK_WriteReg(R10, 0x00000000)
T27F0 002:015.764 - 0.004ms returns 0
T27F0 002:015.769 JLINK_WriteReg(R11, 0x00000000)
T27F0 002:015.774 - 0.004ms returns 0
T27F0 002:015.779 JLINK_WriteReg(R12, 0x00000000)
T27F0 002:015.783 - 0.004ms returns 0
T27F0 002:015.788 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 002:015.793 - 0.004ms returns 0
T27F0 002:015.798 JLINK_WriteReg(R14, 0x20000001)
T27F0 002:015.803 - 0.004ms returns 0
T27F0 002:015.808 JLINK_WriteReg(R15 (PC), 0x20000002)
T27F0 002:015.813 - 0.004ms returns 0
T27F0 002:015.818 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 002:015.823 - 0.004ms returns 0
T27F0 002:015.828 JLINK_WriteReg(MSP, 0x20001000)
T27F0 002:015.832 - 0.004ms returns 0
T27F0 002:015.838 JLINK_WriteReg(PSP, 0x20001000)
T27F0 002:015.842 - 0.004ms returns 0
T27F0 002:015.847 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 002:015.852 - 0.004ms returns 0
T27F0 002:015.857 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 002:015.863 - 0.005ms returns 0x00000031
T27F0 002:015.868 JLINK_Go()
T27F0 002:015.878 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 002:018.867 - 2.998ms
T27F0 002:018.896 JLINK_IsHalted()
T27F0 002:019.294 - 0.397ms returns FALSE
T27F0 002:019.309 JLINK_HasError()
T27F0 002:024.369 JLINK_IsHalted()
T27F0 002:024.794 - 0.424ms returns FALSE
T27F0 002:024.805 JLINK_HasError()
T27F0 002:025.875 JLINK_IsHalted()
T27F0 002:026.289 - 0.413ms returns FALSE
T27F0 002:026.300 JLINK_HasError()
T27F0 002:027.872 JLINK_IsHalted()
T27F0 002:028.289 - 0.416ms returns FALSE
T27F0 002:028.300 JLINK_HasError()
T27F0 002:029.914 JLINK_IsHalted()
T27F0 002:030.334 - 0.419ms returns FALSE
T27F0 002:030.344 JLINK_HasError()
T27F0 002:031.447 JLINK_IsHalted()
T27F0 002:031.913 - 0.465ms returns FALSE
T27F0 002:031.924 JLINK_HasError()
T27F0 002:033.030 JLINK_IsHalted()
T27F0 002:033.451 - 0.420ms returns FALSE
T27F0 002:033.462 JLINK_HasError()
T27F0 002:035.530 JLINK_IsHalted()
T27F0 002:035.991 - 0.460ms returns FALSE
T27F0 002:036.002 JLINK_HasError()
T27F0 002:037.106 JLINK_IsHalted()
T27F0 002:037.526 - 0.419ms returns FALSE
T27F0 002:037.537 JLINK_HasError()
T27F0 002:038.641 JLINK_IsHalted()
T27F0 002:039.125 - 0.483ms returns FALSE
T27F0 002:039.136 JLINK_HasError()
T27F0 002:040.662 JLINK_IsHalted()
T27F0 002:041.169 - 0.506ms returns FALSE
T27F0 002:041.181 JLINK_HasError()
T27F0 002:042.618 JLINK_IsHalted()
T27F0 002:043.066 - 0.447ms returns FALSE
T27F0 002:043.076 JLINK_HasError()
T27F0 002:044.185 JLINK_IsHalted()
T27F0 002:044.622 - 0.436ms returns FALSE
T27F0 002:044.633 JLINK_HasError()
T27F0 002:046.178 JLINK_IsHalted()
T27F0 002:046.622 - 0.443ms returns FALSE
T27F0 002:046.633 JLINK_HasError()
T27F0 002:047.728 JLINK_IsHalted()
T27F0 002:048.169 - 0.441ms returns FALSE
T27F0 002:048.181 JLINK_HasError()
T27F0 002:050.023 JLINK_IsHalted()
T27F0 002:050.436 - 0.412ms returns FALSE
T27F0 002:050.448 JLINK_HasError()
T27F0 002:051.934 JLINK_IsHalted()
T27F0 002:052.380 - 0.445ms returns FALSE
T27F0 002:052.393 JLINK_HasError()
T27F0 002:053.491 JLINK_IsHalted()
T27F0 002:053.929 - 0.437ms returns FALSE
T27F0 002:053.942 JLINK_HasError()
T27F0 002:055.026 JLINK_IsHalted()
T27F0 002:055.453 - 0.426ms returns FALSE
T27F0 002:055.465 JLINK_HasError()
T27F0 002:057.022 JLINK_IsHalted()
T27F0 002:057.368 - 0.345ms returns FALSE
T27F0 002:057.381 JLINK_HasError()
T27F0 002:059.946 JLINK_IsHalted()
T27F0 002:060.340 - 0.393ms returns FALSE
T27F0 002:060.354 JLINK_HasError()
T27F0 002:061.958 JLINK_IsHalted()
T27F0 002:062.331 - 0.372ms returns FALSE
T27F0 002:062.345 JLINK_HasError()
T27F0 002:063.966 JLINK_IsHalted()
T27F0 002:064.381 - 0.414ms returns FALSE
T27F0 002:064.395 JLINK_HasError()
T27F0 002:065.997 JLINK_IsHalted()
T27F0 002:066.407 - 0.409ms returns FALSE
T27F0 002:066.422 JLINK_HasError()
T27F0 002:067.985 JLINK_IsHalted()
T27F0 002:068.432 - 0.446ms returns FALSE
T27F0 002:068.446 JLINK_HasError()
T27F0 002:069.978 JLINK_IsHalted()
T27F0 002:070.407 - 0.429ms returns FALSE
T27F0 002:070.422 JLINK_HasError()
T27F0 002:072.002 JLINK_IsHalted()
T27F0 002:072.411 - 0.408ms returns FALSE
T27F0 002:072.425 JLINK_HasError()
T27F0 002:073.503 JLINK_IsHalted()
T27F0 002:073.943 - 0.439ms returns FALSE
T27F0 002:073.957 JLINK_HasError()
T27F0 002:075.037 JLINK_IsHalted()
T27F0 002:075.476 - 0.438ms returns FALSE
T27F0 002:075.490 JLINK_HasError()
T27F0 002:076.571 JLINK_IsHalted()
T27F0 002:077.022 - 0.450ms returns FALSE
T27F0 002:077.036 JLINK_HasError()
T27F0 002:078.556 JLINK_IsHalted()
T27F0 002:078.967 - 0.410ms returns FALSE
T27F0 002:078.983 JLINK_HasError()
T27F0 002:080.552 JLINK_IsHalted()
T27F0 002:080.966 - 0.412ms returns FALSE
T27F0 002:080.982 JLINK_HasError()
T27F0 002:083.104 JLINK_IsHalted()
T27F0 002:083.520 - 0.416ms returns FALSE
T27F0 002:083.538 JLINK_HasError()
T27F0 002:085.520 JLINK_IsHalted()
T27F0 002:085.941 - 0.420ms returns FALSE
T27F0 002:085.959 JLINK_HasError()
T27F0 002:088.023 JLINK_IsHalted()
T27F0 002:088.423 - 0.399ms returns FALSE
T27F0 002:088.444 JLINK_HasError()
T27F0 002:090.014 JLINK_IsHalted()
T27F0 002:090.434 - 0.419ms returns FALSE
T27F0 002:090.454 JLINK_HasError()
T27F0 002:091.999 JLINK_IsHalted()
T27F0 002:092.512 - 0.512ms returns FALSE
T27F0 002:092.541 JLINK_HasError()
T27F0 002:093.962 JLINK_IsHalted()
T27F0 002:094.414 - 0.451ms returns FALSE
T27F0 002:094.431 JLINK_HasError()
T27F0 002:096.452 JLINK_IsHalted()
T27F0 002:096.920 - 0.468ms returns FALSE
T27F0 002:096.936 JLINK_HasError()
T27F0 002:098.962 JLINK_IsHalted()
T27F0 002:099.423 - 0.459ms returns FALSE
T27F0 002:099.449 JLINK_HasError()
T27F0 002:101.457 JLINK_IsHalted()
T27F0 002:101.891 - 0.434ms returns FALSE
T27F0 002:101.912 JLINK_HasError()
T27F0 002:103.734 JLINK_IsHalted()
T27F0 002:104.159 - 0.423ms returns FALSE
T27F0 002:104.198 JLINK_HasError()
T27F0 002:105.685 JLINK_IsHalted()
T27F0 002:106.130 - 0.443ms returns FALSE
T27F0 002:106.163 JLINK_HasError()
T27F0 002:107.622 JLINK_IsHalted()
T27F0 002:107.978 - 0.356ms returns FALSE
T27F0 002:107.990 JLINK_HasError()
T27F0 002:109.695 JLINK_IsHalted()
T27F0 002:110.058 - 0.363ms returns FALSE
T27F0 002:110.069 JLINK_HasError()
T27F0 002:112.108 JLINK_IsHalted()
T27F0 002:112.572 - 0.464ms returns FALSE
T27F0 002:112.584 JLINK_HasError()
T27F0 002:113.671 JLINK_IsHalted()
T27F0 002:114.125 - 0.453ms returns FALSE
T27F0 002:114.137 JLINK_HasError()
T27F0 002:115.668 JLINK_IsHalted()
T27F0 002:116.126 - 0.458ms returns FALSE
T27F0 002:116.139 JLINK_HasError()
T27F0 002:117.653 JLINK_IsHalted()
T27F0 002:118.080 - 0.427ms returns FALSE
T27F0 002:118.092 JLINK_HasError()
T27F0 002:119.842 JLINK_IsHalted()
T27F0 002:120.216 - 0.372ms returns FALSE
T27F0 002:120.227 JLINK_HasError()
T27F0 002:121.813 JLINK_IsHalted()
T27F0 002:122.154 - 0.340ms returns FALSE
T27F0 002:122.166 JLINK_HasError()
T27F0 002:123.878 JLINK_IsHalted()
T27F0 002:124.240 - 0.362ms returns FALSE
T27F0 002:124.251 JLINK_HasError()
T27F0 002:125.870 JLINK_IsHalted()
T27F0 002:126.236 - 0.365ms returns FALSE
T27F0 002:126.247 JLINK_HasError()
T27F0 002:127.353 JLINK_IsHalted()
T27F0 002:127.767 - 0.413ms returns FALSE
T27F0 002:127.778 JLINK_HasError()
T27F0 002:128.888 JLINK_IsHalted()
T27F0 002:129.307 - 0.418ms returns FALSE
T27F0 002:129.319 JLINK_HasError()
T27F0 002:130.874 JLINK_IsHalted()
T27F0 002:131.285 - 0.410ms returns FALSE
T27F0 002:131.297 JLINK_HasError()
T27F0 002:132.394 JLINK_IsHalted()
T27F0 002:132.814 - 0.420ms returns FALSE
T27F0 002:132.826 JLINK_HasError()
T27F0 002:133.922 JLINK_IsHalted()
T27F0 002:134.334 - 0.411ms returns FALSE
T27F0 002:134.345 JLINK_HasError()
T27F0 002:135.919 JLINK_IsHalted()
T27F0 002:136.368 - 0.448ms returns FALSE
T27F0 002:136.380 JLINK_HasError()
T27F0 002:137.486 JLINK_IsHalted()
T27F0 002:137.901 - 0.414ms returns FALSE
T27F0 002:137.913 JLINK_HasError()
T27F0 002:140.007 JLINK_IsHalted()
T27F0 002:140.417 - 0.409ms returns FALSE
T27F0 002:140.429 JLINK_HasError()
T27F0 002:142.003 JLINK_IsHalted()
T27F0 002:142.433 - 0.429ms returns FALSE
T27F0 002:142.448 JLINK_HasError()
T27F0 002:143.528 JLINK_IsHalted()
T27F0 002:143.946 - 0.416ms returns FALSE
T27F0 002:143.959 JLINK_HasError()
T27F0 002:146.070 JLINK_IsHalted()
T27F0 002:146.482 - 0.411ms returns FALSE
T27F0 002:146.496 JLINK_HasError()
T27F0 002:147.573 JLINK_IsHalted()
T27F0 002:147.994 - 0.421ms returns FALSE
T27F0 002:148.009 JLINK_HasError()
T27F0 002:149.873 JLINK_IsHalted()
T27F0 002:150.257 - 0.384ms returns FALSE
T27F0 002:150.273 JLINK_HasError()
T27F0 002:151.777 JLINK_IsHalted()
T27F0 002:152.138 - 0.361ms returns FALSE
T27F0 002:152.162 JLINK_HasError()
T27F0 002:153.828 JLINK_IsHalted()
T27F0 002:154.267 - 0.438ms returns FALSE
T27F0 002:154.284 JLINK_HasError()
T27F0 002:156.107 JLINK_IsHalted()
T27F0 002:156.536 - 0.428ms returns FALSE
T27F0 002:156.553 JLINK_HasError()
T27F0 002:158.618 JLINK_IsHalted()
T27F0 002:159.065 - 0.446ms returns FALSE
T27F0 002:159.084 JLINK_HasError()
T27F0 002:160.610 JLINK_IsHalted()
T27F0 002:161.040 - 0.429ms returns FALSE
T27F0 002:161.059 JLINK_HasError()
T27F0 002:162.600 JLINK_IsHalted()
T27F0 002:163.041 - 0.439ms returns FALSE
T27F0 002:163.062 JLINK_HasError()
T27F0 002:165.150 JLINK_IsHalted()
T27F0 002:165.578 - 0.426ms returns FALSE
T27F0 002:165.600 JLINK_HasError()
T27F0 002:167.054 JLINK_IsHalted()
T27F0 002:167.474 - 0.420ms returns FALSE
T27F0 002:167.483 JLINK_HasError()
T27F0 002:170.099 JLINK_IsHalted()
T27F0 002:170.446 - 0.346ms returns FALSE
T27F0 002:170.457 JLINK_HasError()
T27F0 002:172.517 JLINK_IsHalted()
T27F0 002:172.954 - 0.436ms returns FALSE
T27F0 002:172.966 JLINK_HasError()
T27F0 002:174.027 JLINK_IsHalted()
T27F0 002:174.457 - 0.429ms returns FALSE
T27F0 002:174.469 JLINK_HasError()
T27F0 002:176.188 JLINK_IsHalted()
T27F0 002:176.614 - 0.424ms returns FALSE
T27F0 002:176.626 JLINK_HasError()
T27F0 002:177.709 JLINK_IsHalted()
T27F0 002:178.139 - 0.430ms returns FALSE
T27F0 002:178.152 JLINK_HasError()
T27F0 002:179.990 JLINK_IsHalted()
T27F0 002:180.393 - 0.402ms returns FALSE
T27F0 002:180.406 JLINK_HasError()
T27F0 002:182.447 JLINK_IsHalted()
T27F0 002:182.890 - 0.441ms returns FALSE
T27F0 002:182.904 JLINK_HasError()
T27F0 002:184.435 JLINK_IsHalted()
T27F0 002:184.890 - 0.454ms returns FALSE
T27F0 002:184.904 JLINK_HasError()
T27F0 002:186.428 JLINK_IsHalted()
T27F0 002:186.885 - 0.457ms returns FALSE
T27F0 002:186.900 JLINK_HasError()
T27F0 002:187.975 JLINK_IsHalted()
T27F0 002:188.382 - 0.406ms returns FALSE
T27F0 002:188.399 JLINK_HasError()
T27F0 002:189.966 JLINK_IsHalted()
T27F0 002:190.380 - 0.413ms returns FALSE
T27F0 002:190.396 JLINK_HasError()
T27F0 002:191.462 JLINK_IsHalted()
T27F0 002:191.894 - 0.430ms returns FALSE
T27F0 002:191.910 JLINK_HasError()
T27F0 002:194.040 JLINK_IsHalted()
T27F0 002:194.470 - 0.429ms returns FALSE
T27F0 002:194.489 JLINK_HasError()
T27F0 002:196.493 JLINK_IsHalted()
T27F0 002:196.915 - 0.421ms returns FALSE
T27F0 002:196.934 JLINK_HasError()
T27F0 002:198.483 JLINK_IsHalted()
T27F0 002:198.917 - 0.433ms returns FALSE
T27F0 002:198.939 JLINK_HasError()
T27F0 002:200.472 JLINK_IsHalted()
T27F0 002:200.950 - 0.477ms returns FALSE
T27F0 002:200.971 JLINK_HasError()
T27F0 002:202.995 JLINK_IsHalted()
T27F0 002:203.445 - 0.449ms returns FALSE
T27F0 002:203.471 JLINK_HasError()
T27F0 002:204.991 JLINK_IsHalted()
T27F0 002:205.445 - 0.453ms returns FALSE
T27F0 002:205.470 JLINK_HasError()
T27F0 002:206.985 JLINK_IsHalted()
T27F0 002:207.458 - 0.472ms returns FALSE
T27F0 002:207.490 JLINK_HasError()
T27F0 002:208.999 JLINK_IsHalted()
T27F0 002:209.490 - 0.490ms returns FALSE
T27F0 002:209.521 JLINK_HasError()
T27F0 002:211.531 JLINK_IsHalted()
T27F0 002:212.007 - 0.475ms returns FALSE
T27F0 002:212.038 JLINK_HasError()
T27F0 002:213.543 JLINK_IsHalted()
T27F0 002:214.057 - 0.512ms returns FALSE
T27F0 002:214.098 JLINK_HasError()
T27F0 002:215.513 JLINK_IsHalted()
T27F0 002:216.046 - 0.531ms returns FALSE
T27F0 002:216.086 JLINK_HasError()
T27F0 002:217.516 JLINK_IsHalted()
T27F0 002:218.055 - 0.537ms returns FALSE
T27F0 002:218.106 JLINK_HasError()
T27F0 002:219.864 JLINK_IsHalted()
T27F0 002:220.427 - 0.562ms returns FALSE
T27F0 002:220.483 JLINK_HasError()
T27F0 002:222.454 JLINK_IsHalted()
T27F0 002:223.032 - 0.576ms returns FALSE
T27F0 002:223.087 JLINK_HasError()
T27F0 002:225.063 JLINK_IsHalted()
T27F0 002:225.650 - 0.585ms returns FALSE
T27F0 002:225.705 JLINK_HasError()
T27F0 002:227.644 JLINK_IsHalted()
T27F0 002:228.222 - 0.576ms returns FALSE
T27F0 002:228.277 JLINK_HasError()
T27F0 002:229.687 JLINK_IsHalted()
T27F0 002:230.252 - 0.563ms returns FALSE
T27F0 002:230.308 JLINK_HasError()
T27F0 002:232.249 JLINK_IsHalted()
T27F0 002:232.828 - 0.577ms returns FALSE
T27F0 002:232.883 JLINK_HasError()
T27F0 002:234.853 JLINK_IsHalted()
T27F0 002:235.478 - 0.622ms returns FALSE
T27F0 002:235.533 JLINK_HasError()
T27F0 002:236.858 JLINK_IsHalted()
T27F0 002:237.425 - 0.564ms returns FALSE
T27F0 002:237.480 JLINK_HasError()
T27F0 002:239.483 JLINK_IsHalted()
T27F0 002:240.031 - 0.546ms returns FALSE
T27F0 002:240.085 JLINK_HasError()
T27F0 002:242.057 JLINK_IsHalted()
T27F0 002:242.629 - 0.569ms returns FALSE
T27F0 002:242.828 JLINK_HasError()
T27F0 002:244.652 JLINK_IsHalted()
T27F0 002:245.223 - 0.569ms returns FALSE
T27F0 002:245.279 JLINK_HasError()
T27F0 002:246.654 JLINK_IsHalted()
T27F0 002:247.191 - 0.535ms returns FALSE
T27F0 002:247.247 JLINK_HasError()
T27F0 002:248.642 JLINK_IsHalted()
T27F0 002:249.216 - 0.572ms returns FALSE
T27F0 002:249.271 JLINK_HasError()
T27F0 002:250.639 JLINK_IsHalted()
T27F0 002:251.223 - 0.582ms returns FALSE
T27F0 002:251.278 JLINK_HasError()
T27F0 002:253.252 JLINK_IsHalted()
T27F0 002:256.183 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 002:256.799 - 3.544ms returns TRUE
T27F0 002:256.855 JLINK_ReadReg(R15 (PC))
T27F0 002:256.888 - 0.032ms returns 0x20000000
T27F0 002:256.915 JLINK_ClrBPEx(BPHandle = 0x00000031)
T27F0 002:256.940 - 0.025ms returns 0x00
T27F0 002:256.966 JLINK_ReadReg(R0)
T27F0 002:256.990 - 0.022ms returns 0xCED13B9C
T27F0 002:258.497 JLINK_HasError()
T27F0 002:258.508 JLINK_WriteReg(R0, 0x00000003)
T27F0 002:258.515 - 0.006ms returns 0
T27F0 002:258.520 JLINK_WriteReg(R1, 0x08000000)
T27F0 002:258.525 - 0.004ms returns 0
T27F0 002:258.530 JLINK_WriteReg(R2, 0x00005328)
T27F0 002:258.535 - 0.004ms returns 0
T27F0 002:258.540 JLINK_WriteReg(R3, 0x04C11DB7)
T27F0 002:258.545 - 0.004ms returns 0
T27F0 002:258.550 JLINK_WriteReg(R4, 0x00000000)
T27F0 002:258.555 - 0.004ms returns 0
T27F0 002:258.560 JLINK_WriteReg(R5, 0x00000000)
T27F0 002:258.565 - 0.004ms returns 0
T27F0 002:258.570 JLINK_WriteReg(R6, 0x00000000)
T27F0 002:258.575 - 0.004ms returns 0
T27F0 002:258.580 JLINK_WriteReg(R7, 0x00000000)
T27F0 002:258.584 - 0.004ms returns 0
T27F0 002:258.590 JLINK_WriteReg(R8, 0x00000000)
T27F0 002:258.594 - 0.004ms returns 0
T27F0 002:258.600 JLINK_WriteReg(R9, 0x20000160)
T27F0 002:258.604 - 0.004ms returns 0
T27F0 002:258.610 JLINK_WriteReg(R10, 0x00000000)
T27F0 002:258.614 - 0.004ms returns 0
T27F0 002:258.620 JLINK_WriteReg(R11, 0x00000000)
T27F0 002:258.624 - 0.004ms returns 0
T27F0 002:258.629 JLINK_WriteReg(R12, 0x00000000)
T27F0 002:258.634 - 0.004ms returns 0
T27F0 002:258.639 JLINK_WriteReg(R13 (SP), 0x20001000)
T27F0 002:258.645 - 0.005ms returns 0
T27F0 002:258.650 JLINK_WriteReg(R14, 0x20000001)
T27F0 002:258.655 - 0.004ms returns 0
T27F0 002:258.660 JLINK_WriteReg(R15 (PC), 0x2000006A)
T27F0 002:258.665 - 0.004ms returns 0
T27F0 002:258.670 JLINK_WriteReg(XPSR, 0x01000000)
T27F0 002:258.675 - 0.004ms returns 0
T27F0 002:258.680 JLINK_WriteReg(MSP, 0x20001000)
T27F0 002:258.685 - 0.004ms returns 0
T27F0 002:258.690 JLINK_WriteReg(PSP, 0x20001000)
T27F0 002:258.695 - 0.004ms returns 0
T27F0 002:258.700 JLINK_WriteReg(CFBP, 0x00000000)
T27F0 002:258.705 - 0.004ms returns 0
T27F0 002:258.710 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)
T27F0 002:258.716 - 0.005ms returns 0x00000032
T27F0 002:258.721 JLINK_Go()
T27F0 002:258.733 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 002:261.736 - 3.014ms
T27F0 002:261.748 JLINK_IsHalted()
T27F0 002:264.377 CPU_ReadMem(2 bytes @ 0x20000000)
T27F0 002:264.839 - 3.090ms returns TRUE
T27F0 002:264.851 JLINK_ReadReg(R15 (PC))
T27F0 002:264.857 - 0.006ms returns 0x20000000
T27F0 002:264.863 JLINK_ClrBPEx(BPHandle = 0x00000032)
T27F0 002:264.868 - 0.005ms returns 0x00
T27F0 002:264.873 JLINK_ReadReg(R0)
T27F0 002:264.878 - 0.004ms returns 0x00000000
T27F0 002:332.740 JLINK_WriteMemEx(0x20000000, 0x00000002 Bytes, Flags = 0x02000000)
T27F0 002:332.759 Data: FE E7
T27F0 002:332.777 CPU_WriteMem(2 bytes @ 0x20000000)
T27F0 002:333.188 - 0.447ms returns 0x2
T27F0 002:333.200 JLINK_HasError()
T27F0 002:333.206 JLINK_HasError()
T27F0 002:333.212 JLINK_SetResetType(JLINKARM_CM3_RESET_TYPE_NORMAL)
T27F0 002:333.216 - 0.004ms returns JLINKARM_CM3_RESET_TYPE_NORMAL
T27F0 002:333.222 JLINK_Reset()
T27F0 002:346.810 Memory map 'before startup completion point' is active
T27F0 002:346.833 JLINK_GetResetTypeDesc
T27F0 002:346.838 - 0.005ms
T27F0 002:356.634 Reset type: NORMAL (https://wiki.segger.com/J-Link_Reset_Strategies)
T27F0 002:356.709 CPU_WriteMem(4 bytes @ 0xE000EDF0)
T27F0 002:357.114 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T27F0 002:367.477 Reset: Halt core after reset via DEMCR.VC_CORERESET.
T27F0 002:381.227 Reset: Reset device via AIRCR.SYSRESETREQ.
T27F0 002:381.258 CPU_WriteMem(4 bytes @ 0xE000ED0C)
T27F0 002:433.120 CPU_ReadMem(4 bytes @ 0xE000EDF0)
T27F0 002:433.595 CPU_ReadMem(4 bytes @ 0xE000EDF0)
T27F0 002:434.048 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T27F0 002:439.970 CPU_ReadMem(4 bytes @ 0xE000EDF0)
T27F0 002:443.508 CPU_WriteMem(4 bytes @ 0xE000EDFC)
T27F0 002:444.085 CPU_WriteMem(4 bytes @ 0xE0001028)
T27F0 002:444.644 CPU_WriteMem(4 bytes @ 0xE0001038)
T27F0 002:445.214 CPU_WriteMem(4 bytes @ 0xE0001048)
T27F0 002:445.769 CPU_WriteMem(4 bytes @ 0xE0001058)
T27F0 002:446.264 CPU_WriteMem(4 bytes @ 0xE0002000)
T27F0 002:446.827 CPU_ReadMem(4 bytes @ 0xE000EDFC)
T27F0 002:447.455 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 002:448.066 - 114.841ms
T27F0 002:448.131 JLINK_Go()
T27F0 002:448.188 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 002:448.753 CPU_WriteMem(4 bytes @ 0xE0002008)
T27F0 002:448.814 CPU_WriteMem(4 bytes @ 0xE000200C)
T27F0 002:448.852 CPU_WriteMem(4 bytes @ 0xE0002010)
T27F0 002:448.885 CPU_WriteMem(4 bytes @ 0xE0002014)
T27F0 002:448.917 CPU_WriteMem(4 bytes @ 0xE0002018)
T27F0 002:448.949 CPU_WriteMem(4 bytes @ 0xE000201C)
T27F0 002:450.418 CPU_WriteMem(4 bytes @ 0xE0001004)
T27F0 002:479.923 Memory map 'after startup completion point' is active
T27F0 002:479.961 - 31.829ms
T27F0 002:510.350 JLINK_Close()
T27F0 002:510.660 CPU is running
T27F0 002:510.676 CPU_WriteMem(4 bytes @ 0xE0002008)
T27F0 002:511.110 CPU is running
T27F0 002:511.122 CPU_WriteMem(4 bytes @ 0xE000200C)
T27F0 002:511.518 CPU is running
T27F0 002:511.530 CPU_WriteMem(4 bytes @ 0xE0002010)
T27F0 002:511.938 CPU is running
T27F0 002:511.950 CPU_WriteMem(4 bytes @ 0xE0002014)
T27F0 002:512.342 CPU is running
T27F0 002:512.355 CPU_WriteMem(4 bytes @ 0xE0002018)
T27F0 002:512.741 CPU is running
T27F0 002:512.754 CPU_WriteMem(4 bytes @ 0xE000201C)
T27F0 002:527.703 OnDisconnectTarget() start
T27F0 002:527.725 J-Link Script File: Executing OnDisconnectTarget()
T27F0 002:527.741 CPU_WriteMem(4 bytes @ 0xE0042004)
T27F0 002:538.041 OnDisconnectTarget() end - Took 428us
T27F0 002:538.071 CPU_ReadMem(4 bytes @ 0xE0001000)
T27F0 002:553.518 - 43.167ms
T27F0 002:553.534
T27F0 002:553.538 Closed

View File

@@ -1,39 +0,0 @@
[BREAKPOINTS]
ForceImpTypeAny = 0
ShowInfoWin = 1
EnableFlashBP = 2
BPDuringExecution = 0
[CFI]
CFISize = 0x00
CFIAddr = 0x00
[CPU]
MonModeVTableAddr = 0xFFFFFFFF
MonModeDebug = 0
MaxNumAPs = 0
LowPowerHandlingMode = 0
OverrideMemMap = 0
AllowSimulation = 1
ScriptFile=""
[FLASH]
CacheExcludeSize = 0x00
CacheExcludeAddr = 0x00
MinNumBytesFlashDL = 0
SkipProgOnCRCMatch = 1
VerifyDownload = 1
AllowCaching = 1
EnableFlashDL = 2
Override = 0
Device="ARM7"
[GENERAL]
WorkRAMSize = 0x00
WorkRAMAddr = 0x00
RAMUsageLimit = 0x00
[SWO]
SWOLogFile=""
[MEM]
RdOverrideOrMask = 0x00
RdOverrideAndMask = 0xFFFFFFFF
RdOverrideAddr = 0xFFFFFFFF
WrOverrideOrMask = 0x00
WrOverrideAndMask = 0xFFFFFFFF
WrOverrideAddr = 0xFFFFFFFF

View File

@@ -0,0 +1,21 @@
/*
* Auto generated Run-Time-Environment Configuration File
* *** Do not modify ! ***
*
* Project: 'uksvep_2_2_v1'
* Target: 'bootloader'
*/
#ifndef RTE_COMPONENTS_H
#define RTE_COMPONENTS_H
/*
* Define the Device Header File:
*/
#define CMSIS_device_header "stm32f10x.h"
#endif /* RTE_COMPONENTS_H */

View File

@@ -0,0 +1,16 @@
; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
LR_IROM1 0x08000000 0x0000C000 { ; load region size_region
ER_IROM1 0x08000000 0x0000C000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
.ANY (+XO)
}
RW_IRAM1 0x20000000 0x0000C000 { ; RW data
.ANY (+RW +ZI)
}
}

View File

@@ -2,8 +2,8 @@
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
LR_IROM1 0x08000000 0x00040000 { ; load region size_region
ER_IROM1 0x08000000 0x00040000 { ; load address = execution address
LR_IROM1 0x0800C000 0x00040000 { ; load region size_region
ER_IROM1 0x0800C000 0x00040000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)

View File

@@ -1,1461 +0,0 @@
ARM Macro Assembler Page 1
1 00000000 ;******************** (C) COPYRIGHT 2017 STMicroelectron
ics ********************
2 00000000 ;* File Name : startup_stm32f103xe.s
3 00000000 ;* Author : MCD Application Team
4 00000000 ;* Description : STM32F103xE Devices vector table
for MDK-ARM toolchain.
5 00000000 ;* This module performs:
6 00000000 ;* - Set the initial SP
7 00000000 ;* - Set the initial PC == Reset_Ha
ndler
8 00000000 ;* - Set the vector table entries w
ith the exceptions ISR address
9 00000000 ;* - Configure the clock system
10 00000000 ;* - Branches to __main in the C li
brary (which eventually
11 00000000 ;* calls main()).
12 00000000 ;* After Reset the Cortex-M3 proces
sor is in Thread mode,
13 00000000 ;* priority is Privileged, and the
Stack is set to Main.
14 00000000 ;*******************************************************
***********************
15 00000000 ;* @attention
16 00000000 ;*
17 00000000 ;* Copyright (c) 2017 STMicroelectronics.
18 00000000 ;* All rights reserved.
19 00000000 ;*
20 00000000 ;* This software component is licensed by ST under BSD 3
-Clause license,
21 00000000 ;* the "License"; You may not use this file except in co
mpliance with the
22 00000000 ;* License. You may obtain a copy of the License at:
23 00000000 ;* opensource.org/licenses/BSD-3-
Clause
24 00000000 ;*
25 00000000 ;*******************************************************
***********************
26 00000000
27 00000000 ; Amount of memory (in bytes) allocated for Stack
28 00000000 ; Tailor this value to your application needs
29 00000000 ; <h> Stack Configuration
30 00000000 ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
31 00000000 ; </h>
32 00000000
33 00000000 00000400
Stack_Size
EQU 0x400
34 00000000
35 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
=3
36 00000000 Stack_Mem
SPACE Stack_Size
37 00000400 __initial_sp
38 00000400
39 00000400 ; <h> Heap Configuration
40 00000400 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
41 00000400 ; </h>
42 00000400
43 00000400 00000400
ARM Macro Assembler Page 2
Heap_Size
EQU 0x400
44 00000400
45 00000400 AREA HEAP, NOINIT, READWRITE, ALIGN=
3
46 00000000 __heap_base
47 00000000 Heap_Mem
SPACE Heap_Size
48 00000400 __heap_limit
49 00000400
50 00000400 PRESERVE8
51 00000400 THUMB
52 00000400
53 00000400
54 00000400 ; Vector Table Mapped to Address 0 at Reset
55 00000400 AREA RESET, DATA, READONLY
56 00000000 EXPORT __Vectors
57 00000000 EXPORT __Vectors_End
58 00000000 EXPORT __Vectors_Size
59 00000000
60 00000000 00000000
__Vectors
DCD __initial_sp ; Top of Stack
61 00000004 00000000 DCD Reset_Handler ; Reset Handler
62 00000008 00000000 DCD NMI_Handler ; NMI Handler
63 0000000C 00000000 DCD HardFault_Handler ; Hard Fault
Handler
64 00000010 00000000 DCD MemManage_Handler
; MPU Fault Handler
65 00000014 00000000 DCD BusFault_Handler
; Bus Fault Handler
66 00000018 00000000 DCD UsageFault_Handler ; Usage Faul
t Handler
67 0000001C 00000000 DCD 0 ; Reserved
68 00000020 00000000 DCD 0 ; Reserved
69 00000024 00000000 DCD 0 ; Reserved
70 00000028 00000000 DCD 0 ; Reserved
71 0000002C 00000000 DCD SVC_Handler ; SVCall Handler
72 00000030 00000000 DCD DebugMon_Handler ; Debug Monito
r Handler
73 00000034 00000000 DCD 0 ; Reserved
74 00000038 00000000 DCD PendSV_Handler ; PendSV Handler
75 0000003C 00000000 DCD SysTick_Handler
; SysTick Handler
76 00000040
77 00000040 ; External Interrupts
78 00000040 00000000 DCD WWDG_IRQHandler
; Window Watchdog
79 00000044 00000000 DCD PVD_IRQHandler ; PVD through EX
TI Line detect
80 00000048 00000000 DCD TAMPER_IRQHandler ; Tamper
81 0000004C 00000000 DCD RTC_IRQHandler ; RTC
82 00000050 00000000 DCD FLASH_IRQHandler ; Flash
83 00000054 00000000 DCD RCC_IRQHandler ; RCC
84 00000058 00000000 DCD EXTI0_IRQHandler ; EXTI Line 0
85 0000005C 00000000 DCD EXTI1_IRQHandler ; EXTI Line 1
ARM Macro Assembler Page 3
86 00000060 00000000 DCD EXTI2_IRQHandler ; EXTI Line 2
87 00000064 00000000 DCD EXTI3_IRQHandler ; EXTI Line 3
88 00000068 00000000 DCD EXTI4_IRQHandler ; EXTI Line 4
89 0000006C 00000000 DCD DMA1_Channel1_IRQHandler
; DMA1 Channel 1
90 00000070 00000000 DCD DMA1_Channel2_IRQHandler
; DMA1 Channel 2
91 00000074 00000000 DCD DMA1_Channel3_IRQHandler
; DMA1 Channel 3
92 00000078 00000000 DCD DMA1_Channel4_IRQHandler
; DMA1 Channel 4
93 0000007C 00000000 DCD DMA1_Channel5_IRQHandler
; DMA1 Channel 5
94 00000080 00000000 DCD DMA1_Channel6_IRQHandler
; DMA1 Channel 6
95 00000084 00000000 DCD DMA1_Channel7_IRQHandler
; DMA1 Channel 7
96 00000088 00000000 DCD ADC1_2_IRQHandler ; ADC1 & ADC2
97 0000008C 00000000 DCD USB_HP_CAN1_TX_IRQHandler ; USB
High Priority or C
AN1 TX
98 00000090 00000000 DCD USB_LP_CAN1_RX0_IRQHandler ; US
B Low Priority or
CAN1 RX0
99 00000094 00000000 DCD CAN1_RX1_IRQHandler ; CAN1 RX1
100 00000098 00000000 DCD CAN1_SCE_IRQHandler ; CAN1 SCE
101 0000009C 00000000 DCD EXTI9_5_IRQHandler
; EXTI Line 9..5
102 000000A0 00000000 DCD TIM1_BRK_IRQHandler
; TIM1 Break
103 000000A4 00000000 DCD TIM1_UP_IRQHandler
; TIM1 Update
104 000000A8 00000000 DCD TIM1_TRG_COM_IRQHandler ; TIM1
Trigger and Commuta
tion
105 000000AC 00000000 DCD TIM1_CC_IRQHandler ; TIM1 Captu
re Compare
106 000000B0 00000000 DCD TIM2_IRQHandler ; TIM2
107 000000B4 00000000 DCD TIM3_IRQHandler ; TIM3
108 000000B8 00000000 DCD TIM4_IRQHandler ; TIM4
109 000000BC 00000000 DCD I2C1_EV_IRQHandler ; I2C1 Event
110 000000C0 00000000 DCD I2C1_ER_IRQHandler ; I2C1 Error
111 000000C4 00000000 DCD I2C2_EV_IRQHandler ; I2C2 Event
112 000000C8 00000000 DCD I2C2_ER_IRQHandler ; I2C2 Error
113 000000CC 00000000 DCD SPI1_IRQHandler ; SPI1
114 000000D0 00000000 DCD SPI2_IRQHandler ; SPI2
115 000000D4 00000000 DCD USART1_IRQHandler ; USART1
116 000000D8 00000000 DCD USART2_IRQHandler ; USART2
117 000000DC 00000000 DCD USART3_IRQHandler ; USART3
118 000000E0 00000000 DCD EXTI15_10_IRQHandler
; EXTI Line 15..10
119 000000E4 00000000 DCD RTC_Alarm_IRQHandler ; RTC Alar
m through EXTI Line
ARM Macro Assembler Page 4
120 000000E8 00000000 DCD USBWakeUp_IRQHandler ; USB Wake
up from suspend
121 000000EC 00000000 DCD TIM8_BRK_IRQHandler
; TIM8 Break
122 000000F0 00000000 DCD TIM8_UP_IRQHandler
; TIM8 Update
123 000000F4 00000000 DCD TIM8_TRG_COM_IRQHandler ; TIM8
Trigger and Commuta
tion
124 000000F8 00000000 DCD TIM8_CC_IRQHandler ; TIM8 Captu
re Compare
125 000000FC 00000000 DCD ADC3_IRQHandler ; ADC3
126 00000100 00000000 DCD FSMC_IRQHandler ; FSMC
127 00000104 00000000 DCD SDIO_IRQHandler ; SDIO
128 00000108 00000000 DCD TIM5_IRQHandler ; TIM5
129 0000010C 00000000 DCD SPI3_IRQHandler ; SPI3
130 00000110 00000000 DCD UART4_IRQHandler ; UART4
131 00000114 00000000 DCD UART5_IRQHandler ; UART5
132 00000118 00000000 DCD TIM6_IRQHandler ; TIM6
133 0000011C 00000000 DCD TIM7_IRQHandler ; TIM7
134 00000120 00000000 DCD DMA2_Channel1_IRQHandler
; DMA2 Channel1
135 00000124 00000000 DCD DMA2_Channel2_IRQHandler
; DMA2 Channel2
136 00000128 00000000 DCD DMA2_Channel3_IRQHandler
; DMA2 Channel3
137 0000012C 00000000 DCD DMA2_Channel4_5_IRQHandler ; DM
A2 Channel4 & Chann
el5
138 00000130 __Vectors_End
139 00000130
140 00000130 00000130
__Vectors_Size
EQU __Vectors_End - __Vectors
141 00000130
142 00000130 AREA |.text|, CODE, READONLY
143 00000000
144 00000000 ; Reset handler
145 00000000 Reset_Handler
PROC
146 00000000 EXPORT Reset_Handler [WEAK
]
147 00000000 IMPORT __main
148 00000000 IMPORT SystemInit
149 00000000 4809 LDR R0, =SystemInit
150 00000002 4780 BLX R0
151 00000004 4809 LDR R0, =__main
152 00000006 4700 BX R0
153 00000008 ENDP
154 00000008
155 00000008 ; Dummy Exception Handlers (infinite loops which can be
modified)
156 00000008
157 00000008 NMI_Handler
PROC
158 00000008 EXPORT NMI_Handler [WEA
K]
159 00000008 E7FE B .
160 0000000A ENDP
ARM Macro Assembler Page 5
162 0000000A HardFault_Handler
PROC
163 0000000A EXPORT HardFault_Handler [WEA
K]
164 0000000A E7FE B .
165 0000000C ENDP
167 0000000C MemManage_Handler
PROC
168 0000000C EXPORT MemManage_Handler [WEA
K]
169 0000000C E7FE B .
170 0000000E ENDP
172 0000000E BusFault_Handler
PROC
173 0000000E EXPORT BusFault_Handler [WEA
K]
174 0000000E E7FE B .
175 00000010 ENDP
177 00000010 UsageFault_Handler
PROC
178 00000010 EXPORT UsageFault_Handler [WEA
K]
179 00000010 E7FE B .
180 00000012 ENDP
181 00000012 SVC_Handler
PROC
182 00000012 EXPORT SVC_Handler [WEA
K]
183 00000012 E7FE B .
184 00000014 ENDP
186 00000014 DebugMon_Handler
PROC
187 00000014 EXPORT DebugMon_Handler [WEA
K]
188 00000014 E7FE B .
189 00000016 ENDP
190 00000016 PendSV_Handler
PROC
191 00000016 EXPORT PendSV_Handler [WEA
K]
192 00000016 E7FE B .
193 00000018 ENDP
194 00000018 SysTick_Handler
PROC
195 00000018 EXPORT SysTick_Handler [WEA
K]
196 00000018 E7FE B .
197 0000001A ENDP
198 0000001A
199 0000001A Default_Handler
PROC
200 0000001A
201 0000001A EXPORT WWDG_IRQHandler [WEA
K]
202 0000001A EXPORT PVD_IRQHandler [WEA
K]
203 0000001A EXPORT TAMPER_IRQHandler [WEA
K]
204 0000001A EXPORT RTC_IRQHandler [WEA
ARM Macro Assembler Page 6
K]
205 0000001A EXPORT FLASH_IRQHandler [WEA
K]
206 0000001A EXPORT RCC_IRQHandler [WEA
K]
207 0000001A EXPORT EXTI0_IRQHandler [WEA
K]
208 0000001A EXPORT EXTI1_IRQHandler [WEA
K]
209 0000001A EXPORT EXTI2_IRQHandler [WEA
K]
210 0000001A EXPORT EXTI3_IRQHandler [WEA
K]
211 0000001A EXPORT EXTI4_IRQHandler [WEA
K]
212 0000001A EXPORT DMA1_Channel1_IRQHandler [WEA
K]
213 0000001A EXPORT DMA1_Channel2_IRQHandler [WEA
K]
214 0000001A EXPORT DMA1_Channel3_IRQHandler [WEA
K]
215 0000001A EXPORT DMA1_Channel4_IRQHandler [WEA
K]
216 0000001A EXPORT DMA1_Channel5_IRQHandler [WEA
K]
217 0000001A EXPORT DMA1_Channel6_IRQHandler [WEA
K]
218 0000001A EXPORT DMA1_Channel7_IRQHandler [WEA
K]
219 0000001A EXPORT ADC1_2_IRQHandler [WEA
K]
220 0000001A EXPORT USB_HP_CAN1_TX_IRQHandler [WEA
K]
221 0000001A EXPORT USB_LP_CAN1_RX0_IRQHandler [WEA
K]
222 0000001A EXPORT CAN1_RX1_IRQHandler [WEA
K]
223 0000001A EXPORT CAN1_SCE_IRQHandler [WEA
K]
224 0000001A EXPORT EXTI9_5_IRQHandler [WEA
K]
225 0000001A EXPORT TIM1_BRK_IRQHandler [WEA
K]
226 0000001A EXPORT TIM1_UP_IRQHandler [WEA
K]
227 0000001A EXPORT TIM1_TRG_COM_IRQHandler [WEA
K]
228 0000001A EXPORT TIM1_CC_IRQHandler [WEA
K]
229 0000001A EXPORT TIM2_IRQHandler [WEA
K]
230 0000001A EXPORT TIM3_IRQHandler [WEA
K]
231 0000001A EXPORT TIM4_IRQHandler [WEA
K]
232 0000001A EXPORT I2C1_EV_IRQHandler [WEA
K]
233 0000001A EXPORT I2C1_ER_IRQHandler [WEA
K]
ARM Macro Assembler Page 7
234 0000001A EXPORT I2C2_EV_IRQHandler [WEA
K]
235 0000001A EXPORT I2C2_ER_IRQHandler [WEA
K]
236 0000001A EXPORT SPI1_IRQHandler [WEA
K]
237 0000001A EXPORT SPI2_IRQHandler [WEA
K]
238 0000001A EXPORT USART1_IRQHandler [WEA
K]
239 0000001A EXPORT USART2_IRQHandler [WEA
K]
240 0000001A EXPORT USART3_IRQHandler [WEA
K]
241 0000001A EXPORT EXTI15_10_IRQHandler [WEA
K]
242 0000001A EXPORT RTC_Alarm_IRQHandler [WE
AK]
243 0000001A EXPORT USBWakeUp_IRQHandler [WEA
K]
244 0000001A EXPORT TIM8_BRK_IRQHandler [WEA
K]
245 0000001A EXPORT TIM8_UP_IRQHandler [WEA
K]
246 0000001A EXPORT TIM8_TRG_COM_IRQHandler [WEA
K]
247 0000001A EXPORT TIM8_CC_IRQHandler [WEA
K]
248 0000001A EXPORT ADC3_IRQHandler [WEA
K]
249 0000001A EXPORT FSMC_IRQHandler [WEA
K]
250 0000001A EXPORT SDIO_IRQHandler [WEA
K]
251 0000001A EXPORT TIM5_IRQHandler [WEA
K]
252 0000001A EXPORT SPI3_IRQHandler [WEA
K]
253 0000001A EXPORT UART4_IRQHandler [WEA
K]
254 0000001A EXPORT UART5_IRQHandler [WEA
K]
255 0000001A EXPORT TIM6_IRQHandler [WEA
K]
256 0000001A EXPORT TIM7_IRQHandler [WEA
K]
257 0000001A EXPORT DMA2_Channel1_IRQHandler [WEA
K]
258 0000001A EXPORT DMA2_Channel2_IRQHandler [WEA
K]
259 0000001A EXPORT DMA2_Channel3_IRQHandler [WEA
K]
260 0000001A EXPORT DMA2_Channel4_5_IRQHandler [WEA
K]
261 0000001A
262 0000001A WWDG_IRQHandler
263 0000001A PVD_IRQHandler
264 0000001A TAMPER_IRQHandler
265 0000001A RTC_IRQHandler
ARM Macro Assembler Page 8
266 0000001A FLASH_IRQHandler
267 0000001A RCC_IRQHandler
268 0000001A EXTI0_IRQHandler
269 0000001A EXTI1_IRQHandler
270 0000001A EXTI2_IRQHandler
271 0000001A EXTI3_IRQHandler
272 0000001A EXTI4_IRQHandler
273 0000001A DMA1_Channel1_IRQHandler
274 0000001A DMA1_Channel2_IRQHandler
275 0000001A DMA1_Channel3_IRQHandler
276 0000001A DMA1_Channel4_IRQHandler
277 0000001A DMA1_Channel5_IRQHandler
278 0000001A DMA1_Channel6_IRQHandler
279 0000001A DMA1_Channel7_IRQHandler
280 0000001A ADC1_2_IRQHandler
281 0000001A USB_HP_CAN1_TX_IRQHandler
282 0000001A USB_LP_CAN1_RX0_IRQHandler
283 0000001A CAN1_RX1_IRQHandler
284 0000001A CAN1_SCE_IRQHandler
285 0000001A EXTI9_5_IRQHandler
286 0000001A TIM1_BRK_IRQHandler
287 0000001A TIM1_UP_IRQHandler
288 0000001A TIM1_TRG_COM_IRQHandler
289 0000001A TIM1_CC_IRQHandler
290 0000001A TIM2_IRQHandler
291 0000001A TIM3_IRQHandler
292 0000001A TIM4_IRQHandler
293 0000001A I2C1_EV_IRQHandler
294 0000001A I2C1_ER_IRQHandler
295 0000001A I2C2_EV_IRQHandler
296 0000001A I2C2_ER_IRQHandler
297 0000001A SPI1_IRQHandler
298 0000001A SPI2_IRQHandler
299 0000001A USART1_IRQHandler
300 0000001A USART2_IRQHandler
301 0000001A USART3_IRQHandler
302 0000001A EXTI15_10_IRQHandler
303 0000001A RTC_Alarm_IRQHandler
304 0000001A USBWakeUp_IRQHandler
305 0000001A TIM8_BRK_IRQHandler
306 0000001A TIM8_UP_IRQHandler
307 0000001A TIM8_TRG_COM_IRQHandler
308 0000001A TIM8_CC_IRQHandler
309 0000001A ADC3_IRQHandler
310 0000001A FSMC_IRQHandler
311 0000001A SDIO_IRQHandler
312 0000001A TIM5_IRQHandler
313 0000001A SPI3_IRQHandler
314 0000001A UART4_IRQHandler
315 0000001A UART5_IRQHandler
316 0000001A TIM6_IRQHandler
317 0000001A TIM7_IRQHandler
318 0000001A DMA2_Channel1_IRQHandler
319 0000001A DMA2_Channel2_IRQHandler
320 0000001A DMA2_Channel3_IRQHandler
321 0000001A DMA2_Channel4_5_IRQHandler
322 0000001A E7FE B .
323 0000001C
324 0000001C ENDP
ARM Macro Assembler Page 9
325 0000001C
326 0000001C ALIGN
327 0000001C
328 0000001C ;*******************************************************
************************
329 0000001C ; User Stack and Heap initialization
330 0000001C ;*******************************************************
************************
331 0000001C IF :DEF:__MICROLIB
338 0000001C
339 0000001C IMPORT __use_two_region_memory
340 0000001C EXPORT __user_initial_stackheap
341 0000001C
342 0000001C __user_initial_stackheap
343 0000001C
344 0000001C 4804 LDR R0, = Heap_Mem
345 0000001E 4905 LDR R1, =(Stack_Mem + Stack_Size)
346 00000020 4A05 LDR R2, = (Heap_Mem + Heap_Size)
347 00000022 4B06 LDR R3, = Stack_Mem
348 00000024 4770 BX LR
349 00000026
350 00000026 00 00 ALIGN
351 00000028
352 00000028 ENDIF
353 00000028
354 00000028 END
00000000
00000000
00000000
00000400
00000400
00000000
Command Line: --debug --xref --diag_suppress=9931,A1950W --cpu=Cortex-M3 --depe
nd=uksvep_2_2_v1\startup_stm32f103xe.d -ouksvep_2_2_v1\startup_stm32f103xe.o -I
.\RTE\_uksvep_2_2_v1 -IC:\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include -IC:\Arm
\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include --predefine="__UVISION_VERSION S
ETA 538" --predefine="_RTE_ SETA 1" --predefine="STM32F10X_HD SETA 1" --predefi
ne="_RTE_ SETA 1" --list=startup_stm32f103xe.lst startup_stm32f103xe.s
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
STACK 00000000
Symbol: STACK
Definitions
At line 35 in file startup_stm32f103xe.s
Uses
None
Comment: STACK unused
Stack_Mem 00000000
Symbol: Stack_Mem
Definitions
At line 36 in file startup_stm32f103xe.s
Uses
At line 345 in file startup_stm32f103xe.s
At line 347 in file startup_stm32f103xe.s
__initial_sp 00000400
Symbol: __initial_sp
Definitions
At line 37 in file startup_stm32f103xe.s
Uses
At line 60 in file startup_stm32f103xe.s
Comment: __initial_sp used once
3 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
HEAP 00000000
Symbol: HEAP
Definitions
At line 45 in file startup_stm32f103xe.s
Uses
None
Comment: HEAP unused
Heap_Mem 00000000
Symbol: Heap_Mem
Definitions
At line 47 in file startup_stm32f103xe.s
Uses
At line 344 in file startup_stm32f103xe.s
At line 346 in file startup_stm32f103xe.s
__heap_base 00000000
Symbol: __heap_base
Definitions
At line 46 in file startup_stm32f103xe.s
Uses
None
Comment: __heap_base unused
__heap_limit 00000400
Symbol: __heap_limit
Definitions
At line 48 in file startup_stm32f103xe.s
Uses
None
Comment: __heap_limit unused
4 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
RESET 00000000
Symbol: RESET
Definitions
At line 55 in file startup_stm32f103xe.s
Uses
None
Comment: RESET unused
__Vectors 00000000
Symbol: __Vectors
Definitions
At line 60 in file startup_stm32f103xe.s
Uses
At line 56 in file startup_stm32f103xe.s
At line 140 in file startup_stm32f103xe.s
__Vectors_End 00000130
Symbol: __Vectors_End
Definitions
At line 138 in file startup_stm32f103xe.s
Uses
At line 57 in file startup_stm32f103xe.s
At line 140 in file startup_stm32f103xe.s
3 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
.text 00000000
Symbol: .text
Definitions
At line 142 in file startup_stm32f103xe.s
Uses
None
Comment: .text unused
ADC1_2_IRQHandler 0000001A
Symbol: ADC1_2_IRQHandler
Definitions
At line 280 in file startup_stm32f103xe.s
Uses
At line 96 in file startup_stm32f103xe.s
At line 219 in file startup_stm32f103xe.s
ADC3_IRQHandler 0000001A
Symbol: ADC3_IRQHandler
Definitions
At line 309 in file startup_stm32f103xe.s
Uses
At line 125 in file startup_stm32f103xe.s
At line 248 in file startup_stm32f103xe.s
BusFault_Handler 0000000E
Symbol: BusFault_Handler
Definitions
At line 172 in file startup_stm32f103xe.s
Uses
At line 65 in file startup_stm32f103xe.s
At line 173 in file startup_stm32f103xe.s
CAN1_RX1_IRQHandler 0000001A
Symbol: CAN1_RX1_IRQHandler
Definitions
At line 283 in file startup_stm32f103xe.s
Uses
At line 99 in file startup_stm32f103xe.s
At line 222 in file startup_stm32f103xe.s
CAN1_SCE_IRQHandler 0000001A
Symbol: CAN1_SCE_IRQHandler
Definitions
At line 284 in file startup_stm32f103xe.s
Uses
At line 100 in file startup_stm32f103xe.s
At line 223 in file startup_stm32f103xe.s
DMA1_Channel1_IRQHandler 0000001A
Symbol: DMA1_Channel1_IRQHandler
Definitions
At line 273 in file startup_stm32f103xe.s
Uses
ARM Macro Assembler Page 2 Alphabetic symbol ordering
Relocatable symbols
At line 89 in file startup_stm32f103xe.s
At line 212 in file startup_stm32f103xe.s
DMA1_Channel2_IRQHandler 0000001A
Symbol: DMA1_Channel2_IRQHandler
Definitions
At line 274 in file startup_stm32f103xe.s
Uses
At line 90 in file startup_stm32f103xe.s
At line 213 in file startup_stm32f103xe.s
DMA1_Channel3_IRQHandler 0000001A
Symbol: DMA1_Channel3_IRQHandler
Definitions
At line 275 in file startup_stm32f103xe.s
Uses
At line 91 in file startup_stm32f103xe.s
At line 214 in file startup_stm32f103xe.s
DMA1_Channel4_IRQHandler 0000001A
Symbol: DMA1_Channel4_IRQHandler
Definitions
At line 276 in file startup_stm32f103xe.s
Uses
At line 92 in file startup_stm32f103xe.s
At line 215 in file startup_stm32f103xe.s
DMA1_Channel5_IRQHandler 0000001A
Symbol: DMA1_Channel5_IRQHandler
Definitions
At line 277 in file startup_stm32f103xe.s
Uses
At line 93 in file startup_stm32f103xe.s
At line 216 in file startup_stm32f103xe.s
DMA1_Channel6_IRQHandler 0000001A
Symbol: DMA1_Channel6_IRQHandler
Definitions
At line 278 in file startup_stm32f103xe.s
Uses
At line 94 in file startup_stm32f103xe.s
At line 217 in file startup_stm32f103xe.s
DMA1_Channel7_IRQHandler 0000001A
Symbol: DMA1_Channel7_IRQHandler
Definitions
At line 279 in file startup_stm32f103xe.s
Uses
At line 95 in file startup_stm32f103xe.s
At line 218 in file startup_stm32f103xe.s
DMA2_Channel1_IRQHandler 0000001A
ARM Macro Assembler Page 3 Alphabetic symbol ordering
Relocatable symbols
Symbol: DMA2_Channel1_IRQHandler
Definitions
At line 318 in file startup_stm32f103xe.s
Uses
At line 134 in file startup_stm32f103xe.s
At line 257 in file startup_stm32f103xe.s
DMA2_Channel2_IRQHandler 0000001A
Symbol: DMA2_Channel2_IRQHandler
Definitions
At line 319 in file startup_stm32f103xe.s
Uses
At line 135 in file startup_stm32f103xe.s
At line 258 in file startup_stm32f103xe.s
DMA2_Channel3_IRQHandler 0000001A
Symbol: DMA2_Channel3_IRQHandler
Definitions
At line 320 in file startup_stm32f103xe.s
Uses
At line 136 in file startup_stm32f103xe.s
At line 259 in file startup_stm32f103xe.s
DMA2_Channel4_5_IRQHandler 0000001A
Symbol: DMA2_Channel4_5_IRQHandler
Definitions
At line 321 in file startup_stm32f103xe.s
Uses
At line 137 in file startup_stm32f103xe.s
At line 260 in file startup_stm32f103xe.s
DebugMon_Handler 00000014
Symbol: DebugMon_Handler
Definitions
At line 186 in file startup_stm32f103xe.s
Uses
At line 72 in file startup_stm32f103xe.s
At line 187 in file startup_stm32f103xe.s
Default_Handler 0000001A
Symbol: Default_Handler
Definitions
At line 199 in file startup_stm32f103xe.s
Uses
None
Comment: Default_Handler unused
EXTI0_IRQHandler 0000001A
Symbol: EXTI0_IRQHandler
Definitions
At line 268 in file startup_stm32f103xe.s
Uses
At line 84 in file startup_stm32f103xe.s
At line 207 in file startup_stm32f103xe.s
ARM Macro Assembler Page 4 Alphabetic symbol ordering
Relocatable symbols
EXTI15_10_IRQHandler 0000001A
Symbol: EXTI15_10_IRQHandler
Definitions
At line 302 in file startup_stm32f103xe.s
Uses
At line 118 in file startup_stm32f103xe.s
At line 241 in file startup_stm32f103xe.s
EXTI1_IRQHandler 0000001A
Symbol: EXTI1_IRQHandler
Definitions
At line 269 in file startup_stm32f103xe.s
Uses
At line 85 in file startup_stm32f103xe.s
At line 208 in file startup_stm32f103xe.s
EXTI2_IRQHandler 0000001A
Symbol: EXTI2_IRQHandler
Definitions
At line 270 in file startup_stm32f103xe.s
Uses
At line 86 in file startup_stm32f103xe.s
At line 209 in file startup_stm32f103xe.s
EXTI3_IRQHandler 0000001A
Symbol: EXTI3_IRQHandler
Definitions
At line 271 in file startup_stm32f103xe.s
Uses
At line 87 in file startup_stm32f103xe.s
At line 210 in file startup_stm32f103xe.s
EXTI4_IRQHandler 0000001A
Symbol: EXTI4_IRQHandler
Definitions
At line 272 in file startup_stm32f103xe.s
Uses
At line 88 in file startup_stm32f103xe.s
At line 211 in file startup_stm32f103xe.s
EXTI9_5_IRQHandler 0000001A
Symbol: EXTI9_5_IRQHandler
Definitions
At line 285 in file startup_stm32f103xe.s
Uses
At line 101 in file startup_stm32f103xe.s
At line 224 in file startup_stm32f103xe.s
FLASH_IRQHandler 0000001A
Symbol: FLASH_IRQHandler
Definitions
ARM Macro Assembler Page 5 Alphabetic symbol ordering
Relocatable symbols
At line 266 in file startup_stm32f103xe.s
Uses
At line 82 in file startup_stm32f103xe.s
At line 205 in file startup_stm32f103xe.s
FSMC_IRQHandler 0000001A
Symbol: FSMC_IRQHandler
Definitions
At line 310 in file startup_stm32f103xe.s
Uses
At line 126 in file startup_stm32f103xe.s
At line 249 in file startup_stm32f103xe.s
HardFault_Handler 0000000A
Symbol: HardFault_Handler
Definitions
At line 162 in file startup_stm32f103xe.s
Uses
At line 63 in file startup_stm32f103xe.s
At line 163 in file startup_stm32f103xe.s
I2C1_ER_IRQHandler 0000001A
Symbol: I2C1_ER_IRQHandler
Definitions
At line 294 in file startup_stm32f103xe.s
Uses
At line 110 in file startup_stm32f103xe.s
At line 233 in file startup_stm32f103xe.s
I2C1_EV_IRQHandler 0000001A
Symbol: I2C1_EV_IRQHandler
Definitions
At line 293 in file startup_stm32f103xe.s
Uses
At line 109 in file startup_stm32f103xe.s
At line 232 in file startup_stm32f103xe.s
I2C2_ER_IRQHandler 0000001A
Symbol: I2C2_ER_IRQHandler
Definitions
At line 296 in file startup_stm32f103xe.s
Uses
At line 112 in file startup_stm32f103xe.s
At line 235 in file startup_stm32f103xe.s
I2C2_EV_IRQHandler 0000001A
Symbol: I2C2_EV_IRQHandler
Definitions
At line 295 in file startup_stm32f103xe.s
Uses
At line 111 in file startup_stm32f103xe.s
At line 234 in file startup_stm32f103xe.s
ARM Macro Assembler Page 6 Alphabetic symbol ordering
Relocatable symbols
MemManage_Handler 0000000C
Symbol: MemManage_Handler
Definitions
At line 167 in file startup_stm32f103xe.s
Uses
At line 64 in file startup_stm32f103xe.s
At line 168 in file startup_stm32f103xe.s
NMI_Handler 00000008
Symbol: NMI_Handler
Definitions
At line 157 in file startup_stm32f103xe.s
Uses
At line 62 in file startup_stm32f103xe.s
At line 158 in file startup_stm32f103xe.s
PVD_IRQHandler 0000001A
Symbol: PVD_IRQHandler
Definitions
At line 263 in file startup_stm32f103xe.s
Uses
At line 79 in file startup_stm32f103xe.s
At line 202 in file startup_stm32f103xe.s
PendSV_Handler 00000016
Symbol: PendSV_Handler
Definitions
At line 190 in file startup_stm32f103xe.s
Uses
At line 74 in file startup_stm32f103xe.s
At line 191 in file startup_stm32f103xe.s
RCC_IRQHandler 0000001A
Symbol: RCC_IRQHandler
Definitions
At line 267 in file startup_stm32f103xe.s
Uses
At line 83 in file startup_stm32f103xe.s
At line 206 in file startup_stm32f103xe.s
RTC_Alarm_IRQHandler 0000001A
Symbol: RTC_Alarm_IRQHandler
Definitions
At line 303 in file startup_stm32f103xe.s
Uses
At line 119 in file startup_stm32f103xe.s
At line 242 in file startup_stm32f103xe.s
RTC_IRQHandler 0000001A
Symbol: RTC_IRQHandler
Definitions
At line 265 in file startup_stm32f103xe.s
ARM Macro Assembler Page 7 Alphabetic symbol ordering
Relocatable symbols
Uses
At line 81 in file startup_stm32f103xe.s
At line 204 in file startup_stm32f103xe.s
Reset_Handler 00000000
Symbol: Reset_Handler
Definitions
At line 145 in file startup_stm32f103xe.s
Uses
At line 61 in file startup_stm32f103xe.s
At line 146 in file startup_stm32f103xe.s
SDIO_IRQHandler 0000001A
Symbol: SDIO_IRQHandler
Definitions
At line 311 in file startup_stm32f103xe.s
Uses
At line 127 in file startup_stm32f103xe.s
At line 250 in file startup_stm32f103xe.s
SPI1_IRQHandler 0000001A
Symbol: SPI1_IRQHandler
Definitions
At line 297 in file startup_stm32f103xe.s
Uses
At line 113 in file startup_stm32f103xe.s
At line 236 in file startup_stm32f103xe.s
SPI2_IRQHandler 0000001A
Symbol: SPI2_IRQHandler
Definitions
At line 298 in file startup_stm32f103xe.s
Uses
At line 114 in file startup_stm32f103xe.s
At line 237 in file startup_stm32f103xe.s
SPI3_IRQHandler 0000001A
Symbol: SPI3_IRQHandler
Definitions
At line 313 in file startup_stm32f103xe.s
Uses
At line 129 in file startup_stm32f103xe.s
At line 252 in file startup_stm32f103xe.s
SVC_Handler 00000012
Symbol: SVC_Handler
Definitions
At line 181 in file startup_stm32f103xe.s
Uses
At line 71 in file startup_stm32f103xe.s
At line 182 in file startup_stm32f103xe.s
SysTick_Handler 00000018
ARM Macro Assembler Page 8 Alphabetic symbol ordering
Relocatable symbols
Symbol: SysTick_Handler
Definitions
At line 194 in file startup_stm32f103xe.s
Uses
At line 75 in file startup_stm32f103xe.s
At line 195 in file startup_stm32f103xe.s
TAMPER_IRQHandler 0000001A
Symbol: TAMPER_IRQHandler
Definitions
At line 264 in file startup_stm32f103xe.s
Uses
At line 80 in file startup_stm32f103xe.s
At line 203 in file startup_stm32f103xe.s
TIM1_BRK_IRQHandler 0000001A
Symbol: TIM1_BRK_IRQHandler
Definitions
At line 286 in file startup_stm32f103xe.s
Uses
At line 102 in file startup_stm32f103xe.s
At line 225 in file startup_stm32f103xe.s
TIM1_CC_IRQHandler 0000001A
Symbol: TIM1_CC_IRQHandler
Definitions
At line 289 in file startup_stm32f103xe.s
Uses
At line 105 in file startup_stm32f103xe.s
At line 228 in file startup_stm32f103xe.s
TIM1_TRG_COM_IRQHandler 0000001A
Symbol: TIM1_TRG_COM_IRQHandler
Definitions
At line 288 in file startup_stm32f103xe.s
Uses
At line 104 in file startup_stm32f103xe.s
At line 227 in file startup_stm32f103xe.s
TIM1_UP_IRQHandler 0000001A
Symbol: TIM1_UP_IRQHandler
Definitions
At line 287 in file startup_stm32f103xe.s
Uses
At line 103 in file startup_stm32f103xe.s
At line 226 in file startup_stm32f103xe.s
TIM2_IRQHandler 0000001A
Symbol: TIM2_IRQHandler
Definitions
At line 290 in file startup_stm32f103xe.s
Uses
ARM Macro Assembler Page 9 Alphabetic symbol ordering
Relocatable symbols
At line 106 in file startup_stm32f103xe.s
At line 229 in file startup_stm32f103xe.s
TIM3_IRQHandler 0000001A
Symbol: TIM3_IRQHandler
Definitions
At line 291 in file startup_stm32f103xe.s
Uses
At line 107 in file startup_stm32f103xe.s
At line 230 in file startup_stm32f103xe.s
TIM4_IRQHandler 0000001A
Symbol: TIM4_IRQHandler
Definitions
At line 292 in file startup_stm32f103xe.s
Uses
At line 108 in file startup_stm32f103xe.s
At line 231 in file startup_stm32f103xe.s
TIM5_IRQHandler 0000001A
Symbol: TIM5_IRQHandler
Definitions
At line 312 in file startup_stm32f103xe.s
Uses
At line 128 in file startup_stm32f103xe.s
At line 251 in file startup_stm32f103xe.s
TIM6_IRQHandler 0000001A
Symbol: TIM6_IRQHandler
Definitions
At line 316 in file startup_stm32f103xe.s
Uses
At line 132 in file startup_stm32f103xe.s
At line 255 in file startup_stm32f103xe.s
TIM7_IRQHandler 0000001A
Symbol: TIM7_IRQHandler
Definitions
At line 317 in file startup_stm32f103xe.s
Uses
At line 133 in file startup_stm32f103xe.s
At line 256 in file startup_stm32f103xe.s
TIM8_BRK_IRQHandler 0000001A
Symbol: TIM8_BRK_IRQHandler
Definitions
At line 305 in file startup_stm32f103xe.s
Uses
At line 121 in file startup_stm32f103xe.s
At line 244 in file startup_stm32f103xe.s
TIM8_CC_IRQHandler 0000001A
ARM Macro Assembler Page 10 Alphabetic symbol ordering
Relocatable symbols
Symbol: TIM8_CC_IRQHandler
Definitions
At line 308 in file startup_stm32f103xe.s
Uses
At line 124 in file startup_stm32f103xe.s
At line 247 in file startup_stm32f103xe.s
TIM8_TRG_COM_IRQHandler 0000001A
Symbol: TIM8_TRG_COM_IRQHandler
Definitions
At line 307 in file startup_stm32f103xe.s
Uses
At line 123 in file startup_stm32f103xe.s
At line 246 in file startup_stm32f103xe.s
TIM8_UP_IRQHandler 0000001A
Symbol: TIM8_UP_IRQHandler
Definitions
At line 306 in file startup_stm32f103xe.s
Uses
At line 122 in file startup_stm32f103xe.s
At line 245 in file startup_stm32f103xe.s
UART4_IRQHandler 0000001A
Symbol: UART4_IRQHandler
Definitions
At line 314 in file startup_stm32f103xe.s
Uses
At line 130 in file startup_stm32f103xe.s
At line 253 in file startup_stm32f103xe.s
UART5_IRQHandler 0000001A
Symbol: UART5_IRQHandler
Definitions
At line 315 in file startup_stm32f103xe.s
Uses
At line 131 in file startup_stm32f103xe.s
At line 254 in file startup_stm32f103xe.s
USART1_IRQHandler 0000001A
Symbol: USART1_IRQHandler
Definitions
At line 299 in file startup_stm32f103xe.s
Uses
At line 115 in file startup_stm32f103xe.s
At line 238 in file startup_stm32f103xe.s
USART2_IRQHandler 0000001A
Symbol: USART2_IRQHandler
Definitions
At line 300 in file startup_stm32f103xe.s
Uses
At line 116 in file startup_stm32f103xe.s
ARM Macro Assembler Page 11 Alphabetic symbol ordering
Relocatable symbols
At line 239 in file startup_stm32f103xe.s
USART3_IRQHandler 0000001A
Symbol: USART3_IRQHandler
Definitions
At line 301 in file startup_stm32f103xe.s
Uses
At line 117 in file startup_stm32f103xe.s
At line 240 in file startup_stm32f103xe.s
USBWakeUp_IRQHandler 0000001A
Symbol: USBWakeUp_IRQHandler
Definitions
At line 304 in file startup_stm32f103xe.s
Uses
At line 120 in file startup_stm32f103xe.s
At line 243 in file startup_stm32f103xe.s
USB_HP_CAN1_TX_IRQHandler 0000001A
Symbol: USB_HP_CAN1_TX_IRQHandler
Definitions
At line 281 in file startup_stm32f103xe.s
Uses
At line 97 in file startup_stm32f103xe.s
At line 220 in file startup_stm32f103xe.s
USB_LP_CAN1_RX0_IRQHandler 0000001A
Symbol: USB_LP_CAN1_RX0_IRQHandler
Definitions
At line 282 in file startup_stm32f103xe.s
Uses
At line 98 in file startup_stm32f103xe.s
At line 221 in file startup_stm32f103xe.s
UsageFault_Handler 00000010
Symbol: UsageFault_Handler
Definitions
At line 177 in file startup_stm32f103xe.s
Uses
At line 66 in file startup_stm32f103xe.s
At line 178 in file startup_stm32f103xe.s
WWDG_IRQHandler 0000001A
Symbol: WWDG_IRQHandler
Definitions
At line 262 in file startup_stm32f103xe.s
Uses
At line 78 in file startup_stm32f103xe.s
At line 201 in file startup_stm32f103xe.s
__user_initial_stackheap 0000001C
Symbol: __user_initial_stackheap
ARM Macro Assembler Page 12 Alphabetic symbol ordering
Relocatable symbols
Definitions
At line 342 in file startup_stm32f103xe.s
Uses
At line 340 in file startup_stm32f103xe.s
Comment: __user_initial_stackheap used once
73 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Absolute symbols
Heap_Size 00000400
Symbol: Heap_Size
Definitions
At line 43 in file startup_stm32f103xe.s
Uses
At line 47 in file startup_stm32f103xe.s
At line 346 in file startup_stm32f103xe.s
Stack_Size 00000400
Symbol: Stack_Size
Definitions
At line 33 in file startup_stm32f103xe.s
Uses
At line 36 in file startup_stm32f103xe.s
At line 345 in file startup_stm32f103xe.s
__Vectors_Size 00000130
Symbol: __Vectors_Size
Definitions
At line 140 in file startup_stm32f103xe.s
Uses
At line 58 in file startup_stm32f103xe.s
Comment: __Vectors_Size used once
3 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
External symbols
SystemInit 00000000
Symbol: SystemInit
Definitions
At line 148 in file startup_stm32f103xe.s
Uses
At line 149 in file startup_stm32f103xe.s
Comment: SystemInit used once
__main 00000000
Symbol: __main
Definitions
At line 147 in file startup_stm32f103xe.s
Uses
At line 151 in file startup_stm32f103xe.s
Comment: __main used once
__use_two_region_memory 00000000
Symbol: __use_two_region_memory
Definitions
At line 339 in file startup_stm32f103xe.s
Uses
None
Comment: __use_two_region_memory unused
3 symbols
426 symbols in table

View File

@@ -14,13 +14,12 @@
;******************************************************************************
;* @attention
;*
;* Copyright (c) 2017 STMicroelectronics.
;* Copyright (c) 2017-2021 STMicroelectronics.
;* All rights reserved.
;*
;* This software component is licensed by ST under BSD 3-Clause license,
;* the "License"; You may not use this file except in compliance with the
;* License. You may obtain a copy of the License at:
;* opensource.org/licenses/BSD-3-Clause
;* This software is licensed under terms that can be found in the LICENSE file
;* in the root directory of this software component.
;* If no LICENSE file comes with this software, it is provided AS-IS.
;*
;******************************************************************************
@@ -353,4 +352,3 @@ __user_initial_stackheap
END
;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More