Hello,
I am doing a text of 16*16 by using PIC18F45K80,(the PIC18F45K80 datasheet: http://www.kynix.com/uploadfiles/pdf879 ... 189703.pdf ) and the compiler is PICC18-V9.80. A character die is 32 bytes. There will be blank if there are many type matrix. However, the room of memory just is used 30% when showing in the compiler. Why ? Please give me reasons and suggestions.
Are troubles occurred by hardware? Or software?
Thank you !
The Problems about PIC18F45K80 Memory
Moderators: Chuckt, Garth, bitfogav
-
- newbie
- Posts: 1
- Joined: Thu Jun 08, 2017 1:38 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: The Problems about PIC18F45K80 Memory
I'm not familiar with the compiler, but what happens when you add more code? I imagine the memory usage will not go up proportionately, because there is some amount of base code that has to be there already, to make your own small piece of code work, and that base code will not need to be repeated.
http://WilsonMinesCo.com/ lots of 6502 resources
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: The Problems about PIC18F45K80 Memory
Have you used this compiler for other projects? If so, is the memory usage as you might expect it to be - does the memory usage simply jump up to a high value when you are using a matrix?
Re: The Problems about PIC18F45K80 Memory
If this is a genuine post then isn't it just down to the compiler optimisation levels?.
If you don't know what Voltage your country is using, you shouldn't be doing electronics
Who is online
Users browsing this forum: No registered users and 1 guest