EmbeddedRelated.com
Forums

Can't open a workspace: IAR crashes

Started by dclaarit June 14, 2008
Just starting up to try and use the MSP. I'm on Vista and I installed
IAR and CCE. (I got the latest from TI's site). I wanted to play with
slaa139 (keypad interface), and it is in IAR assembly, so I'm trying to
use that.

I created a workspace and project, and brought in the .s43 file. After
updating it for the latest IAR
(RSEG DATA16_Z:DATA:SORT:NOROOT(1) ; RAM Location), it compiled and
linked fine. Then it was bed time. Today, every time I try to open the
workspace, I get:

Faulting application IarIdePm.exe, version 5.2.7.555, time stamp
0x48280923, faulting module unknown, version 0.0.0.0, time stamp
0x00000000, exception code 0xc0000005, fault offset 0x00240a0d, process
id 0x1f34, application start time 0x01c8cdd3e75f8654.

Serves me right for sleeping! [:)] I tried the kill the workspace,
create a new one, Add existing project and save it gambit but again, IAR
crashes if I try to open that new workspace.

I'm reluctant to get very far into this if I can't even do something as
simple as opening a workspace: I'm allergic to losing my work...

Here's the Product info on the IDE:

IAR Embedded Workbench IDE
5.2.7.555.8483 (5.2.7.555)
C:\Program Files\IAR Systems\Embedded Workbench
5.0\common\bin\IarIdePm.exe
5/12/2008 11:15:40 AM, 401408 bytes

There's a lot more, but I'm not sure that they are relevant.

Maybe I should just start with CCE? But apparently, it isn't compatible.
At least, it doesn't seem to grok the .s43 file.

I was hoping that this would be a bit easier.

Any suggestions?

Thanks!


Beginning Microcontrollers with the MSP430

----- Original Message -----
From: "dclaarit"
To:
Sent: Saturday, June 14, 2008 5:19 AM
Subject: [msp430] Can't open a workspace: IAR crashes
> Just starting up to try and use the MSP. I'm on Vista and I installed
> IAR and CCE. (I got the latest from TI's site). I wanted to play with
> slaa139 (keypad interface), and it is in IAR assembly, so I'm trying to
> use that.
>
> I created a workspace and project, and brought in the .s43 file. After
> updating it for the latest IAR
> (RSEG DATA16_Z:DATA:SORT:NOROOT(1) ; RAM Location), it compiled and
> linked fine. Then it was bed time. Today, every time I try to open the
> workspace, I get:
>
> Faulting application IarIdePm.exe, version 5.2.7.555, time stamp
> 0x48280923, faulting module unknown, version 0.0.0.0, time stamp
> 0x00000000, exception code 0xc0000005, fault offset 0x00240a0d, process
> id 0x1f34, application start time 0x01c8cdd3e75f8654.
>
> Serves me right for sleeping! [:)] I tried the kill the workspace,
> create a new one, Add existing project and save it gambit but again, IAR
> crashes if I try to open that new workspace.

IDEs sometimes create a file somewhere else, with important information in
it, which can get corrupted. You might be able to find it and delete it. I
remember having a similar problem with MPLAB.

Leon
Good Morning Doug...I am probably more of a newbie on this subject
than anyone but a couple of things confused me. First, you did not
mention which chip you were useing. That's fine, but when I went to
TI and downloaded the slaa139.zip file, I find that it is written for
the MSP430F12X. This file is also over 14K in size. My understanding
is that the kickstart version is limited to 4K and the CCE IDE is
limited to ... I think 16K???. If I am right, this would explain why
IAR crashes but not really explain why is came up in the first place.

If you can verify which chip and what IDE you are using, I do have a
Vista laptop floating about the lab that I can load the IDE on to see
if this is a 'your computer' or an IDE issue.

