Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

MSP430F5438A : Problem writing to Main FLASH memory Banks

$
0
0

Hello,

My application needs to save data to the FLASH memory. I have used all the 4 Info segments A to D. Now I am trying to write to the main FLASH memory Bank 1.
My application code is small enough (20KB) and fits in the Bank 0 of the main FLASH. I have modified the linker file to suit this and its working fine.
CCS Version - 5.3.0


My problem is -
The main memory addresses (0x10000 to 0x45BFF) are more than 16 bit long. I am not able to contain the addresses of bank 1 to bank 3 in any pointer variable.
Because of this, I am not able to point to the memory location where I want to write to.

I am not understanding why the pointer is not able to hold more than 16 bit address. Can someone please explain this?

Can anyone please share any sample code which can able me to do this.
I want to know how this is done!!!

Thanks in advance! :)
Sanket


Viewing all articles
Browse latest Browse all 262198

Trending Articles