Recent

Author Topic: The Simulation of STM32F030C6T6 Cannot Operate  (Read 2274 times)

permafrost1995

  • Newbie
  • Posts: 2
The Simulation of STM32F030C6T6 Cannot Operate
« on: June 20, 2017, 08:49:13 am »
Hello~friends :)
When using MDA5.22 to operate the STM32F030C6T6,( the datasheet of STM32F030C6T6 )I met some odd problems that I haven’t met before used MDK5.11. The program compiled successfully,however,when in the process of simulation then entering into the file--startup_stm32f030x6s:
200   TIM1_BRK_UP_TRG_COM_IRQHandler
201   TIM1_CC_IRQHandler
202   TIM3_IRQHandler
203   TIM14_IRQHandler
204   TIM16_IRQHandler
205   TIM17_IRQHandler
206   I2C1_IRQHandler
207   SPI1_IRQHandler
208   USART1_IRQHandler
209                   B       .
210                  ENDP
211                  ALIGN
212 
It remained in 210 line and cannot continue any more.
I have check it carefully,my software cannot view the watch1 as well as the following system viewer. So I made a list of all the interruption of start-up files and put a loop in to hold up.
Code: [Select]
void NMI_Handler(void)
{
        while (1)
  {
  }
}


void HardFault_Handler(void)
{

  while (1)
  {
  }
}


void SVC_Handler(void)
{
        while (1)
  {
  }
}


void PendSV_Handler(void)
{
        while (1)
  {
  }
}
                
void SysTick_Handler(void)
{

        if(td>=1)
                td--;                
}


void RTC_IRQHandler(void)
{
  if(RTC_GetITStatus(RTC_IT_ALRA) != RESET)
  {
    RTC_ClearITPendingBit(RTC_IT_ALRA);
    EXTI_ClearITPendingBit(EXTI_Line17);
  } 
}


void        WWDG_IRQHandler(void)
{
        while (1)
  {
  }
}

void        FLASH_IRQHandler(void)
{
        while (1)
  {
  }
}
void        RCC_IRQHandler(void)
{
        while (1)
  {
  }
}
void        EXTI0_1_IRQHandler(void)
{
        while (1)
  {
  }
}
void        EXTI2_3_IRQHandler(void)
{
        while (1)
  {
  }
}


void        DMA1_Channel2_3_IRQHandler(void)
{
        while (1)
  {
  }
}
void        DMA1_Channel4_5_IRQHandler(void)
{
        while (1)
  {
  }
}

void        TIM1_BRK_UP_TRG_COM_IRQHandler(void)
{
        while (1)
  {
  }
}
void        TIM1_CC_IRQHandler(void)
{
        while (1)
  {
  }
}

void        TIM14_IRQHandler(void)
{
        while (1)
  {
  }
}
void        TIM16_IRQHandler(void)
{
        while (1)
  {
  }
}
void        TIM17_IRQHandler(void)
{
        while (1)
  {
  }
}
void        I2C1_IRQHandler(void)
{
        while (1)
  {
  }
}
void        SPI1_IRQHandler(void)
{
        while (1)
  {
  }
}
What’s sad, what I do is for nothing ! Can anyone here help me?
Thanks a million!

sam707

  • Guest
Re: The Simulation of STM32F030C6T6 Cannot Operate
« Reply #1 on: June 20, 2017, 08:58:48 am »
10 PRINT"HELLO CHINA!":GOSUB 9710:GOTO 10
...
9710 PRINT"I BELIEVE THERE'S LIFE ON HERE"
9715 PRINT"ARE YOU LOOKING FOR A TRANSLAMATOR FROM CEECRAPS"
9717 PRINT"YOU REACHED ORION PLANET XXIV!"
9720 INPUT"DON'T YOU THINK";R$
9790 RETURN

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: The Simulation of STM32F030C6T6 Cannot Operate
« Reply #2 on: June 20, 2017, 09:45:41 am »
I think somebody posted this in the wrong forum. ;D
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

 

TinyPortal © 2005-2018