Skip to main content
Graduate II
November 18, 2024
Question

Hal_Delay has stopped working ( STM32F030C6T6 )

  • November 18, 2024
  • 1 reply
  • 1082 views

Hal_Delay çalışmayı durdurdu ( STM32F030C6T6 )

Forumda buna benzer birçok konu okudum ama bir çözüm bulamadım. Sanırım sorunun kaynağının bu olduğunu anlayalı 7-8 gün oldu. Hal_Delay() çalışmadığı için GetTick() fonksiyonunu da kullanamıyorum. Basit testler yaparken Hal_delay() fonksiyonunun da çalışmadığını fark ettim. Bu sorunun üstesinden gelmeme yardım edebilir misin? Proje dosyası ektedir.

XooM_0-1731963507019.png

 

    This topic has been closed for replies.

    1 reply

    Graduate II
    November 18, 2024

    What's going on with BOOT0 pin ?

    Dump Memory at 0x00000000 ? Same as 0x08000000 ?

    Make sure FLASH is mapped at ZERO so the interrupts work.

    HAL_Init() should be bringing up the SysTick

    https://github.com/STMicroelectronics/cmsis-device-f0/blob/f3174b2801bbca0b4481d7d8ea62c9d153ce6789/Source/Templates/gcc/startup_stm32f042x6.s#L66

     /*SYSCFG clock enable*/
    
     LDR R0,=0x40021018
     LDR R1,=0x00000001
     STR R1, [R0]
    
    /*Set CFGR1 register with flash memory remap at address 0*/
     LDR R0,=0x40010000
     LDR R1,=0x00000000
     STR R1, [R0]

      

    Graduate II
    November 18, 2024
    XooMAuthor
    Graduate II
    November 18, 2024

    I am a beginner in STM32. What exactly should I do? I don't know enough to understand what you are saying. But if you explain, maybe I can make the necessary corrections.