--- In m..., "dclaarit" wrote:
>
> Just starting up to try and use the MSP. I'm on Vista and I
installed
> IAR and CCE. (I got the latest from TI's site). I wanted to play
with
> slaa139 (keypad interface), and it is in IAR assembly, so I'm
trying to
> use that.
>
> I created a workspace and project, and brought in the .s43 file.
After
> updating it for the latest IAR
> (RSEG DATA16_Z:DATA:SORT:NOROOT(1) ; RAM Location), it compiled
and
> linked fine. Then it was bed time. Today, every time I try to open
the
> workspace, I get:
>
> Faulting application IarIdePm.exe, version 5.2.7.555, time stamp
> 0x48280923, faulting module unknown, version 0.0.0.0, time stamp
> 0x00000000, exception code 0xc0000005, fault offset 0x00240a0d,
process
> id 0x1f34, application start time 0x01c8cdd3e75f8654.
>
> Serves me right for sleeping! [:)] I tried the kill the workspace,
> create a new one, Add existing project and save it gambit but
again, IAR
> crashes if I try to open that new workspace.
>
> I'm reluctant to get very far into this if I can't even do
something as
> simple as opening a workspace: I'm allergic to losing my work...
>
> Here's the Product info on the IDE:
>
> IAR Embedded Workbench IDE
> 5.2.7.555.8483 (5.2.7.555)
> C:\Program Files\IAR Systems\Embedded Workbench
> 5.0\common\bin\IarIdePm.exe
> 5/12/2008 11:15:40 AM, 401408 bytes
>
> There's a lot more, but I'm not sure that they are relevant.
>
> Maybe I should just start with CCE? But apparently, it isn't
compatible.
> At least, it doesn't seem to grok the .s43 file.
>
> I was hoping that this would be a bit easier.
>
> Any suggestions?
>
> Thanks!
>
>
>

There is no limit for projects in assembly code.

--- In m..., "n0kib" wrote:
>
> Good Morning Doug...I am probably more of a newbie on this subject
> than anyone but a couple of things confused me. First, you did not
> mention which chip you were useing. That's fine, but when I went to
> TI and downloaded the slaa139.zip file, I find that it is written for
> the MSP430F12X. This file is also over 14K in size. My understanding
> is that the kickstart version is limited to 4K and the CCE IDE is
> limited to ... I think 16K???. If I am right, this would explain why
> IAR crashes but not really explain why is came up in the first place.
>
> If you can verify which chip and what IDE you are using, I do have a
> Vista laptop floating about the lab that I can load the IDE on to see
> if this is a 'your computer' or an IDE issue.
>
> --- In m..., "dclaarit" wrote:
> >
> > Just starting up to try and use the MSP. I'm on Vista and I
> installed
> > IAR and CCE. (I got the latest from TI's site). I wanted to play
> with
> > slaa139 (keypad interface), and it is in IAR assembly, so I'm
> trying to
> > use that.
> >
> > I created a workspace and project, and brought in the .s43 file.
> After
> > updating it for the latest IAR
> > (RSEG DATA16_Z:DATA:SORT:NOROOT(1) ; RAM Location), it compiled
> and
> > linked fine. Then it was bed time. Today, every time I try to open
> the
> > workspace, I get:
> >
> > Faulting application IarIdePm.exe, version 5.2.7.555, time stamp
> > 0x48280923, faulting module unknown, version 0.0.0.0, time stamp
> > 0x00000000, exception code 0xc0000005, fault offset 0x00240a0d,
> process
> > id 0x1f34, application start time 0x01c8cdd3e75f8654.
> >
> > Serves me right for sleeping! [:)] I tried the kill the workspace,
> > create a new one, Add existing project and save it gambit but
> again, IAR
> > crashes if I try to open that new workspace.
> >
> > I'm reluctant to get very far into this if I can't even do
> something as
> > simple as opening a workspace: I'm allergic to losing my work...
> >
> > Here's the Product info on the IDE:
> >
> > IAR Embedded Workbench IDE
> > 5.2.7.555.8483 (5.2.7.555)
> > C:\Program Files\IAR Systems\Embedded Workbench
> > 5.0\common\bin\IarIdePm.exe
> > 5/12/2008 11:15:40 AM, 401408 bytes
> >
> > There's a lot more, but I'm not sure that they are relevant.
> >
> > Maybe I should just start with CCE? But apparently, it isn't
> compatible.
> > At least, it doesn't seem to grok the .s43 file.
> >
> > I was hoping that this would be a bit easier.
> >
> > Any suggestions?
> >
> > Thanks!
> >
> >
> >
> >
>
Well that is good to know. There is no limit in assembly for IAR,
CCE, or both?

