I reviewed all I could find on these symptoms, but could not find solution to this problem.
The project is built and run from flash (build configuration is FLASH).
I use processor exert (CW 10.4).
Build options are set to place interrupts and code in internal flash and data in internal ram.
I use K10DN128VLF5. 32,768 kHz RTC oscillator is running and CPU reset pin is high.
Any suggestion how to pinpoint the problem?
Thnx,
Ben
Solved! Go to Solution.
First project that did not work from POR was created with GNU C Compiler toolchain. The new one derived from LED test is with Codewarrior ARM C Compiler toolchain and is working fine also from POR.
Now the evaluation can continue :smileyhappy:.
Thank you santiago.gonzalez and PSA for suggestions.
In process i discovered two potential bugs in ProcessorExpert that I will present in fresh discussion.
br,
Ben
Hi all,
i have same problem using CW 10.4, Processor Expert, GCC compiler and MXQ Lite OS on Kinetis MK20. If i use Freescale compiler there is no problem running application from flash but it won't run from flash if i use GCC, it would only run from debugger. Is there a solution to run app from flash using GCC compiler?
I just encountered this very issue as well. Has anyone come up with a solution to this? I’m heavily invested in a configuration similar to this and switching tool chains at this point, if that’s the only way to get this to work, is not ideal.
Hello Thomas:
This might be related to the libraries. Check the next thread:
Regards!
Jorge Gonzalez
Hello Jorge:
Your recommendation has in fact solved this problem! Many thanks!
Best regards,
Tom
Hello Benjamin,
Can you share your project or give a little more information?
If you create a simple project with the same configuration (A LED toggling for example), does it execute out of reset?
Regards.
I did a test project with RTC and WDog and LED toggle on 1s RTC interrupt.
It's starting on power-on.
The difference is in toolchain used. Now I go copy all PE components and source files to new project and will report back later.
thnx
Hi
I would search in RAM content, especially to copy of initial data from flash to ram in startup code.
Pavel
First project that did not work from POR was created with GNU C Compiler toolchain. The new one derived from LED test is with Codewarrior ARM C Compiler toolchain and is working fine also from POR.
Now the evaluation can continue :smileyhappy:.
Thank you santiago.gonzalez and PSA for suggestions.
In process i discovered two potential bugs in ProcessorExpert that I will present in fresh discussion.
br,
Ben