Re: codewarrior HC12,thanks but......



John Devereux wrote:
"blisca" <bliscachiocciolinatiscali.it> writes:
Thanks but the problem is that i'm compiling for a microprocessor of hc12
family,the 9s12e64,and is not so easy to change te value of the location in
the flash at run time,

So you want to have location 0x4500 contain a particular constant
value? I think you will have to do this outside of the C program,
unless your dialect of C has special extensions to do this.

It (codewarrior for HCS12) does. Use @address after the declaration

.



Relevant Pages

  • Re: Optimizing with GCC
    ... The OS is now running and uses ~3.7K Flash. ... In an earlier thread Mr John Devereux wrote: ... Map-file showed a startup object size 0x44 @ address 0. ... At the top of the linker script. ...
    (comp.arch.embedded)
  • R: codewarrior HC12,thanks but......
    ... John Devereux wrote in message ... as you know you have to erase and re-write a whole flash block,and ... firmware will be at good point i will assure to save and re-write al the ... i'm not absolutely shure that i'm doing the smartest thing,so thanks for any ...
    (sci.electronics.design)
  • Re: Optimizing with GCC
    ... ~3.7K Flash. ... In an earlier thread Mr John Devereux wrote: ... You also need to modify the link control file changing ... At the top of the linker script. ...
    (comp.arch.embedded)

Loading