The Philippine Electronics and Technology Forum
February 09, 2012, 08:00:25 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  

Pages: 1 2 3 [4] 5   Go Down
  Print  
Author Topic: The 8051 Core MCU - STARTER  (Read 13803 times)
mArKhAo
Gas Turbine
**

Pogi/Ganda Points: 69
Offline Offline

Gender: Male
Posts: 2278


point and shoot


« Reply #60 on: August 05, 2008, 09:02:55 PM »

ganu ktagal ba pag aralan ang assembly language? Huh
Logged

cut my heart out, for a souvenir....
The Philippine Electronics and Technology Forum
« Reply #60 on: August 05, 2008, 09:02:55 PM »

 Logged
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #61 on: August 05, 2008, 09:20:09 PM »

ganu ktagal ba pag aralan ang assembly language? Huh

depende sa number of instructions. Madali lang kung PIC MCU, but a lifetime is needed for a x86 CPU Grin
Logged
mArKhAo
Gas Turbine
**

Pogi/Ganda Points: 69
Offline Offline

Gender: Male
Posts: 2278


point and shoot


« Reply #62 on: August 05, 2008, 09:23:15 PM »

kinukulit q ung prof namin. Cheesy turuan aq ng asembly in one day Cheesy Cheesy Cheesy

-ayaw- hehe
Logged

cut my heart out, for a souvenir....
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #63 on: August 05, 2008, 09:41:26 PM »

^ hehe kawawa naman prof mo. Teacher lang po siya, not a miracle worker Grin
Logged
rdpzycho
Technical People
Solar Power Satellite
*****

Pogi/Ganda Points: 465
Offline Offline

Gender: Male
Posts: 9155


Perfection is an Illusion


WWW
« Reply #64 on: August 05, 2008, 10:00:01 PM »

depende sayo 'yan. pwedeng 1 day, 2 days, 3 days, 4 days, 5 days, pero normally it takes weeks to fully grasp assembly programming. though sa isang araw pwede ka na magpa-blink ng LED. Grin
Logged

‎"Keep on starting, and finishing will take care of itself."

- Neil Fiore
mArKhAo
Gas Turbine
**

Pogi/Ganda Points: 69
Offline Offline

Gender: Male
Posts: 2278


point and shoot


« Reply #65 on: August 05, 2008, 10:06:20 PM »

hehe.... madugo daw kasi ang asembly...

Logged

cut my heart out, for a souvenir....
7_SeVeN_7
Technical People
Solar Power Satellite
*****

Pogi/Ganda Points: 380
Offline Offline

Posts: 5954


There is no delight in owning anything unshared.


« Reply #66 on: August 05, 2008, 10:08:09 PM »

Madali lang kung PIC MCU, but a lifetime is needed for a x86 CPU Grin

Grin Grin Grin Grin
Logged

E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  Grin
rdpzycho
Technical People
Solar Power Satellite
*****

Pogi/Ganda Points: 465
Offline Offline

Gender: Male
Posts: 9155


Perfection is an Illusion


WWW
« Reply #67 on: August 05, 2008, 10:10:25 PM »

hindi naman madugo. masakit lang sa ulo. Grin

nung nag-Zilog kami, assembly tinuro sa amin. challenging ang conditional statements sa assembly. hehehe.
Logged

‎"Keep on starting, and finishing will take care of itself."

- Neil Fiore
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #68 on: August 05, 2008, 10:12:02 PM »

hehe.... madugo daw kasi ang asembly...


tama dapat marami ka napkin when programming in assembly Grin Grin Grin
Logged
glutnix_neo
Technical People
Hydroelectric
*****

Pogi/Ganda Points: 130
Offline Offline

Gender: Female
Posts: 3324


Developing code for "humans" since 2004


WWW
« Reply #69 on: August 06, 2008, 07:50:39 AM »

depende sayo 'yan. pwedeng 1 day, 2 days, 3 days, 4 days, 5 days, pero normally it takes weeks to fully grasp assembly programming. though sa isang araw pwede ka na magpa-blink ng LED. Grin

