Download size limit has been exceeded.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Download size limit has been exceeded.

跳至解决方案
2,722 次查看
cmscs
Contributor I

Hi all

I am using the TWR-K64F120M with CodeWarrior v10.6 special and downloaded the MQX 4.1 for TWRK64F120M integrating in CodeWarrior and building worked fine. After some first tests using the LEDs I tried to include the rtcs in my project.
After fixing some linking errors I get a new Error this time from Freescale:

error_message.PNG.png

After some research I found out that this error could occur if the download size has been exceeded because it is limited in my version for Kinetis K64 to 128kB but since I am just testing to use the rtcs I do not think this is the case.

Furthermore my version does not support C++ so maybe there are some C++ files compiled. I found this article Please Check Your License | MCU on Eclipse the guy there had the same problem but I can not follow his solution my properties menu looks different.
And I didn't find out how to generate and where to find the linker map. Even the "Enable Exception" checkbox is not there, since there is no language tab.

Does anyone know how to solve this? Or how I can prove if the download size has been exceeded or if there are some C++ files...

Thanks a lot.

properties.PNG.png

标签 (1)
0 项奖励
回复
1 解答
1,584 次查看
mjbcswitzerland
Specialist V

Hi

This is (one of the reasons) why Freescale has introduced their KDS so that there are no size restrictions.

In the meantime the uTasker networking stack allows web server based projects to be achieved in 16k and full features (FAT, USB stacks, full TCP/IP stack, OS etc.) in under 100k Flash and 20k SRAM (or basically allows smaller/cheaper chips to do the job ;-)

Regards

Mark

µTasker Kinetis support

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,584 次查看
bobpaddock
Senior Contributor III

Don't have an answer for you other than to say I share you pain.

A colleague and I have had zero success in import foreign projects into CW.

A simple C blinky like program to test a power supply chip told me my code was to big.

Wrote the exact same code from within CW as a new project and it worked just fine, with a code size of about 1k.

Don't understand how a 1k non-CW C program can be 'to big' and a 1k CW is not?

Lawyers are taking all of the fun out of this field with crap like this. :-(

0 项奖励
回复
1,584 次查看
cmscs
Contributor I

You are right I verified the size an got more than 128kB... after downloading CW evaluation the problem disapeared... I am just wondering how i can use MQX and its networkstack without exceeding the limit...

0 项奖励
回复
1,585 次查看
mjbcswitzerland
Specialist V

Hi

This is (one of the reasons) why Freescale has introduced their KDS so that there are no size restrictions.

In the meantime the uTasker networking stack allows web server based projects to be achieved in 16k and full features (FAT, USB stacks, full TCP/IP stack, OS etc.) in under 100k Flash and 20k SRAM (or basically allows smaller/cheaper chips to do the job ;-)

Regards

Mark

µTasker Kinetis support

0 项奖励
回复
1,584 次查看
cmscs
Contributor I

I have already installed the Kinetis Design Studio but since it is a relatively new IDE solution there aren't many instructions. (i just started developing for Kinetis) so I thought It might be better to start with CodeWarrior. And I wasn't sure if it is possible to develop mqx using KDS. But thanks for your answer I will try the uTasker.

Greets

0 项奖励
回复
1,584 次查看
mjbcswitzerland
Specialist V

Christof

If you use KDS you will find that it is almost identical to CW apart from the fact that it presently has a few less special features [First experence with KDS (Beta) with FRDM-K64F] - it is however probably the best free one to use specifically for the K64 (IAR and co. are more advanced if you can afford them ;-)

The uTasker project supports the following IDEs:

  • Freescale's Kinetis Design Studio (KDS)
  • Freescale's CodeWarrior 10.x
  • Rowley Associate's Crossworks
  • CooCox CoIDE
  • IAR Embedded Workbench
  • Keil µVision
  • Atollic Studio for ARM
  • Standalone GCC from Makefile
  • VisualStudio for Kinetis simulation

In fact CooCox CoIDE is an interesting solution that is worth checking out since it is also Eclipse based, free and unrestricted but so much less complicated than CW/KDS.It doesn't officially support the K64 (not the last time I checked) but does just about work with it and the mbed debugger. If you're not tied in to using PE there is a lot of choice and flexibilty out there.

Note that the uTasker project also allows simulation of the Kinetis parts in real-time so that the TCP/IP stack and services can be run, developed and fully tested in the simulation environment without restrictions of HW debuggers. Remote debugging of network issues is aided by its capability to play back Wireshark recordings through the simulation model (including all Ethernet interrupts) - it works with the free VisualStudio Express edition.

Below is the FRDM-K64F simulator screen shot as reference.

Regards

Mark

FRDM_K64F_3.png

0 项奖励
回复