Regaining control of CPU after download (LPC2000)

Follow

Comments

3 comments

  • Avatar
    Gordon Scott

    I seem to be in a similar situation with an STM32.

    Am I right?  Does anyone know the right way out of the situation?

    What does the STARTUP_FROM_RESET  actually do?

    TIA,

          Gordon.

  • Avatar
    Gordon Scott

    Yup. STM32 needs setting to boot mode system/bootloader (Boot_0 high, Boot_1 low) for the JTAG to control. In my case, as the boot pins are under control from another processor, I also have to reset the CPU to make it see the boot-pin settings.

     

    Gordon.

  • Avatar
    Gordon Scott

    There seems to be another layer of this. A new board with the boot pins wired like that disappears off into the bootloader code somewhere, a little while after the program starts. It appears to do that from somewhere within the CTL code, so I'm unsure yet whether this is an STM32/hardware issue, or an artefact of the CTL.

Please sign in to leave a comment.