Others: hardware and software

Discuss hardware and software design challenges, including NOR flash storage, OTA updates, component ID, and thermal management.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Cosmic Compiler Bug

Posted on March 04, 2013 at 16:33I'm using Cosmic Eval C Compiler V 4.3.7. The code of concern is as follows: if( RST->SR & (u8)0x02 == (u8)0x02) {....} I'm simply checking bit 1 of the reset register. I checked the disassembler because the program ...

Strange value of register

Posted on February 24, 2013 at 09:08I have one strange problem. After this fragment of code program:b = a;a =/ 40;if(!a)//breakpointsthe results of two registers are: b = 50000 - good value, a=0The value of a should be about 1250 not 0!!I can't find...

adaszeq by Associate
  • 1215 Views
  • 4 replies
  • 0 kudos

Pull-up Configuration on STM8L151C6

Posted on February 28, 2013 at 09:31Good day, I configure PortB PB2, PB3 and PB4 as inputs, pull-up, no ext int. These pins work 100% no problem. I also configure PortC, PC0 and PC1 precisely the same as the above pins but the pull-ups is not connec...

wynand by Associate II
  • 1738 Views
  • 2 replies
  • 0 kudos

I2c pcf8574-Ds1307--

Posted on February 20, 2013 at 20:58hello, after long trying, i managed to write to the pcf8574 in assembly language. no i have only a problem with WRITING to the DS1307, i can read the DS1307 my question is, when you use a crystal of 14.7456Mhz, wh...

spear600-2 jtag interface

Posted on February 15, 2013 at 02:38hi, can anyone used jtag interface of spear600-2 before share some experience? on my board with spear600-2(manufacturer SGS/Thomson, idcode 07926041h), I can detect the correct jtag chain.but I can't control spea...

STM8S I2c

Posted on January 30, 2013 at 11:34hello, i try to make a connection between the stm8s207 and an pcf8574. the problem is with the software, because i can control the pcf8574 with an AARDVARK analyzer. when i send a start and an adress (40) for pcf85...

Cosmic compiler unexpected result

Posted on February 01, 2013 at 12:05Hi. I'm using the Cosmic STM8 compiler (''free'' version, v4.3.9) and it appears to generate unexpected results for the following test :- static char test(unsigned int x, unsigned int y) {    return (int)(x - y) <...

phorton by Associate II
  • 8465 Views
  • 18 replies
  • 0 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.