Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 28, 2024, 06:38:31 06:38


Login with username, password and session length


Pages: [1]
Print
Author Topic: 18F458 with Proton  (Read 7667 times)
0 Members and 1 Guest are viewing this topic.
LazBoy
Active Member
***
Offline Offline

Posts: 154

Thank You
-Given: 78
-Receive: 25


« on: May 02, 2005, 02:35:14 14:35 »

Dear Friends,

I used 16F877 with a project. I decided to use 18F458 with same project. Because of less memory on 877. But, when I compile the source file,
it seems larger than 877 file. For example, same file compiled for 877
8k, for 458 it larger such as 13k. And it seems not run properly.
Do you use Proton 2.1.3 with 18F series ? Any problem ?
I think Proton 2.1.3 buggy for 18F series. Any suggestions please.
Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #1 on: May 02, 2005, 02:46:48 14:46 »

Hello Fellow

Try to use Proton+ Compiler 2.2 Beta 8, it work better for 18F series.

bye  Smiley
Logged
LazBoy
Active Member
***
Offline Offline

Posts: 154

Thank You
-Given: 78
-Receive: 25


« Reply #2 on: May 02, 2005, 03:59:31 15:59 »

Yes, I tryed. Some problems fixed but not all.
And also compiled size same, 13k. Is this normal ?
Logged
momotot
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 2
-Receive: 0


« Reply #3 on: May 02, 2005, 07:18:04 19:18 »

Hi LazBoy,

Don't forget  13K are 13K byte for 458 PIC  and the 8K are 8K word  for 877 PIC !

Regards
momotot
Logged
LazBoy
Active Member
***
Offline Offline

Posts: 154

Thank You
-Given: 78
-Receive: 25


« Reply #4 on: May 02, 2005, 07:37:01 19:37 »

momotot;

Could you explain more details please ?
Is this 16Bit MCU differencies ?
Logged
Wizpic
Global Moderator
Hero Member
*****
Offline Offline

Posts: 1200

Thank You
-Given: 541
-Receive: 408



« Reply #5 on: May 02, 2005, 08:07:06 20:07 »

what's your code to you are trying to complie send it over and i will try it on mine PDS and can also sim it in protteus and real life

the 18f series is a better pic

wizpic
Logged

When you think, "I can't do anymore. I need a break," that is the time to challenge yourself to keep going another five minutes. Those who persevere for even an extra five minutes will win in life..
momotot
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 2
-Receive: 0


« Reply #6 on: May 02, 2005, 08:34:32 20:34 »

Lazboy,

PIC16F877 is a 14 bit core device while PIC18F458 is 16 Bit core device, the Program memory of  the 14 bit core is organized as a 14 bit word  which is something between the byte and the word, while the 16 core  code memory is organized in bytes but each instruction uses 2 bytes.

To compare the size of your programs you should  divide the size of  the 18 series PIC by 2, you may wonder what is the benefit of the 16 bit organization, if  each instruction will have a word.  ( 14 bit  or 16 bit ), the advantage will be clear if you look at the data storage in the code memory, any byte size data stored in 14 core PIC will occupy one WORD, while it will occupy only one byte in the 16 core PICs, this and in addition to better  memory organization  and other features, make the code generated for 18 series lesser and more efficient than 16 series.

momotot
Logged
LazBoy
Active Member
***
Offline Offline

Posts: 154

Thank You
-Given: 78
-Receive: 25


« Reply #7 on: May 03, 2005, 05:32:53 17:32 »

Momotot, thanks for detail explanation.

Wizpic, I will do that using my friends PDS soon, thanks.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC