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?
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?
Very thanks! but when i use this "DL_FlashCTL_programMemoryFromRAM8WithECCGenerated()" fuction ,it doesn't save in theROM . if i start the program again will lose the previously saved . which function can make the data in ROM? Thanks in advance!
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
i have not use the bsl pin, and the bsl pin have been to gnd.
before i use the lp mspmog3507 development kit to verify code. now i change the mcu to mspm0g1505, i switch the ic ,the flash from 0x1000 to 0x3000 . but it will not work when i power off
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)