infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 1 of 1

Thread: Problems with In-Application-Programming of Data-Flash with extended Code Memory

  1. #1
    New Member New Member RomanBauer is on a distinguished road
    Join Date
    Nov 2016
    Posts
    1
    Points
    15

    Problems with In-Application-Programming of Data-Flash with extended Code Memory

    Hello,

    I need to store and erase parameter data via In-Application-Programming in the XC886 32kB Flash Device.

    Moreover I have a lack of code memory. So I use 7kB of the Data-Flash as additional code memory.
    This works fine. So the Code is executed well, independent if it is stored in the Program-Flash-Banks (0x0000Ö0x5FFF)
    or in D-Flash-Bank 1 or in D-Flash-Bank 0.

    Click image for larger version

Name:	Flash-Organisation fŁr Infineon-Forum.png
Views:	0
Size:	13.0 KB
ID:	2695

    If only D-Flash-Bank 1 is written with Code-Memory (till 0x6FFF), everything works fine. I can erase and write to the flash
    without problems.

    The point is: If D-Flash-Bank 0 is written with Code-Memory, the In-Application-Programing-functions donít work anymore.
    Sometimes I canít erase the parameters (the function stays in an endless loop) and writing to the flash works.
    Sometimes I canít write to the flash and erasing works.

    (Note: I am sure that the code memory is not in the sectors which I use as data and I am sure that I do not erase
    or overwrite code memory)

    I have attached a file with the Flash-functions I use. I relocated these functions via linker instructions to different places
    in the code memory (0x7800, 0x6800, 0x5800, 0x2800, 0x2200). On some of these places the
    In-Application-Programing-functions work again, but if I add or remove e.g. 100 Bytes of code, I have the same error.

    Has anybody an idea?
    ?????

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided ďas isď. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.