This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Project settings In Red suite to change data from 0xFF to 0x00 for remaining flash memory.

Hi everyone,

I am working with LM4F232H5QC evaluation board and for debugging I am using Red suite 4 tool.

I want some information about project settings in red suite 4 for following.

Suppose I am allocating 8 kb space in the flash for my code(0x0000 to 0x1FFF). But when I download my code it's taking approx 7kb space(0x0000 to approx 1BFF). The remaining memory locations(from 1C00 to 1FFF) will contain no data(0xFF).

I want to know that is there any project settings by which i can make the data of the remaining location mentioned above to 0x00 instead of 0xFF?

Regards,

Gunjan

  • Can't speak towards your Code Red - however here's how IAR achieves your objective.  (my hope is that this aids your effort)

    This is within, "Project > Options" - perhaps yours employs similar.   (Red forum also may assist)

  • If CodeRed doesn't support this directly (have you actually asked them?), there are 3rd-party tools which will do this.

    Try googling bin2hex, srecord, objcopy, etc,...

  • Good - but not as good as, "automatic."  And your beloved Keil - has it that facility?  

    (private aside to guru - rumored, "reduced consulting rates," during Olympics...?)

  • cb1- said:
    your beloved Keil - has it that facility?  

    I've never had reason to find out.

    cb1- said:
    "reduced consulting rates," during Olympics...?)

    au contraire, mon ami - methinks premium rates at such a Time of National Distraction...!

  • Andy Neil said:
    au contraire, mon ami - methinks premium rates at such a Time

    Au contraire indeed - sacre bleu!   Guru cleverness & "fun-side" on high display - "demain" you will mock my C constructs and BLDC advice/urgings.  (presently unheeded... maintenant - ou est mon "franglais?")

  • Hello,

    Thanks for your replies.

    I will checkout with Code Red forum.

    Regards,

    Gunjan

  • Hi guys,

    I am neither able to find any project settings on red suite support forum nor any third party tools by googling.

    I want same thing which you people have mentioned in IAR.

    please help me in this.

    Regards,

    gunjan

  • Hello CB1,

    As a long-time Keil advocate and user, I'm impressed and trying not to drool!  With IAR's recent jump in the CoreMark benchmark, and now this nice checksum ability, maybe I should review my options before signing back up...  Let's hope Keil is working and polishing feverishly so that I can stay true.

    Regards,

    Dave

  • SourceTwo said:
    Let's hope...is working and polishing feverishly

    Or not!   (fairly clear that this reporter is...)   Like to claim "superior cunning" for selection - instead vectored away from Keil toward IAR when - many moons ago - Keil code limited "free" to 16KB - IAR trumped w/32KB.  (dumb luck/effort/showing up ...   sometimes do pay off....)

     

  • @Gunjan/others:

    Easy solution - IAR provides free, 32KB code limited version of their ARM (and beyond) Compiler/IDE.   Do NOT download and "start" with unlimited code-size!   Do not!  

    Far better to learn/experiment w/unlimited time version - then after you've mastered - if you must - download "ticking" IDE - and do not sleep...

  • Andy Neil said:

    I've never had reason to find out.

    However, Keil does have the facility to integrate with external tools, and to perform an arbitrary user-defined operation at the end of the build.

    See this application note for an example: http://www.keil.com/appnotes/files/apnt_159.pdf  (you may recognise the author attribution at the end...)

     

  • Andy Neil said:
    does have the facility to integrate with external tools

    Oh - exalted guru one, doust thou not yet recognize, "Warterloo" - when appears in such clear sight?  (apologies to the bard...) 

    How soon before hallowed UK counsel harks, "Spin entirely ye own - with unending hooks/dangles and promise of "daily/hourly," hangs/crashes/data-gobbling.  Simply use the facility!

    ARM (especially M4) challenging enough - entering battle with hacked/home-brew IDE not best tack for those seeking home port and storm closing strong astern...

    C'est fini...