- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've been trying to write my first demo program with FM0-64L-S6E1C3 with PDL 2.1.0.
Actually my program is running reasonably OK with IAR EWARM,
but I have not been able to make it run with MDK-ARM (KEIL).
I created a project in MDK-ARM v5.21.1.0 and included all my sources/headers
along with the PDL stuff which (I thought) required,
then I added
startup_s6e1c3.s
system_s6e1c3.c
system_s6e1c3.h
The project was built OK,
but in the debugger it has never arrived to "main()".
So I stepped through startup_s6e1c3.s and found that in the Reset_Hander PROC
after LDR R0,=__main
at BX R0 it went to the never-land and wont' come back.
Question or request
(1) Would someone teach me what I've been doing wrong?
(2) Can I get a PDL2.1.0 sample project which runs on FM0-64L-S6E1C3?
(3) Or is/are there tutorial/method which allows me to create a project which is runnable on FM0-64L-S6E1C3?
Best Regards,
7-Oct-2016
Motoo Tanaka
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, I found the cause.
In the Options for Target 'Debug' dialog
Use MicroLib option was not checked.
By checking that option now the debugger starts from main().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, I found the cause.
In the Options for Target 'Debug' dialog
Use MicroLib option was not checked.
By checking that option now the debugger starts from main().