Title: 18F458 with Proton Post by: LazBoy 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. Title: Proton+ Compiler 2.2 Beta 8 Post by: metal 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 :) Title: 18F458 with Proton Post by: LazBoy 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 ? Title: 18F458 with Proton Post by: momotot 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 Title: 18F458 with Proton Post by: LazBoy on May 02, 2005, 07:37:01 19:37 momotot;
Could you explain more details please ? Is this 16Bit MCU differencies ? Title: 18F458 with Proton Post by: Wizpic 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 Title: 18F458 with Proton Post by: momotot 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 Title: 18F458 with Proton Post by: LazBoy 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. |