[freertos - Open Discussion and Support] KINETIS K60N512 - IAR Doesn´t run from Flash

0 views
Skip to first unread message

SourceForge.net

unread,
Nov 11, 2011, 6:41:22 AM11/11/11
to SourceForge.net

Read and respond to this message at:
https://sourceforge.net/projects/freertos/forums/forum/382005/topic/4807075
By: rzubillaga

Hi every body,

i have downloaded and compiled succesfully the project contained in "FreeRTOSv7.0.2"
called "CORTEX_Kinetis_K60_Tower_IAR" -> Blinky.

In this case i´m not able to run it from flash directly, i have to be conected
to IAR and Debugging.

I have downloaded, compiled and verified this with the Examples provieded in
Freescale web "KINETIS512_SC". The configuration provided with this examples
works perfectly from Flash without been conected to IAR_IDE. As it should be.

Then, i have checked al the project option from one (freertos_uip) to the other
(Blinky), and just in case i have copied the "ICF" file too, but i don´t know
why, but it doesn´t work.

IAR Versión - 6.30 (i have experienced problems with 6.21 and PEmicro Flash
downloader)
Debugger/programmer -> The oine integrated in K60N512 board -> PEmicro OSDebug.

Does any body know smthg around this???

Thanks,
Zubi




_____________________________________________________________________________________
You are receiving this email because you elected to monitor this topic or entire forum.
To stop monitoring this topic visit:
https://sourceforge.net/projects/freertos/forums/forum/382005/topic/4807075/unmonitor
To stop monitoring this forum visit:
https://sourceforge.net/projects/freertos/forums/forum/382005/unmonitor

SourceForge.net

unread,
Nov 14, 2011, 5:53:18 AM11/14/11
to SourceForge.net
By: richardbarry

Are you saying it runs from RAM, but not Flash?

If so, look at how your interrupt vectors are mapped, and how they are configured
in the start up code. Also read back the flash image to ensure it is correct,
and programmed into the correct locations. Look at the asm code generated and
ensure it is calling functions in flash, and not RAM, in case your linker script
is wrong.

Regards.

SourceForge.net

unread,
Nov 16, 2011, 5:59:28 AM11/16/11
to SourceForge.net
By: rzubillaga

Hi richard,

as i posted above, the project used is the original one. It runs from RAM and
from FLASH, but from Flash only while IDE is connected ....

At the momement i cant not check all this things that you suggest. I will try
to do it ASAP.

Any way, as the PRJ is the original one, i think that it shouldn´t be only
a problem for me, but for the rest of the users too...

Thanks,
Zubi

Reply all
Reply to author
Forward
0 new messages