This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Based on the mspm0g3507 LaunchPad , for the read flash case, i can't read the flash value? i wanne to get the value ? which function i can use?
You can read a specific flash address's value as below to read data at 0x1000 to variable buf
buf = *((uint8_t *) 0x1000);
The ROM can't be write it is read only memory!
You want to write something in flash, right?
Please refer to the demo code ...\mspm0_sdk_1_20_01_06\examples\nortos\LP_MSPM0G3507\driverlib\flashctl_multiple_size_write
If you do not want to erase the data when you reprogram the code you can choose erase sector that used in the code and make the setting as below in CCS
How do you connect on PA18? For this pin is used for BSL invoke, if you do not use it as BSL invoke, you need to pull down this pin external or disable the BSL invoke function in nonmain flash
Have change the device from the sysconfig that will help you to include correct cmd file?
but it will not work when i power off
Do you mean it not work in free run mode, not power off, right?
You can connect the device and read flash memory data by Uniflash to see if the code download into the flash correctly.
By the way, what's the SDK version do you use? And CCS version? For the debugger do you use XDS110?
Have try to download other demo code like C:\ti\mspm0_sdk_1_30_00_03\examples\nortos\LP_MSPM0G3507\driverlib\gpio_toggle_output (Need to change the device manually)
If you can see the code in the flash area that means the code has been downloaded successfully. Can you share me the project you test now? And tell me how to monitor if it running or not.