Re: [Sdcc-user] 8051-variant dev board recommendations

2016-08-15 Thread Philipp Klaus Krause
On 09.07.2016 09:25, Maarten Brock wrote: >> On 07.07.2016 05:42, Sab V wrote: >>> This may not meet all your requirements, but you should look at the FX2 >>> from cypress. >> >> FX2LP looks good: 16 KB shared data/code RAM. Free fxload tool (even >> already in Debian GNU/Linux). Cheap (approx. 10

[Sdcc-user] FX2LP timer 1 issue

2016-08-15 Thread Philipp Klaus Krause
Hello, I wrote my first little mcs51 program today, for the Cypress FX2LP. But I encountered a problem: Timer 1 runs too fast. When I set up Timer 0 and Timer 1 the same, Timer 1 runs about 4 times faster. I first noticed the problem when trying to do a software UART, which worked with Tiemr 1, b

Re: [Sdcc-user] FX2LP timer 1 issue

2016-08-15 Thread Philipp Klaus Krause
On 15.08.2016 20:01, Philipp Klaus Krause wrote: > Hello, > > I wrote my first little mcs51 program today, for the Cypress FX2LP. But > I encountered a problem: Timer 1 runs too fast. When I set up Timer 0 > and Timer 1 the same, Timer 1 runs about 4 times faster. > > I first noticed the problem

Re: [Sdcc-user] FX2LP timer 1 issue

2016-08-15 Thread Maarten Brock
> On 15.08.2016 20:01, Philipp Klaus Krause wrote: >> Hello, >> >> I wrote my first little mcs51 program today, for the Cypress FX2LP. But >> I encountered a problem: Timer 1 runs too fast. When I set up Timer 0 >> and Timer 1 the same, Timer 1 runs about 4 times faster. >> >> I first noticed the p

Re: [Sdcc-user] FX2LP timer 1 issue

2016-08-15 Thread Benjamin Larsson
On 08/15/2016 08:01 PM, Philipp Klaus Krause wrote: > Hello, > > I wrote my first little mcs51 program today, for the Cypress FX2LP. But > I encountered a problem: Timer 1 runs too fast. When I set up Timer 0 > and Timer 1 the same, Timer 1 runs about 4 times faster. > I have very little experienc

Re: [Sdcc-user] FX2LP timer 1 issue

2016-08-15 Thread Philipp Klaus Krause
On 15.08.2016 20:54, Maarten Brock wrote: >> On 15.08.2016 20:01, Philipp Klaus Krause wrote: >>> Hello, >>> >>> I wrote my first little mcs51 program today, for the Cypress FX2LP. But >>> I encountered a problem: Timer 1 runs too fast. When I set up Timer 0 >>> and Timer 1 the same, Timer 1 runs a

Re: [Sdcc-user] FX2LP timer 1 issue

2016-08-15 Thread Philipp Klaus Krause
On 15.08.2016 20:57, Benjamin Larsson wrote: > On 08/15/2016 08:01 PM, Philipp Klaus Krause wrote: >> Hello, >> >> I wrote my first little mcs51 program today, for the Cypress FX2LP. But >> I encountered a problem: Timer 1 runs too fast. When I set up Timer 0 >> and Timer 1 the same, Timer 1 runs a

Re: [Sdcc-user] FX2LP timer 1 issue

2016-08-15 Thread Maarten Brock
> On 15.08.2016 20:54, Maarten Brock wrote: >>> On 15.08.2016 20:01, Philipp Klaus Krause wrote: Hello, I wrote my first little mcs51 program today, for the Cypress FX2LP. But I encountered a problem: Timer 1 runs too fast. When I set up Timer 0 and Timer 1 the same, T

Re: [Sdcc-user] FX2LP timer 1 issue

2016-08-15 Thread Philipp Klaus Krause
On 15.08.2016 21:42, Maarten Brock wrote: >> On 15.08.2016 20:54, Maarten Brock wrote: On 15.08.2016 20:01, Philipp Klaus Krause wrote: > Hello, > > I wrote my first little mcs51 program today, for the Cypress FX2LP. > But > I encountered a problem: Timer 1 runs too fast. W

[Sdcc-user] mcs51 / FX2LP performance - 0.0096 DMIPS / Mhz correct?

2016-08-15 Thread Philipp Klaus Krause
I have proted Dhrystone to the FX2LP, and ran it at 48 Mhz. I get the results below, which translates to 0.0096 DMIPS / Mhz (vs. 0.355 DMIPS / Mhz for stm8 in current SDCC). So the STM8 is about 37 times faster per Mhz than the FX2LP. Does that seem about right? For the FX2LP I Used --model-large