STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Cosmic compiler producing wrong asm

I couldn't find a forum for the cosmic compiler. If anyone knows of one let me know and I'll ask there instead.I have code that is compiling wrong. A function has a u16 parameter and that param is being referenced as u8. This is the declaration of...

mchahn by Senior
  • 553 Views
  • 6 replies
  • 0 kudos

Problem displaying numbers in 3 digits seven segment display interfaced with 74HC595 shift register? I am trying to send values from stm8s003f3 to display it in 3 digit seven segment display. I have interfaced Stm8s with 74hc595d for pin reduction.

The problem faced is that values send from controller is not displayed on 3 digit seven segment. I am attaching the program please tell me where i am doing wrong./* MAIN.C file *  * Copyright (c) 2002-2005 STMicroelectronics */#include "STM8s.h"void...

AMana.2 by Associate
  • 458 Views
  • 0 replies
  • 0 kudos

Debugger doesn't seem to be working

I have been following this tutorial:http://stm8sdiscovery.nano-age.co.uk/adventures-in-stm8-assembler/getting-started-with-the-blinking-led. When he does the "run to cursor" it stops on the instruction and highlights the editor window. Mine the out...

JTann.1 by Associate II
  • 526 Views
  • 0 replies
  • 0 kudos

how to clear the pending external interrupt

@svlreg INTERRUPT_HANDLER(EXTI_PORTD_IRQHandler, 6){ /* In order to detect unexpected events during development,   it is recommended to set a breakpoint on the following instruction. */ if((SWITCH == RESET) && (flag == SET)) { OFF_STATUS = TRUE; fla...

Trinu by Associate III
  • 673 Views
  • 0 replies
  • 0 kudos