supported chip

Beta Testing discussion on mikroPascal PRO for 8051.
Post Reply
Author
Message
piort
Posts: 1379
Joined: 28 Dec 2005 16:42
Location: Laval,Québec,Canada,Earth... :-)
Contact:

supported chip

#1 Post by piort » 10 Aug 2009 14:05

Its nice to see the supported chip growing but do you plan to support some other like :
P89LPC952FA
P89C668HFA
P89CU51RD2FA
DS89C430
and the most usefull one...
CC2510
CC2511

have a nice day and continu your nice work ;-)

User avatar
mileta.miletic
mikroElektronika team
Posts: 493
Joined: 05 Jun 2009 14:46
Location: Belgrade, Serbia
Contact:

Re: supported chip

#2 Post by mileta.miletic » 20 Aug 2009 13:45

Hi piort,
Thanks for the note, it will be considered.
Regards,
Mileta

matrix
Posts: 203
Joined: 26 Jan 2006 07:21
Location: Bulgaria
Contact:

Re: supported chip

#3 Post by matrix » 10 Jun 2010 15:52

Hallo MikroE!

I have some questions:

Cos I'm going to start project with TI CC2510 and I prefer your compilers, can we expect soon a version with this chip support?
Or is it possible to be added support just with def file like PICs?

Thanks.

piort
Posts: 1379
Joined: 28 Dec 2005 16:42
Location: Laval,Québec,Canada,Earth... :-)
Contact:

Re: supported chip

#4 Post by piort » 10 Jun 2010 18:30

matrix wrote: is it possible to be added support just with def file like PICs?
Hi, i alrdy make some test with P89 without success but i think is my lack of knowedge of the 8051 memory structure. :oops: I have try too with the CC2511 because is very interesting to have 2,4 rf power with a mcu with 32K of flash memori and USB support all in single chip... But TI make the memory structure event more bizaroide for me ;-)

i really hope ME will be made some support for those chip... i dont want to use KEIL because i hate programming in C lololol

matrix
Posts: 203
Joined: 26 Jan 2006 07:21
Location: Bulgaria
Contact:

Re: supported chip

#5 Post by matrix » 10 Jun 2010 21:59

I too don't know the 8051, but now look at CC2510 datasheet and see that memory map is not bad. But let's ME say.

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: supported chip

#6 Post by tihomir.losic » 11 Jun 2010 13:11

Hello,

Unfortunately, Texas Instruments microcontrollers not supported by any of our compilers.
We will consider about support for that kind of microcontrollers in one of the future releases.

Sorry for the inconvenience.

Best regards,

Losic Tihomir
mikroElektronika [Support team]

matrix
Posts: 203
Joined: 26 Jan 2006 07:21
Location: Bulgaria
Contact:

Re: supported chip

#7 Post by matrix » 11 Jun 2010 14:11

So... this is 8051.... and code for 8051 should work? Or am I wrong? Could you provide to me a definition file for some of other 8051 MCU in *.mpas format?

piort
Posts: 1379
Joined: 28 Dec 2005 16:42
Location: Laval,Québec,Canada,Earth... :-)
Contact:

Re: supported chip

#8 Post by piort » 11 Jun 2010 16:04

hi,
i have made a quick chk and no .mpas file in the def directory... why? they are there for Pic, Dspic and AVR. Only .mcl and .mlk in the 8051 def directory :(
Maybe you can give us some def file in .mpas as exemple on what we have to do for other 8051 core MCU... But by experience, the one i have made last year for P89 never work... do compiler do something particular for atmel and silabs that is not compatible with other brand like TI or NXP ?

thx

ps. in fact i dont care about P89 now because what i have in stock is now outdated... but CC25xx series will be nice ;-)

matrix
Posts: 203
Joined: 26 Jan 2006 07:21
Location: Bulgaria
Contact:

Re: supported chip

#9 Post by matrix » 12 Jun 2010 08:37

I started with this, but no success for now:

Code: Select all

unit CC2510;

// Individual bit access constants
const B0 = 0;
const B1 = 1;
const B2 = 2;
const B3 = 3;
const B4 = 4;
const B5 = 5;
const B6 = 6;
const B7 = 7;

