PSoC >> PSoC Mixed-Signal Array

alager
Tester - PRO for PSoC


Reged: Aug 02 2007
Posts: 46
Re: flash routine / linker overwritting code
      Thu May 15 2008 06:04 PM

I have to apologize a little on this one. I evidently did use the ROM command in an old project to work around this problem. But I couldn't find anything related in the search of this forum.

I'm just trying to store a value that I can read on power up.
Instead of using the flash read function, I took the advice of the header file and defined a variable directly to the address where my variable will be stored.

I just tried the macro EEPROM_RESERVE_BLOCKS(1), and it behaves similar to my work around. It does work, but the code is relocated to the end of flash (0xba2). I guess this isn't a big deal, but it sure wasn't expected in either case.

Aaron

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* flash routine / linker overwritting code alager Thu May 15 2008 04:23 PM
. * * Re: flash routine / linker overwritting code clydeAdministrator   Thu May 15 2008 04:51 PM
. * * Re: flash routine / linker overwritting code alager   Thu May 15 2008 04:45 PM
. * * Re: flash routine / linker overwritting code clydeAdministrator   Thu May 15 2008 04:57 PM
. * * Re: flash routine / linker overwritting code alager   Thu May 15 2008 06:04 PM
. * * Re: flash routine / linker overwritting code clydeAdministrator   Fri May 16 2008 01:09 AM
. * * Re: flash routine / linker overwritting code alager   Fri May 16 2008 11:09 AM
. * * Re: flash routine / linker overwritting code clydeAdministrator   Fri May 16 2008 05:31 PM
. * * Re: flash routine / linker overwritting code alager   Mon May 19 2008 11:53 AM

Extra information
4 registered and 4 anonymous users are browsing this forum.

Moderator:  ndouglas, Dan Henry, jtemples, jeff, Andrew L, mikerj, dave g, meisty, josh stevo 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating:
Thread views: 1473

Rate this thread

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5