Philipp Klaus Krause wrote:
> Gordon Henderson schrieb:
>   
>> I'm probably missing something obvious, but is there an easy way to find 
>> out how much flash and ram my project is using? (PIC18 target).
>>     
>
> I don't know about the PIC18, but on the Z80 finding the amount of RAM
> used should be eqivalent to the halting problem and the .map file is
> quite OK at telling the amount of ROM used (though according to your
> post it seems different on the PIC18).
>
> Philipp
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Sdcc-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>   
If you use mplab (on windows)  then import the  .hex or .cod file into a 
project 
and then use the view -> program memory
choose the "opcode hex" tab at the bottom and scroll down until you see 
the hex codes become all 0xffff

then you can read the address (and see roughly how far down the window 
you had to slide)

if your writing a boot loader / main code  architecture 
then you code blocks may have more than one start and end

is there any command that parses the .hex files and tells you the how 
much code ?






------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to