Skip to main content
Visitor II
September 8, 2023
Question

stm8s207mb controller working only in debug

  • September 8, 2023
  • 1 reply
  • 809 views

 Hi Sir ,

   This is kishor ,we are using stm8s207mb in our application, some board are working in debug mode only , when we come out from debug its not running . iam not able to understand the  problem . is there any ide issue or hard ware issue . we noticed one point in working  board Reset Pin maintaining 3.5v, in the problem board  it is below 2.6v . but we are  using same components  in all boards ....

 please help me these problem Thank you.......

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    September 8, 2023

    Welcome @kishor, to the community!

    There are a myriad of possible scenarios why the STM8 won't work for you without a debugger connected. Without more details on the environmental conditions (schematics, parameters, etc), probably nobody is able to help you.

    For example, pin NRST on the STM8S207 is a bidirectional pin, as you can see from RM0016, section 8. You should therefore look at this pin with an oscilloscope and not just measure a DC voltage with a multimeter.

    Furthermore, for proper work, cleanly created software is necessary - it is certainly not exactly the same as in the other, working boards, is it?

    Regards
    /Peter