AnsweredAssumed Answered

pFlashCommandSequence RAM Function resets board

Question asked by Jason Philippi on Oct 21, 2016
Latest reply on Dec 6, 2016 by Jason Philippi

Hello,

 

I have a custom board using a MK24FN1M0VLQ12 with freeRTOS, and KSDK 1.3.0.

If I step through the RAM Function called by pFlashCommandSequence using Instruction Stepping Mode, with Interrupts Disabled/Enabled, I can execute these functions. Though when I Step Over or Resume I can not get to the next break point.

I saw this Can't get flash erasing and writing on MK22FN128VLH10 to work.

My Flash Clock on my board is set to 10.48576 MHz

The Flash Clock in Run Mode works up to 25MHz.

The Flash Clock in VLPR Mode works up to 800kHz

I think I should be in the clear for that. I am not running VLPR (Very Low Power Run) mode. 

 

Is alignment an issue?

The Flash Demo projects in K64F and K22F boards don't use any alignments in their RAM Functions that I can see.

 

Why would my board reset when running these RAM Functions?

 

Regards,

Jason Philippi

Outcomes