Re: [Sdcc-user] getting started with C8051

2016-08-19 Thread benjamin
data over the serial port and sdcc. If I use Keil it works fine. And the same code works fine on the F300. I'd be happy to supply you with hardware if you are interested to investigate the issue. Currently I use Keil which works with what I want to d

Re: [Sdcc-user] getting started with C8051

2016-08-21 Thread benjamin
> Hello Benjamin, > > Using a delay loop counting a non-volatile variable is asking for trouble. > This code has no side effects and can be completely removed by compiler > optimizations. And with an F340 running twice as fast as as an F300 the > delay won't be the sa

[Sdcc-user] Generating code for Silabs C8051F330

2016-06-01 Thread Benjamin Larsson
e properly. MvH Benjamin Larsson -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth

Re: [Sdcc-user] Generating code for Silabs C8051F330

2016-06-05 Thread Benjamin Larsson
On 06/02/2016 08:40 AM, Daniel Drotos wrote: > On Thu, 2 Jun 2016, Benjamin Larsson wrote: > >> https://github.com/merbanan/C8051F300_examples >> >> Everything worked fine. Then I switched to the C8051F330 mcu and all >> went to shit. Small examples worked some

Re: [Sdcc-user] Using SDCC with Linux to program the Silicon Labs EFM8

2016-08-09 Thread Benjamin Larsson
different from C8051F. MvH Benjamin Larsson -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most

Re: [Sdcc-user] Using SDCC with Linux to program the Silicon Labs EFM8

2016-08-09 Thread Benjamin Larsson
On 08/09/2016 07:16 PM, Kustaa Nyholm wrote: > > On 09/08/2016 19:48, "Benjamin Larsson" wrote: > >> Simplicity Studio does not support C2 programmers under linux. At least >> I was not able to get it working. > > Which? Does not support (as per some docume

Re: [Sdcc-user] Using SDCC with Linux to program the Silicon Labs EFM8

2016-08-09 Thread Benjamin Larsson
e C8051F chips. SDCC support for one of the chips works fine. The other chip does not for some reason. MvH Benjamin Larsson -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns a

Re: [Sdcc-user] FX2LP timer 1 issue

2016-08-15 Thread Benjamin Larsson
ock affected timer 2. I remember that increasing the cpu clock mitigated the effect. MvH Benjamin Larsson -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. R

Re: [Sdcc-user] getting started with C8051

2016-08-28 Thread Benjamin Larsson
unction to send strings and tried all kinds of tricks but couldn't get around this issue. The Keil compiler that you get with the Silabs Simplicity Studio works without any problems for me. Maybe it would be worth porting your small example to Keil and see the

Re: [Sdcc-user] getting started with C8051

2016-08-28 Thread Benjamin Larsson
On 08/28/2016 11:03 PM, Philipp Klaus Krause wrote: > Dear Benjamin, > > what tool are you using to write your program onto the board? > > Philipp Under windows I use simplicity studio with a UC6 device. Under linux I use ec2-new from https://github.com/paragonRobotics/ec2-new

Re: [Sdcc-user] getting started with C8051

2016-08-28 Thread Benjamin Larsson
t; > Philipp > Just to confirm your findings I have this function as my "printf": void send_string(unsigned char *string) { while(*string) send_byte(*string++); // Send string 1 byte at a

Re: [Sdcc-user] getting started with C8051

2016-08-28 Thread Benjamin Larsson
On 08/28/2016 11:30 PM, Philipp Klaus Krause wrote: > On 28.08.2016 23:13, Benjamin Larsson wrote: >> On 08/28/2016 11:03 PM, Philipp Klaus Krause wrote: >>> Dear Benjamin, >>> >>> what tool are you using to write your program onto the board? >>> >&g

Re: [Sdcc-user] getting started with C8051

2016-09-01 Thread Benjamin Larsson
er hardware. So all this is most likely caused by the flasher software under linux. I was able to reproduce this with a hex file of ca 1k. So hopefully I will be able to track down the changes needed