yah kaya ng 1day un, the following days eh gagamitin mo para matutunan paano icheck kung equal, less than, or greater than ang dalawang numbers using assembly. Then sa 5th day eh gagamit ka na ng pointers Grin
Logged

If we hear,we forget;if we see, we remember;if we do,we understand.
Let's support the use of free and open source softwares...
http://UndergroundWorkbench.wordpress.com
Dandy
Size D Battery
******

Pogi/Ganda Points: 11
Offline Offline

Posts: 418


« Reply #70 on: August 06, 2008, 09:33:09 AM »

tama dapat marami ka napkin when programming in assembly Grin Grin Grin

Mayroon ka rin dapat nakahanda na Ice Tubig, para kung umiinit ang Tainga mo eh, medyo inum muna kaunti, puwede rin ilagay na Ice sa tainga na para ma-cool lang kaunti.

Dapat din huwam muna gumamit laptop - desktop keyboard is the best, napapalakas ang pindot sa keyboard kung ayaw gumana ang expected program, lalu na kung pindutin mo ang Compile hotkey (Assembling).

Regarding Assembly, some Mc Graw Hill book na isinulat by respected Author,  like Mike Predko
   1.  Programming and Customizing the PICmicro Microcontroller
   2.  Programming and Customizing the 8051 Microcontroller

Dananjay V. Garde
   3.  Programming and Customizing the AVR Microcontroller

They used Assembly Language to impart the architecture, my gosh, 1000 pages of PIC Micro to read heheheheh.

What I can see is that, these author used the baseline Language - THE Assembly, to easy understand it, for those a bit complicated program,  they used C language to explained further.   It seems that, Assembly is important in MCU programming and understanding MCU - in which most author love to used it.   In somce cases,  when a book is C language based,  they also used Assembly to explain the C language in relation to the architecture of MCU.

For your Reference (recommended) :
1.  The PIC Microcontroller your personal Introductory Course -John Morton
2.  PIC Microcontroller Project Book - John Iovine
3.  Programming Microcontroller in C - Ted Van Sickle   
     (Motorolla 68HC05)
4.   8051 Microcontrollers An Applications Based introduction - David Calcutt
      (Philips XA 16 bit MCU)
5.  The 8051 Microcontroller - Ayala
6.  Embedded C Programming and the ATMEL AVR Barnett,  Cox and O'cull

Puwede na siguro Isali (local lang po ha) :
my8051 Microcontroller Trainer Kit -- by Huh

Mas madagu itong Libro na ito (pure Assembly - pambobola nga lang heheheh),  Assembly in a day, means, you can load all the programs (siguraduhin lang na nakasama ang CD ROM), compile and run it on the Simulator or on the Target board (if you have the hardware), all 24 sample programs  in just 10 minutes.   

But the Learning is - - -  all yours.





Logged
Ganda692002
Size D Battery
******

Pogi/Ganda Points: 13
Offline Offline

Posts: 459


« Reply #71 on: August 06, 2008, 10:19:51 AM »

wala bang C ang 8051?..
and how about programming from 1 8051 core manufacturer.. to another.. kasi prang konti lang pagpipilian if stick to 1 mfg.. isa lang ba yung tools at IDE na gagamitin.. kung iba-iba hindi ba ito madugo/magulo... para kasing core lang yung pareho but ibaiba parin yung implementation from diff mfg.. more info please..

I read somewhere the ultra big companies use 8051 core because they can manufacture them and save money rader than buying externaly.. what are the advantages of switching from mainstream mcu to 8051.. price, ease of use, technology etc.. more info please..
Logged
Dandy
Size D Battery
******

Pogi/Ganda Points: 11
Offline Offline

Posts: 418


« Reply #72 on: August 06, 2008, 10:34:21 AM »

Assembly usage as compare to higher language maybe useful to this argument.  This may not be related to Learning Assembly, but it is an important fact why Assembly is a must.

