Hello Lars,
Thanks for the code.
I have to wait until i get the evaluation board for the MSP430F5438. It
will that a few days.
The debugger wil also not support the higher MSP430X memory.
Wel maybe i have to switch to another complier :-(
Or make the code reliable, so it is not neccessary to debug.
Robert
Lars Kruse wrote:
Hi Robert,
I understand that it is not possible (supported) to use the full flash
memory for a program.
But is it possible to store date in the higher flash memory of the
MSP430F5438?
I had a similar problem.
My approach was to write some functions for byte-wise read access to the memory
above 64k. The functions consist of hand-crafted assembler code (refer to the
msp430 user's guide for details of the opcode).
Writing can be done by combining page-wise erase and byte-wise write actions.
Attached you find the assembler code, that I used to accomplish this.
For write access, you will need to set the specific msp430 registers before
calling "set_memory_byte".
I am quite sure, that my approach is not the best way to solve this problem.
Thus I would appreciate any comments!
greetings,
Lars