This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to generate an image with data[RW] only

Hi all, I am interested in an FLASH image(generated by MDK5 project) with only data[R/W] included. Also, I hope the image can be burned to any FLASH location(e.g., ox08008000). Could you provide me a sample project or a hint to generate this such project in Keil-MDK5.

The followings are my development environment information.

Development IDE: Keil-MDK5
MCU: STM32F429ZIY6

[File:data.h]

typedef struct Setting_{ unsigned int Ver; unsigned int DataA; unsigned int DataB;
} Setting,*pSetting;

[File:data.c]
#include "data.h"

Setting data={
{ .Ver = 0x00010000, .DataA = 0x01376790, .DATAB = 0x00007861
};

Request
To generate an Flash image located in 0x08001000 with size 4K, and the first 12 bytes are content of variable "data" as above.

Parents Reply Children
No data