For limited ROM, let's say 1Kbyte and you are only alloted to use this ROM,  kung gagamit ng ka C language, baka hindi magkasya ang firmware mo for this specific product's applications, kasi mas malaki ang generated na hex file in C Kumpara sa Assembly.  C or BASIC language adds up the translator when compilation into the MCU language, kaya mas malaki generated file.

Argument is,  bakit hindi ka gagamit ng mas-malaking ROM?  Let's say 4K or 8Kbytes?   Sa hobbyists environment, wala problema kasi mindset is - gumana project no matter the cost is, pero, in the manufacturer environment, cost is a factor to consider, the higher the ROM the more expensive the MCU is.  R&D goes with easy solution - but S&M (Sales & Marketing) go with cheaper solution, even it is the hardest way for R&D.

For low end product, 1Kbytes of ROM is enough, and to code a firmware to fit into this limited ROM is to use Assembly.  

Another issue (sometimes) is masking.  In some instances,  even your firmware is working on its FLASH base ROM, when you "masked your firmware"  it sometimes exceeded the allowable ROM space for masking.  Most SW developer, gumagamit nalang ng CODE Compressor,  iyong iba,  binabago ang firmware to optimized it, and in some cases, used Assembly to lessen the generated hex file.

For hobbysist environment, it won't go into mask version - it will always be a Flash Base MCU or maybe OTP.   Question again,  why you need to mask it?

For a product, due to COST, using a Flash Base or OTP base MCU is costly compared to a masked version. Heheheh kapag may bug ang firmware mo at masked na ito - hinde mo na mababago, the culture is, resign ka na lang, huhuhuu.  

[Example,  if you have a difference of 0.2 USD (example only)  between MCU_1 and MCU_2,  and you have projected order of 1M quarterly,  for a quarter, you will have a saving of 200K USD (8.6M php at 43php=1usd)  or 800Kusd/year (34.4M php) - not bad, small to medium order in real situation, say, in telephone business.  Some factory output 0.5M output / month]

Logged
Dandy
Size D Battery
******

Pogi/Ganda Points: 11
Offline Offline

Posts: 418


« Reply #73 on: August 06, 2008, 01:30:29 PM »

wala bang C ang 8051?..
and how about programming from 1 8051 core manufacturer.. to another.. kasi prang konti lang pagpipilian if stick to 1 mfg.. isa lang ba yung tools at IDE na gagamitin.. kung iba-iba hindi ba ito madugo/magulo... para kasing core lang yung pareho but ibaiba parin yung implementation from diff mfg.. more info please..

I read somewhere the ultra big companies use 8051 core because they can manufacture them and save money rader than buying externaly.. what are the advantages of switching from mainstream mcu to 8051.. price, ease of use, technology etc.. more info please..


Sir, mayroon po C, kahit nga "D", kaya "ABCD" mayroon eh hehehehehe, dagdagan pa "P" , kasi may Pascal base language din :

http://www.turbo51.com

"D" is simply defind as 'Drawing', kasi imbes na mag-text base language ka, mag-drawing ka ng schematic (Ladderworks) ikabit mo lang mga device sa I/O, parang Lab View (di ko pa try).

The C language popular with : SDDC, Micro C, SPJ C,  etc... KEIL is the most popular one and some Chinese C version, surprisingly develop by student.  I heard about C++ by a US company, check:

 www.ceibo,com

  These programming languages goes as IDE. 

For the Standard 8051 program, if you are using ATMEL now, and you happen to have Windbond derivative, you can use the Windbond 8051 derivative to replace your ATMEL MCU.  If you can find Philips (except for XA version), you can also use it.  If you find STC and other derivative which is compatible, then you can use it.   But there is a restriction in the usage or replacement.  Example,  iyong AT89S8252 na gawa ng ATMEL, mayroon internal EEPROM at kung doon sa firmware mo ay ginagamit ang function na ito,  hindi po puwede gumamit ng ibang MCU na hindi compatible.