--- In m..., "old_cow_yellow"
wrote:
>
> There is no limit for projects in assembly code.
>
> --- In m..., "n0kib" wrote:
> >
> > Good Morning Doug...I am probably more of a newbie on this
subject
> > than anyone but a couple of things confused me. First, you did
not
> > mention which chip you were useing. That's fine, but when I went
to
> > TI and downloaded the slaa139.zip file, I find that it is written
for
> > the MSP430F12X. This file is also over 14K in size. My
understanding
> > is that the kickstart version is limited to 4K and the CCE IDE is
> > limited to ... I think 16K???. If I am right, this would explain
why
> > IAR crashes but not really explain why is came up in the first
place.
> >
> > If you can verify which chip and what IDE you are using, I do
have a
> > Vista laptop floating about the lab that I can load the IDE on to
see
> > if this is a 'your computer' or an IDE issue.
> >
> > --- In m..., "dclaarit" wrote:
> > >
> > > Just starting up to try and use the MSP. I'm on Vista and I
> > installed
> > > IAR and CCE. (I got the latest from TI's site). I wanted to
play
> > with
> > > slaa139 (keypad interface), and it is in IAR assembly, so I'm
> > trying to
> > > use that.
> > >
> > > I created a workspace and project, and brought in the .s43
file.
> > After
> > > updating it for the latest IAR
> > > (RSEG DATA16_Z:DATA:SORT:NOROOT(1) ; RAM Location), it
compiled
> > and
> > > linked fine. Then it was bed time. Today, every time I try to
open
> > the
> > > workspace, I get:
> > >
> > > Faulting application IarIdePm.exe, version 5.2.7.555, time stamp
> > > 0x48280923, faulting module unknown, version 0.0.0.0, time stamp
> > > 0x00000000, exception code 0xc0000005, fault offset 0x00240a0d,
> > process
> > > id 0x1f34, application start time 0x01c8cdd3e75f8654.
> > >
> > > Serves me right for sleeping! [:)] I tried the kill the
workspace,
> > > create a new one, Add existing project and save it gambit but
> > again, IAR
> > > crashes if I try to open that new workspace.
> > >
> > > I'm reluctant to get very far into this if I can't even do
> > something as
> > > simple as opening a workspace: I'm allergic to losing my work...
> > >
> > > Here's the Product info on the IDE:
> > >
> > > IAR Embedded Workbench IDE
> > > 5.2.7.555.8483 (5.2.7.555)
> > > C:\Program Files\IAR Systems\Embedded Workbench
> > > 5.0\common\bin\IarIdePm.exe
> > > 5/12/2008 11:15:40 AM, 401408 bytes
> > >
> > > There's a lot more, but I'm not sure that they are relevant.
> > >
> > > Maybe I should just start with CCE? But apparently, it isn't
> > compatible.
> > > At least, it doesn't seem to grok the .s43 file.
> > >
> > > I was hoping that this would be a bit easier.
> > >
> > > Any suggestions?
> > >
> > > Thanks!
> > >
> > >
> > >
> > >
> > >
>
IAR crashes on me all the time. Just delete the settings directory
and all is better. BTW: The settings directory contains, well,
settings. All your carefully arrranged windows, etc. are also lost.
You have no choice as the directory cannot be easily repaired. I use
IAR on both XP & Vista. Amazingly, it is more stable on Vista.

--- In m..., "Leon" wrote:
>
> ----- Original Message -----
> From: "dclaarit"
> To:
> Sent: Saturday, June 14, 2008 5:19 AM
> Subject: [msp430] Can't open a workspace: IAR crashes
> > Just starting up to try and use the MSP. I'm on Vista and I
installed
> > IAR and CCE. (I got the latest from TI's site). I wanted to play
with
> > slaa139 (keypad interface), and it is in IAR assembly, so I'm
trying to
> > use that.
> >
> > I created a workspace and project, and brought in the .s43 file.
After
> > updating it for the latest IAR
> > (RSEG DATA16_Z:DATA:SORT:NOROOT(1) ; RAM Location), it
compiled and
> > linked fine. Then it was bed time. Today, every time I try to
open the
> > workspace, I get:
> >
> > Faulting application IarIdePm.exe, version 5.2.7.555, time stamp
> > 0x48280923, faulting module unknown, version 0.0.0.0, time stamp
> > 0x00000000, exception code 0xc0000005, fault offset 0x00240a0d,
process
> > id 0x1f34, application start time 0x01c8cdd3e75f8654.
> >
> > Serves me right for sleeping! [:)] I tried the kill the
workspace,
> > create a new one, Add existing project and save it gambit but
again, IAR
> > crashes if I try to open that new workspace.
>
> IDEs sometimes create a file somewhere else, with important
information in
> it, which can get corrupted. You might be able to find it and
delete it. I
> remember having a similar problem with MPLAB.
>
> Leon
>

There is no limitation in IAR for assembly. The free CCE v3 Core
Edition is limited to 16kB in both C and assembly.

