2022-04-26 01:05 AM
That is part of broken software
D8 0A 00 20 CD 02 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 00 00 00 00 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 1D 18 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08
it is part of normal software
D8 0A 00 20 CD 02 00 08 45 4A 00 08 43 45 00 08 41 4A 00 08 95 0C 00 08 ED 7A 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 51 00 08 D9 0E 00 08 00 00 00 00 E1 4C 00 08 29 6B 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02 00 08 00 00 00 00 E7 02 00 08 E7 02 00 08 E7 02 00 08 E7 02
my software starts like that
#include "main.h"
// revizyon takibi
// 2022.04.22 19:58
//
u16 PWM = 300;
__IO u8 PID_OK = 0;
u8 Alarmsayac = 0;
void SystemClock_Config(void);
int main(void)
{
HAL_Init();
SystemClock_Config();
//2022.04.22 emrah
ReadFlash(FLASH_USER_START_ADDR);
if(UserFlash.Flash[0] != 0xFFFFFFFF)
{
EEPROM_Oku();
}
ReadFlash(FLASH_USER_START_ADDR2);
if(UserFlash.Flash[0] != 0xFFFFFFFF)
{
EEPROM_Oku2();
}
MX_GPIO_Init();
MX_ADC2_Init();
MX_RTC_Init();
MX_TIM2_Init();
MX_USART2_UART_Init();
__HAL_UART_ENABLE_IT(&huart2,UART_IT_RXNE);
HAL_TIM_PWM_Start(&htim2,TIM_CHANNEL_1);
HAL_TIM_PWM_Start(&htim2,TIM_CHANNEL_3);
Buzzer_ON();
HAL_Delay(100);
Buzzer_OFF();
ReadADC();
Cam_Sensor_Out = (u16)map(Cam_KS,Window_X1,Window_X2,Window_Y1,Window_Y2);......................