If you want to use a programmer, you may avail the  UNIVERSAL PROGRAMMER, like TOP51 (cheaper) , JDM, Bightek, at kung gusto mo Super ganda presyo at ganda rin performance ay HI-LO programmer, lahat ng derivative ng 8051 at halos lahat ng MCU ay kaya niya i-program (Z80, PIC, NEC, OKI, EMC, STC, Toshiba, Motorolla, Siemens, etc) .

In my case,  I used ATMEL kasi competitive ang pricing nila sa akin hehehehehe (sa akin iyon ha), maayos kasi samahan ng agent,  over the other brand (di ko na mentioned iyong ibang derivative baka sipain pa ako ng mga agent), kaya iyong programmer ko is simple based doon sa ATMEL 8051 derivative.

Yes Sir,  The core is  somewhat' the same pero iyong specific na gamit  ay iba-iba, at iyong PROGRAMMING or burning into the ROM is specific to that device - hindi parin universal at lahat naman ng MCU ay ganyan although parehas ang core. Kaya nga kapag nag-program ka ng firmware, you really need to select the device type and specific name. 

Puwede ihambing iyong 8051 core sa BURGER (para madali - pasensiya na, madalas magkuwento ng mga matatanda eh, libangan na namin ito),  iyong component ng Burger ay 'meat' saka iyong 'tinapay' - consider natin na ito iyong 8051 core (malabu ba?).  That Burger is offered by King Burger, Queen Burger hehehehe, at ibang burger outlets,  and from that burger they come up with different Burger, like Cheese Burger,  Ham Burger, Spicy Burger, kasama na Big-mac,  mayroon din small na BIG-MAC, egg burger, etc.

In comparison with 8051 core, different manufacturers come up with different MCU from that 8051 core (like different burger), mayroon simple na 8051 lang, mayroon UART, A/D, included LCD driver, I2C, SPI,  may DSP na,  BMC, CODEC, etc..  Of course, the way each MCU is programmed is different, in most case, the SYNTAX and programming style (using the same language) is very close (it may not be exactly the same).  Some specific MCU has its own specific command.   And even the reset circuit,  standard MCU is active HIGH  while new some derivative is active LOW.  The rule of thumb is,  read the Datasheet Specifications.  No device is exactly the same.  NXP (Philips Semiconductor) is the biggest manufacturer of Derivative, Sir, mahihilo ka sa pagpipilian mo ng 8051 derivative  with their LPC (Low pin count) and XA version.    Check this site to see some of the MCU :

http://www.phytec.com/products/sbc/8051/index.html

just don’t forget to check this simple site : 

http://mylearningworld.spaces.live.com

You need 8051, oh!
Five (5) years ago,  I am in between two big mountains: 8051 core with Philips/Infeneon solution against ARM solution (with Philips hehehhe), a solution for Digital Cordless Telephony like 2.4 GHz, DECT, 5.8 GHz.  Because of the advent of ARM,  I kicked off 8051 core (kahit na di ako software engineer but have the authority to do so) and the at that time, the industry think that 8051 will going to die somewhere along the way.  There's a lot of publication that 8051 core reaches its end (five years ago).  My decision is based on the given fact.

Here is a link what people say about 8051  (from my Egyptian - handsome Idol IKA).

http://www.ikalogic.com/tut_8051_to_avr.php

BTW  you can search his website and you can LEARN C language here, also 8051 core.  He has a lot of idea on sensors, Robotics, tutorial - I wonder if anyone of us can do the same as his, not even me.

But it seems, the prediction 5 years ago that 8051 will die, is not true.  Instead,  more manufacturer come up with faster derivative (may not be cheap in its introductory period) see Silicon Labs , USB, CAN, AD with C8051F.  ATMEL also come up with improved AT89LP2052 which might faster than its ATMEL AVR (medyo expensive nga lang - ayaw ko expensive, even for 0.02 USD difference – it’s business principle).