Markus
--- In m..., "n0kib" wrote:
>
> Well that is good to know. There is no limit in assembly for IAR,
> CCE, or both?
>
> --- In m..., "old_cow_yellow"
> wrote:
> >
> > There is no limit for projects in assembly code.
> >
> > --- In m..., "n0kib" wrote:
> > >
> > > Good Morning Doug...I am probably more of a newbie on this
> subject
> > > than anyone but a couple of things confused me. First, you did
> not
> > > mention which chip you were useing. That's fine, but when I
went
> to
> > > TI and downloaded the slaa139.zip file, I find that it is
written
> for
> > > the MSP430F12X. This file is also over 14K in size. My
> understanding
> > > is that the kickstart version is limited to 4K and the CCE IDE
is
> > > limited to ... I think 16K???. If I am right, this would
explain
> why
> > > IAR crashes but not really explain why is came up in the first
> place.
> > >
> > > If you can verify which chip and what IDE you are using, I do
> have a
> > > Vista laptop floating about the lab that I can load the IDE on
to
> see
> > > if this is a 'your computer' or an IDE issue.
> > >
> > > --- In m..., "dclaarit" wrote:
> > > >
> > > > Just starting up to try and use the MSP. I'm on Vista and I
> > > installed
> > > > IAR and CCE. (I got the latest from TI's site). I wanted to
> play
> > > with
> > > > slaa139 (keypad interface), and it is in IAR assembly, so
I'm
> > > trying to
> > > > use that.
> > > >
> > > > I created a workspace and project, and brought in the .s43
> file.
> > > After
> > > > updating it for the latest IAR
> > > > (RSEG DATA16_Z:DATA:SORT:NOROOT(1) ; RAM Location), it
> compiled
> > > and
> > > > linked fine. Then it was bed time. Today, every time I try
to
> open
> > > the
> > > > workspace, I get:
> > > >
> > > > Faulting application IarIdePm.exe, version 5.2.7.555, time
stamp
> > > > 0x48280923, faulting module unknown, version 0.0.0.0, time
stamp
> > > > 0x00000000, exception code 0xc0000005, fault offset
0x00240a0d,
> > > process
> > > > id 0x1f34, application start time 0x01c8cdd3e75f8654.
> > > >
> > > > Serves me right for sleeping! [:)] I tried the kill the
> workspace,
> > > > create a new one, Add existing project and save it gambit
but
> > > again, IAR
> > > > crashes if I try to open that new workspace.
> > > >
> > > > I'm reluctant to get very far into this if I can't even do
> > > something as
> > > > simple as opening a workspace: I'm allergic to losing my
work...
> > > >
> > > > Here's the Product info on the IDE:
> > > >
> > > > IAR Embedded Workbench IDE
> > > > 5.2.7.555.8483 (5.2.7.555)
> > > > C:\Program Files\IAR Systems\Embedded Workbench
> > > > 5.0\common\bin\IarIdePm.exe
> > > > 5/12/2008 11:15:40 AM, 401408 bytes
> > > >
> > > > There's a lot more, but I'm not sure that they are relevant.
> > > >
> > > > Maybe I should just start with CCE? But apparently, it isn't
> > > compatible.
> > > > At least, it doesn't seem to grok the .s43 file.
> > > >
> > > > I was hoping that this would be a bit easier.
> > > >
> > > > Any suggestions?
> > > >
> > > > Thanks!
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
>
I'm not sure what the problem is. I tried deleting the settings file.
I also noticed while I was trying different things that if I just
start IAR and then exit, it crashes while it is exiting. Is there a
settings file other than the one in the workspace? I removed
IarIdePm.ini as well, still no joy.

What a pain.
Sorry, I thought I got rid of all the reply junk. Don't know why it
came back.
Settings is a directory, not a file. You might try creating a new
workspace & project file. Lots of work. But I have had to do it once
before when the settings trick only worked for a few times.

The symptoms I get is that there is a pop-up about an invalid
argument. Each time it happens, your workspace loses some arbitrary
window. It increases in frequency. And finally, all you get is the
sending error report window and you are out of luck.

If that isn't what you are seeing, you may have something else going
on.

Fortunately, the IAR compiler generates very good code as getting it
to generate that code can sometimes be very frustrating.

--- In m..., "dclaarit" wrote:
>
> I'm not sure what the problem is. I tried deleting the settings
file.
> I also noticed while I was trying different things that if I just
> start IAR and then exit, it crashes while it is exiting. Is there a
> settings file other than the one in the workspace? I removed
> IarIdePm.ini as well, still no joy.
>
> What a pain.
>