FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [January 2008 Threads] bad instruction in the STR91X Posted by sathish kumar on January 19, 2008 Hi,
i'm a newbie to the RTOS and to this group, previously i was working with BF561. I have downloaded the freertos v4.6.1 and tried the demo for STR91X in IAR KS v4.0, but in the 91x_vect-IAR.s file am getting a compiler error like Bad instruction in the line - COMMONINTVEC:CODE(2)
please help me in this regard.
sathish.
RE: bad instruction in the STR91X Posted by Dave on January 19, 2008 Are you sure you are using IAR V4? This sounds like an error you would get if using V5.
RE: bad instruction in the STR91X Posted by sathish kumar on January 21, 2008 Hi dave, Oh i'm very sorry i have been using two versions that is why the confusion is this error comes in the IAR EWARM 5.0.
but when i'm using IAR KickStart Version 4.42(V4), this shows the linker error like
Fatal Error[e89]: Too much object code produced (more than 0x8000 bytes) for this package
In the documentation i read these types of error arise in the demo applications.
Help me in this regard.
sathish.
RE: bad instruction in the STR91X Posted by Richard on January 21, 2008 >Fatal Error[e89]: Too much object code produced (more than 0x8000 bytes) for this package
From this error message I'm guessing you are using the KickStart version of the IAR compiler - which is limited to 32K. You are simply going over this limit.
The STR9 project contains several configurations, one of which was deliberately kept below the 32K code size limit so it can be used with the KickStart version. I think the documentation page for this port tells you which project this is.
I have converted all the IAR projects for use with Embedded Workbench version 5 now, but these are not yet in the .zip file download.
Regards.
RE: bad instruction in the STR91X Posted by sathish kumar on January 21, 2008 hi,
thank you Richard. I'm having Embedded work bench 5.11 also but the project is in the version 4.0 Kickstart. I have read the documentation for upgrading the FreeRTOS projects from 4.x to 5.x IAR, in that documentation they have specified about the Cstartup.s file in the FreeRTOS download but in the download there is no such file instead i have 91x_init_IAR.s and 91x_vect_IAR.s files. I'm using the STR91X demo. I tried taking these two .s files and included a Cstartup.s from the IAR examples but not from the example of STR but from the STR library as the STR doesn't contain any .s.
I compiled the project but ends with the following error.
1) Warning[Lp005]: placement includes a mix of sections with content (example "rw data section .data in httpd-cgi.o") and sections without content (example "zi section .bss in 91x_enet.o") 2) Warning[Lp006]: placement includes a mix of writable sections (example "zi section .bss in 91x_enet.o") and non-writable sections (example "ro data section .rodata in BlockQ.o")
Help me to make through the project either by the Kickstart or EWARM 5.11.
regards, sathish.
RE: bad instruction in the STR91X Posted by Richard on January 21, 2008 If you send me your real email address as apposed to the SourceForge address then I can send you the V5.11 version. SourceForge email addresses will not allow binary attachments.
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|