[Sdcc-user] Getting started with C8051F120 problem

2016-12-26 Thread Philipp Klaus Krause
To look into SDCC mcs51 performance, I wanted to run Whetstone, Dhrystone, Coremark on an C8051. The C8051F120 is one of the few that has enough RAM. For getting started with the C8051F120 I tried to switch on / off an LED on a C8051F120 board with this program (and the same with P3 = 0x00;). #inc

Re: [Sdcc-user] Getting started with C8051F120 problem

2016-12-26 Thread Philipp Klaus Krause
On 26.12.2016 14:54, Philipp Klaus Krause wrote: > The same cables and U-EC6 debug adapter clone work fine with the > C8051F020 board. > > Philipp To flash the C8051F120 I use ec2writeflash --port USB, just like with the C8051F020 board. ec2writeflash recognizes the C8051F120 as C8051F120. Phili

Re: [Sdcc-user] Getting started with C8051F120 problem

2016-12-26 Thread Maarten Brock
Hi Philipp, On what SFRPAGE are P3MDOUT and XBR2 located? Is that also the default? Further, if you don't use our c8051f120.h> you will have to define _XPAGE yourself to let the xdata initialization succeed in the future. Maarten > To look into SDCC mcs51 performance, I wanted to run Whetstone,