IF YOU ARE A STARTER IN MCU, 8051 is a NICE MCU you can start with.  The 8051 core is a brilliant Invention (as IKA say) and remain to be the World’s Most Popular MCU over nearly 30 years.  I did make a STARTER KIT for Beginners ONLY, and never continue it since I believe that 8051 is not a choice of today’s generations – it seems I am wrong, as the core solution that I rejected 5 years ago still kicking now against  ARM, it ‘s  still produce in Million quantity in the market.   

1.   The 8051 Core has hundreds of derivatives, from simple core to Large Scale Integration. --- check your needs.
2.    The prediction 5 years ago seems not true as many 8051 still available and still new one is coming in
3.   Standard 8051 MCU are cheap to use for hobbyists  -  I can bet my ‘dog’.  Only dealers and retailer are causing it costly.
4.   IDE, sample programs, tutorials can be find in many website in the Internet,  just for your reference :

 http://www.ikalogic.com/tut_8051_1.php                             my favorite

   www.8052.com                                                                                the best one  (one STOP shop

http://www.cs.ucr.edu/~dalton/i8051/                                  8051 VHDL  - nahihilo ako dito (but….. just amazing and impressive)                                       

Indian / Pakistani  Website can search  in hundreds and biggest denomination, its just how powerful your search engine is.  Try Coppernic.

5.   With 8051, you can have choice of IDE, hehehe ABCD + P.
6.   There’s a knowledge you can learn and earn from using 8051, beside it’s history, and to be a part of history is one of the nicest thing to do.  Most of us agree (maybe) that new things are cool to use and look at, like modern house, modern mobile hehehe wala gumagamit TACS, sports car over antique houses and cars hehehehe,  and maybe the same perception to  MCU.

Have a good day to all. 
Logged
Dandy
Size D Battery
******

Pogi/Ganda Points: 11
Offline Offline

Posts: 418


« Reply #74 on: August 14, 2008, 09:52:48 AM »

just re-paste the link for the Programmer use in the Trainer Kit for the 8051 Core,

http://s328.photobucket.com/albums/l336/myphotoloader/Programmer/?action=view&current=HSAT89Flash8051MCUProgrammer.flv


You can partly see the STARTER MCU-EB8051-"2" trainer Kit there,  and other the Trainer Kits.

'----------

And here it is,  a video link  - protoype of the 'dream project' HOME AUTOMATION PROJECT sometimes in 2003, based on the old MCU ATMEL AT89C51. 

http://s328.photobucket.com/albums/l336/myphotoloader/Real%20Life%20Security/?action=view&current=HomeAutomationDemo.flv



This Project improved over years and it was finally implemented in real life Home Automation and Security Systems.   Here is the Video Link :

http://s328.photobucket.com/albums/l336/myphotoloader/Real%20Life%20Security/?action=view&current=myREALLifeSecurityApplications.flv


It's a combination of projects, called :
            1)  HLA -  Home Lights Automation
            2)  NES2 -  Night Eyes Security Systems



Hehehehe, its the result of 'having a dream' - dream BIG,  and you got BIG headache (big obstacle, big problem, big investment, big work, etc...... but that's ok, all you need is a BIG patience with big tolerance, and a Big lover beside you - big enough to support you when you are wrecking & diverting out of your dream).
Logged
DCore
Size AAA Battery
***

Pogi/Ganda Points: 3
Offline Offline

Gender: Male
Posts: 70


« Reply #75 on: October 31, 2008, 07:05:32 PM »

hello guys,  any new, new chip new development platform, etc.... on the 8051 processor?

Whey!!!!  when will be those updated trianer Kit will come out?  It take so long my friend, any new development also?
Logged

_________________________
There's nothing like EAFF (easy, affordable, fast & fun)
DCore
Size AAA Battery
***

Pogi/Ganda Points: 3
Offline Offline

Gender: Male
Posts: 70


« Reply #76 on: April 15, 2009, 12:08:14 AM »

Is 8051 new chips and development dead?
Logged

_________________________
There's nothing like EAFF (easy, affordable, fast & fun)
DCore
Size AAA Battery
***

Pogi/Ganda Points: 3
Offline Offline

Gender: Male
Posts: 70


« Reply #77 on: June 05, 2009, 03:34:32 PM »

I guess... but still many 8051 is still being used in the market.   Any new chip?
Logged

_________________________
There's nothing like EAFF (easy, affordable, fast & fun)
beginner wan
Diesel Generator
*

Pogi/Ganda Points: 46
Offline Offline

Gender: Male
Posts: 1454


Think Positive! Matutupad yang dream mo!


WWW
« Reply #78 on: June 05, 2009, 11:20:44 PM »

ganu ktagal ba pag aralan ang assembly language? Huh

blink led, pwede na 1 day.. Cheesy  yung mga susunod na araw, kodigo mo nalang yung instruction set, pwede na mag-explore..

pero masakit sa ulo.. lalu pag mahaba.. tsk..
Logged

i;0.?QrEpM?4DEZZ]bkH{w@F<38.Jq@92Ds3KPQj60?EA7U\3M<A84J|AI.H
R@>&?Ej,@;5H)o::7KE/:?QcXf?gX'39=,Z_Q[eYXc
blackfin
Size AA Battery
****

