Hello VIGNESH,
Do you use the KDS IDE ? If yes, you can create one Processor Expert project,
then add the ""FALSH_LDD" component, right click the "Help on component " , in the typical Usage , there is the demo code
about flash .
Hope it helps
Have a great day,
Alice Yang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Alice,
I am not using KDS.I want an example code or a driver for it instead of Processor Expert Component.
Hi Vignesh,
There is a KEA-128 driver , it includes the flash driver and demo ,
flash driver: KEA_Driver_Lib_V1\KEA_Driver_Lib_V1\Sources\drivers\nvm
demo :KEA_Driver_Lib_V1\KEA128_Demos\KEA128_Demos\Flash_demo
Please see the attachment .
Have a great day,
Alice Yang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
I want to know
1)How to edit the linker file?
2)what is the starting address of Erasable Flash?
3)I want to know the memory organization of KEA-128 in detail?
Hello,
Does your three question is about the demo i send to you ?
If yes, please take a screenshot and describe it clearly , and you'd better create one
by yourself , then if there go something wrong , we can refer to the problem to reply .
Here i don't know you want use what to edit , what starting.......
And if no, in order help you sooner , you'd better take a new question on other thread .
BR
Alice
Hi Alice,
This is my text division.Please take a look at it and tell me whether I have divided it right or not as per KEA-128.I am confused about the start address of my_text.Is it right???
{
m_interrupts (rx) : ORIGIN = 0x00000000, LENGTH = 0xC0
m_cfmprotrom (rx) : ORIGIN = 0x00000400, LENGTH = 0x10
m_text (rx) : ORIGIN = 0x00000800, LENGTH = 128K - 0x800
my_text (rx) : ORIGIN = 0x0001EC00, LENGTH = 0x1000 /*New ROM segment*/
m_data (rwx) : ORIGIN = 0x1FFFF000, LENGTH = 16K /* SRAM */
}
Hello Vignesh
I replied you this question in:
Splitting m_text in Linker File of CW
Best Regards
Fiona Kuang
TIC - Technical Information Center