var
  R0  : byte; absolute 0x0000; rx;
  R1  : byte; absolute 0x0001; rx;
  R2  : byte; absolute 0x0002; rx;
  R3  : byte; absolute 0x0003; rx;
  R4  : byte; absolute 0x0004; rx;
  R5  : byte; absolute 0x0005; rx;
  R6  : byte; absolute 0x0006; rx;
  R7  : byte; absolute 0x0007; rx;
  
  PSW : byte; absolute 0x00D0; sfr;
  ACC : byte; absolute 0x00E0; sfr;
  B   : byte; absolute 0x00F0; sfr;
  SP  : byte; absolute 0x0081; sfr;
  
  DPH0   : byte; absolute 0x0083; sfr;
  DPL0   : byte; absolute 0x0082; sfr;
  DPH1   : byte; absolute 0x0085; sfr;
  DPL1   : byte; absolute 0x0084; sfr;
  DPS    : byte; absolute 0x0092; sfr;
  MPAGE  : byte; absolute 0x0093; sfr;
  IEN0   : byte; absolute 0x00A8; sfr;
  IEN1   : byte; absolute 0x00B8; sfr;
  IEN2   : byte; absolute 0x009A; sfr;
  TCON   : byte; absolute 0x0088; sfr;
  S0CON  : byte; absolute 0x0098; sfr;
  S1CON  : byte; absolute 0x009B; sfr;
  IRCON  : byte; absolute 0x00C0; sfr;
  IRCON2 : byte; absolute 0x00E8; sfr;
  IP1    : byte; absolute 0x00B9; sfr;
  IP2    : byte; absolute 0x00A9; sfr;
  MEMCTR : byte; absolute 0x00C7; sfr;
  PERCFG : byte; absolute 0x00F1; sfr;
  ADCCFG : byte; absolute 0x00F2; sfr;
  P0SEL  : byte; absolute 0x00F3; sfr;
  P1SEL  : byte; absolute 0x00F4; sfr;
  P2SEL  : byte; absolute 0x00F5; sfr;
  P0DIR  : byte; absolute 0x00FD; sfr;
  P1DIR  : byte; absolute 0x00FE; sfr;
  P2DIR  : byte; absolute 0x00FF; sfr;
  P0INP  : byte; absolute 0x008F; sfr;
  P1INP  : byte; absolute 0x00F6; sfr;
  P2INP  : byte; absolute 0x00F7; sfr;
  P0IFG  : byte; absolute 0x0089; sfr;
  P1IFG  : byte; absolute 0x008A; sfr;
  P2IFG  : byte; absolute 0x008B; sfr;
  PICTL  : byte; absolute 0x008C; sfr;
  P1IEN  : byte; absolute 0x008D; sfr;
  DMAARM : byte; absolute 0x00D6; sfr;
  DMAREQ : byte; absolute 0x00D7; sfr;
  DMA0CFGH : byte; absolute 0x00D5; sfr;
  DMA0CFGL : byte; absolute 0x00D4; sfr;
  DMA1CFGH : byte; absolute 0x00D3; sfr;
  DMA1CFGL : byte; absolute 0x00D2; sfr;
  DMAIRQ   : byte; absolute 0x00D1; sfr;
  T1CNTH   : byte; absolute 0x00E3; sfr;
  T1CNTL   : byte; absolute 0x00E2; sfr;
  T1CTL    : byte; absolute 0x00E4; sfr;
  T1CTL0   : byte; absolute 0x00E5; sfr;
  T1CC0H   : byte; absolute 0x00DB; sfr;
  T1CC0L   : byte; absolute 0x00DA; sfr;
  T1CCTL1  : byte; absolute 0x00E6; sfr;
  T1CC1H   : byte; absolute 0x00DD; sfr;
  T1CC1L   : byte; absolute 0x00DC; sfr;
  T1CCTL2  : byte; absolute 0x00E7; sfr;
  T1CC2H   : byte; absolute 0x00DF; sfr;
  T1CC2L   : byte; absolute 0x00DE; sfr;
  T2CTL    : byte; absolute 0x009E; sfr;
  T2CT     : byte; absolute 0x009C; sfr;
  T2PR     : byte; absolute 0x009D; sfr;
  WORTIME0 : byte; absolute 0x00A5; sfr;
  WORTIME1 : byte; absolute 0x00A6; sfr;
  WOREVT1  : byte; absolute 0x00A4; sfr;
  WOREVT0  : byte; absolute 0x00A3; sfr;
  WORCTL   : byte; absolute 0x00A2; sfr;
  WORIRQ   : byte; absolute 0x00A1; sfr;
  T3CNT    : byte; absolute 0x00CA; sfr;
  T3CTL    : byte; absolute 0x00CB; sfr;
  T3CCTL0  : byte; absolute 0x00CC; sfr;
  T3CC0    : byte; absolute 0x00CD; sfr;
  T3CCTL1  : byte; absolute 0x00CE; sfr;
  T3CC1    : byte; absolute 0x00CF; sfr;
  T4CNT    : byte; absolute 0x00EA; sfr;
  T4CTL    : byte; absolute 0x00EB; sfr;
  T4CCTL0  : byte; absolute 0x00EC; sfr;
  T4CC0    : byte; absolute 0x00ED; sfr;
  T4CCTL1  : byte; absolute 0x00EE; sfr;
  T4CC1    : byte; absolute 0x00EF; sfr;
  TIMIF    : byte; absolute 0x00D8; sfr;
  ADCL     : byte; absolute 0x00BA; sfr;
  ADCH     : byte; absolute 0x00BB; sfr;
  ADCCON1  : byte; absolute 0x00B4; sfr;
  ADCCON2  : byte; absolute 0x00B5; sfr;
  ADCCON3  : byte; absolute 0x00B6; sfr;
  RNDL     : byte; absolute 0x00BC; sfr;
  RNDH     : byte; absolute 0x00BD; sfr;
  ENCCS    : byte; absolute 0x00B3; sfr;
  ENCDI    : byte; absolute 0x00B1; sfr;
  ENCDO    : byte; absolute 0x00B2; sfr;
  PCON     : byte; absolute 0x0087; sfr;
  SLEEP    : byte; absolute 0x00BE; sfr;
  CLKCON   : byte; absolute 0x00C6; sfr;
  WDCTL    : byte; absolute 0x00C9; sfr;
  U0CSR    : byte; absolute 0x0086; sfr;
  U0UCR    : byte; absolute 0x00C4; sfr;
  U0GCR    : byte; absolute 0x00C5; sfr;
  U0DBUF   : byte; absolute 0x00C1; sfr;
  U0BAUD   : byte; absolute 0x00C2; sfr;
  U1CSR    : byte; absolute 0x00F8; sfr;
  U1UCR    : byte; absolute 0x00FB; sfr;
  U1GCR    : byte; absolute 0x00FC; sfr;
  U1DBUF   : byte; absolute 0x00F9; sfr;
  U1BAUD   : byte; absolute 0x00FA; sfr;
  
  FCTL     : byte; absolute 0x00AE; sfr;
  FWDATA   : byte; absolute 0x00AF; sfr;
  FADDRH   : byte; absolute 0x00AD; sfr;
  FADDRL   : byte; absolute 0x00AC; sfr;
  FWT      : byte; absolute 0x00AB; sfr;
  RFIF     : byte; absolute 0x00E9; sfr;
  RFIM     : byte; absolute 0x0091; sfr;
  
  I2SCFG0  : byte; absolute 0xDF40; sfr;
  I2SCFG1  : byte; absolute 0xDF41; sfr;
  I2SDATL  : byte; absolute 0xDF42; sfr;
  I2SDATH  : byte; absolute 0xDF43; sfr;
  I2SWCNT  : byte; absolute 0xDF44; sfr;
  I2SSTAT  : byte; absolute 0xDF45; sfr;
  I2SCLKF0 : byte; absolute 0xDF46; sfr;
  I2SCLKF1 : byte; absolute 0xDF47; sfr;
  I2SCLKF2 : byte; absolute 0xDF48; sfr;

  P0 : byte; absolute 0x0080; volatile; sfr;
  P1 : byte; absolute 0x0090; volatile; sfr;
  P2 : byte; absolute 0x00A0; volatile; sfr;

implementation

end.

julmars
Posts: 1
Joined: 10 Oct 2010 20:03

Re: supported chip

#10 Post by julmars » 10 Oct 2010 20:06

Matrix, any luck?

matrix
Posts: 203
Joined: 26 Jan 2006 07:21
Location: Bulgaria
Contact:

Re: supported chip

#11 Post by matrix » 03 Nov 2010 10:44

julmars wrote:Matrix, any luck?
Yes, see here:

http://www.mikroe.com/forum/viewtopic.php?f=62&t=25919

Post Reply

Return to “mikroPascal PRO for 8051 Beta Testing”