AnsweredAssumed Answered

SMT8S007 - Debugging OK, but Programmed Code doesnt run?

Question asked by Salgueiro.David on Apr 4, 2014
Latest reply on Apr 8, 2014 by mcwiggin.patrick
Hello,

I have been able to develop an STM8S007 project with STVD and cosmic C.  I have been able to test the project with no compile errors etc.

When I use STVP to program the .S19 file into the chip, everything programs OK and verifies OK.

When I remove the ST-LINK/V2 from my PCB and turn the power on I find that the STM8 seems like its not running.

Why would my code run when debugging but not when flashed?  Any ideas on how to troubleshoot this?

Outcomes