Hi. I like to know how to set up a new projecrt from scratch?
I ve got the IAR Embedded workbench 6.2 licensed and installed
the plugin for TAD. Seem to work fine so far with the example projects.
But now i would like to take the next step, but i'm missing project-presets
for an easy start for an blank mqx-project. Copying one of the "hello" examples
results in a lot off compiler errors. So is there a step by step guide to
do this? Or did i even forgot to install something? I watched the "writing your first mqx application"
webinar and in CW there is a preset-library. Is there a similar library
for IAR Embedded Workbench?
Thanks in advance.
matt
Solved! Go to Solution.
Hi Matt,
I wrote the attached document for a work colleague so he could create a simple project from scratch so hopefully it will help you.
Hello Kevin!
I'd like to take a look at the PDF you mentioned... I'm trying to get started with TWRK60N512 and I'm totally lost! Also try the method of the "create_new_k60_mqx_project_iar.exe" but didn't work.
When I execute that exe it says that it can not find hello.c
Thanks!
SebaS
Hi, I am using the Quick Start but ran across the same problem -
File not found - hello.c
Is it needed for the demo? If so can someone please attach it?
Is the demo MQX based - if so I guess I will need to download it from freescale. Which version MQX?
Thanks,
Steve
Thank you very much Martin! I'm going to read it now!
Best Regards,
SebaS
Hi Matt,
I wrote the attached document for a work colleague so he could create a simple project from scratch so hopefully it will help you.
Thank you VERY, VERY much. It seems IAR has skimmed over documentation regarding MQX. This was the biggest help.
I am using IAR 6.30 with MQX 3.8
I got to the last step though, and the IAR linker complained:
Building configuration: MyNewProject - Debug
Updating build tree...
Linking
Error[Li005]: no definition for "main" [referenced from cmain.o(rt7M_tl.a)]
Error while running Linker
Total number of errors: 1
Total number of warnings: 0
Hi jeronimo479,
I assume if you followed the pdf attached in this thread, you did not set proper starting point. In debugger settings, the column "Run To" should be set to : main_task . THat's your name of the starting task.
Regards,
MartinK
My problem turned out to that I didn't select "Use Flash Loader" on the "Debugger|Download" tab. So it was actually trying to execute code previously loaded by CodeWarrior.
hi,
i am not able to build the examples provided with MQX 3.8
i am getting following errors: -
Linking
Error[Li005]: no definition for "__DEFAULT_PROCESSOR_NUMBER" [referenced from mqx_init.o(bsp_twrk60n512_d.a)]
Error[Li005]: no definition for "__KERNEL_DATA_END" [referenced from mqx_init.o(bsp_twrk60n512_d.a)]
Error[Li005]: no definition for "__DEFAULT_INTERRUPT_STACK_SIZE" [referenced from mqx_init.o(bsp_twrk60n512_d.a)]
Error[Li005]: no definition for "__VECTOR_TABLE_ROM_START" [referenced from init_bsp.o(bsp_twrk60n512_d.a)]
Error[Li005]: no definition for "__EXTERNAL_MRAM_RAM_BASE" [referenced from init_hw.o(bsp_twrk60n512_d.a)]
Error[Li005]: no definition for "__BOOT_STACK_ADDRESS" [referenced from vectors.o(bsp_twrk60n512_d.a)]
Error while running Linker
can any one help.
i am using IAR embedded workbench 6 and twrk60n512..........
Hi,
I am using IAR 6.30 to build an MQX example for TWRK60D100M board and I got the same linker error.
I tried to build the same using IAR 6.60 Evaluation version, doubting it could be solved with updated Linker, but the same error occurs.
If you had overcome this issue, Please post the solution step by step here.
many thanks in advance !
Thank you very much! You really made my day!
I already spent two days searching the freescale site
for such a short discription. It is perfect.
Hello,
The TWR-K60N512 QS project inlcudes this application: make_new_k60_mqx_project_iar.exe, that generates a new MQX project based on HelloWorld example.
To create a bare-board MQX project in IAR, use the following steps:
1) Make sure you have not modified the files in the K60 Quick Start Demo
2) Double click on the
create_new_k60_mqx_project_iar.exe file inside the K60 Quick Start Demo.
3) Type in the new project’s name, with no spaces, such as
k60_hello
4) Hit Enter and wait for it to finish creating the new project. The script will copy the project files from the K60 Quick Start Demo into a new directory in
<mqx_dir>\demo, modify them to use the new name, and copy the Hello World example from <mqx_dir>\mqx\examples\hello
5) Hit Enter to close Window.
Best Regards,