cancel
Showing results for 
Search instead for 
Did you mean: 

first use stm8s discovery

trigui_omar
Associate
Posted on May 20, 2013 at 13:34

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

1 REPLY 1
trigui_omar
Associate
Posted on May 20, 2013 at 22:45

Now the error message disappears after an STVP test  but the LED doesn't blink?