Hi,
I found my problem, I have interruptions during the flash commands.
So i need to disable all interrupts during flash commands.
Thanks for your help Jiri.
Hi Jiri,
You can find this instruction in the project shared by Lukas Zadrapa in this thread :
Regards,
Hi,
I tried the example with S32DS v1.3 and S32DS v2.0 - and it is normally working. I can see modified Flash memory.
I'm using Windows 7 and S32K144 EVB-Q100 with Open SDA debugger. So -I'm not able reproduce the issue.
Jiri
Hi,
Indeed, the example code works but when i try to execute this code in my project in run mode, the code crash. But if i execute flash instruction one by one with breakpoints between each instruction, it works fine.
I place the code in .code_ram section ( Section define by default in a 32DS ).
I try to create a new section with memcpy of section, and i have the same result.
I don't know what i miss.
The startup code can be accused ?
Regards,
Hi,
I'm not able reproduce the issue - can you please share your project? I can attach to running machine and the Flash memory is successfully modified and there is no exception or other error.
Jiri
Dear Mr.Stan,
Sorry for the delay in response,i have copied generated file from S32 SDK design studio to IAR IDE,
when i compile and test the demo code ram linker file it is working but selecting Flash.Icf file not working MCU getting Reset at FlashCommandSequence execution.
any changes is required in the Flash linker file for flash test?
Regards,
Kalidass B