Pogi/Ganda Points: 3
Offline Offline

Posts: 102


« Reply #79 on: June 06, 2009, 09:51:49 PM »

Embedded MCU is appropriate as it needs software to be fully functional.

When a MCU is made up of the Intel 8051 core, it is generally refer to as 8051 core or MCS51 (in some data sheet it is advertise as Compatible with the MCS51).

Why it is not called 8052?

Naka-ugalian na daw kasi na tawagin na 8051, kahit na iyong device ay referring na sa 8052 na modernized Memory.  Ang 8052 ay enhanced version ng 8051 na nagdagdag ng 128 bytes sa Internal memory (RAM).  In some device, mayroon na 3rd Timer (TIMER 2).  Now a days, enhanced version pa ng 8052 dahil single pulse ng crystal equal sa 1 cycle na.

Almost 30 years na, the 8051/8052 are interchangeably called.  Wala pa naman 8053, hehehehe.

Bakit naman may tinatawag na MCU at mayroon pa EMBEDDED MCU o kaya EMBEDDED CONTROLLER?

Kapag ba maraming function ng MCU, kagaya nito :

               ADE7169:
               Single-Phase Energy Measurement IC
               with 8052 MCU, RTC, and LCD Driver

tinatawag lang ba itong MCU, embedded MCU o embedded Controller?

Kapag tawag mo lang ay MCU, parang simple na MCU lang, pero tinawag na Embedded MCU o embedded controller, perception ay napakagaling na MCU.   
Logged
The Philippine Electronics and Technology Forum
   

 Logged
Pages: 1 2 3 [4] 5   Go Up
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
comparison 2.4G na core 2 quad or 3.0G na core 2 dou? what to buy?
Chit Chat
marcelino 7 989 Last post August 23, 2008, 03:08:41 PM
by gtxr2.ren
core 2 duo and quad core « 1 2 »
Computer Hardware
lightelectro 28 3019 Last post March 13, 2009, 03:41:33 AM
by mark1x
Multiprocessor / Multi core programming using C
Microcontroller/Microprocessor Unit Projects and Programming
ManNoy VillAquino 8 644 Last post August 21, 2009, 04:11:02 PM
by insomartin
e and i core
Electrical/Electronic Parts and Suppliers
marleytrical 7 834 Last post December 31, 2009, 07:55:50 AM
by tony
Cpu only dual core with 5.1 edifier speaker
Items For Sale
rynce12 14 285 Last post March 24, 2011, 08:54:19 PM
by CHAMBA-LAKAS
Night Eyes Security Systems - with High Speed 8051 Core micro from STC
The DIY Hobbyist Corner
Dandy 0 95 Last post July 21, 2011, 03:00:09 PM
by Dandy
MOVED: The 8051 Core MCU - STARTER
Microcontroller/Microprocessor Unit Projects and Programming
toasted siopao 0 201 Last post August 29, 2011, 10:45:10 PM
by toasted siopao
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!