AnsweredAssumed Answered

first use stm8s discovery

Question asked by trigui.omar on May 20, 2013
Latest reply on May 20, 2013 by trigui.omar
Hi All, 

I’m trying to first test my board stm8s discovery with a small example in assembly.

When I start debugging an error message appears “swim error [30006] init error comm chip Does not answer”

I’m using the Operating System windows 7 full edition

Code:

stm8/

                segment 'rom'

start

                 bset $5011,#0

loop_forever

                ldw X,#$FFFF

loop_delay

                nop

                decw X

                jrne loop_delay

                bcpl       $500F,#0

                jra          loop_forever

                end

Please answer me

Thank you for your help and time

Outcomes