Hello All, Here I am, a hardware guy whose uC exposure has pretty much been C51 and very little firmware. So, I loaded the latest IAR Kickstart, got the TI USB programmer and soldered together a board with an Olimex F1232 header on there. The 32kHz oscillator runs and all but here is where it gets frustrating. Even flashing an LED on P1.0 using the FET_example work space won't do it. I mean, this is stuff that was supposed to be a 100% sober evaluation project. I'd think. But it produces a plethora of error messages on rebuild, even errors in intrinsic.h. What's wrong? Regards, Joerg.
Frustrations with Kickstart
Started by ●February 17, 2005
Reply by ●February 17, 20052005-02-17
It depends, what are the errors?
On Thursday 17 February 2005 02:31 pm, Joerg
Schulze-Clewing wrote:
> Hello All,
>
> Here I am, a hardware guy whose uC exposure has pretty much been C51
> and very little firmware. So, I loaded the latest IAR Kickstart, got
> the TI USB programmer and soldered together a board with an Olimex
> F1232 header on there. The 32kHz oscillator runs and all but here is
> where it gets frustrating.
>
> Even flashing an LED on P1.0 using the FET_example work space won't
do
> it. I mean, this is stuff that was supposed to be a 100% sober
> evaluation project. I'd think. But it produces a plethora of error
> messages on rebuild, even errors in intrinsic.h. What's wrong?
>
> Regards,
>
> Joerg.
>
>
>
>
>
> .
>
>
>
>
>
> .
Reply by ●February 17, 20052005-02-17
So what are you seeing? I assume you are in the debug mode of workbench
and have correctly configured all of the project options, including
selecting simulation or FET Tool? Are you ssure that the TiUSb is
compatible with IAR? Does the code download, ie you should see an erase
message followed by a programming message when you click on C-Spy. If
so, you should be in C-Spy. Display the source window if it isn't
displayed, and open a memory window. try changing memory data by double
clicking on any RAM address. If you can do that C-Spy is running at
leasdt, and talking to the board. If not work it backwards from their.
Confirm download first. If the code is so small that download passes so
quickly then fill all of the available 'empty flash with a noin-FF
value, just to consume time.
Al
augusto einsfeldt wrote:
>Joerg,
>I assume you already did that but I would check what compiler options are on
>or off. Look at "Project/Options".
>
>-Augusto
>
>
>-----Original Message-----
>From: Joerg Schulze-Clewing [mailto:joergsch@joer...]
>Sent: Thursday, February 17, 2005 7:32 PM
>To: msp430@msp4...
>Subject: [msp430] Frustrations with Kickstart
>
>
>
>
>Hello All,
>
>Here I am, a hardware guy whose uC exposure has pretty much been C51 and
>very little firmware. So, I loaded the latest IAR Kickstart, got the TI USB
>programmer and soldered together a board with an Olimex F1232 header on
>there. The 32kHz oscillator runs and all but here is where it gets
>frustrating.
>
>Even flashing an LED on P1.0 using the FET_example work space won't do
it. I
>mean, this is stuff that was supposed to be a 100% sober evaluation project.
>I'd think. But it produces a plethora of error messages on rebuild,
even
>errors in intrinsic.h. What's wrong?
>
>Regards,
>
>Joerg.
>
>
>
>
>
>.
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
Reply by ●February 18, 20052005-02-18
Joerg, I assume you already did that but I would check what compiler options are on or off. Look at "Project/Options". -Augusto -----Original Message----- From: Joerg Schulze-Clewing [mailto:joergsch@joer...] Sent: Thursday, February 17, 2005 7:32 PM To: msp430@msp4... Subject: [msp430] Frustrations with Kickstart Hello All, Here I am, a hardware guy whose uC exposure has pretty much been C51 and very little firmware. So, I loaded the latest IAR Kickstart, got the TI USB programmer and soldered together a board with an Olimex F1232 header on there. The 32kHz oscillator runs and all but here is where it gets frustrating. Even flashing an LED on P1.0 using the FET_example work space won't do it. I mean, this is stuff that was supposed to be a 100% sober evaluation project. I'd think. But it produces a plethora of error messages on rebuild, even errors in intrinsic.h. What's wrong? Regards, Joerg. . Yahoo! Groups Links -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/2/2005
Reply by ●February 18, 20052005-02-18
Hi,
please have a look at your project options. That is a huge dialog with
about 10 tabbed pages full of options. Take some time and adjust
everything on one page after the other. Use the help file and the PDF
documentation files to learn what each option means.
Then it will work and you will take a big step on your MSP430 learning
curve.
Regards,
Dieter Teuchert
Joerg Schulze-Clewing wrote:
>Hello All,
>
>Here I am, a hardware guy whose uC exposure has pretty much been C51
>and very little firmware. So, I loaded the latest IAR Kickstart, got
>the TI USB programmer and soldered together a board with an Olimex
>F1232 header on there. The 32kHz oscillator runs and all but here is
>where it gets frustrating.
>
>Even flashing an LED on P1.0 using the FET_example work space won't do
>it. I mean, this is stuff that was supposed to be a 100% sober
>evaluation project. I'd think. But it produces a plethora of error
>messages on rebuild, even errors in intrinsic.h. What's wrong?
>
>Regards,
>
>Joerg.
>
>
>
>
>
>.
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
Reply by ●February 18, 20052005-02-18
Hello Micah,
>
> It depends, what are the errors?
For example these:
Error[Pe077]: this declaration has no storage class or type specifier
C:\Application Software\Electric\IAR\430\INC\msp430x12x.h 1
Error[Pe065]: expected a ";" C:\Application
Software\Electric\IAR\430\INC\msp430x12x.h 3
Error[Pe010]: "#" not expected here C:\Application
Software\Electric\IAR\430\INC\msp430x12x.h 14
Warning[Pe012]: parsing restarts here after previous syntax error
C:\Application Software\Electric\IAR\430\INC\intrinsics.h 21
Error[Pe020]: identifier "istate_t" is undefined C:\Application
Software\Electric\IAR\430\INC\intrinsics.h 32
Error[Pe092]: identifier-list parameters may only be used in a
function definition C:\Application
Software\Electric\IAR\430\INC\intrinsics.h 33
This work space was verbatim out of the fet_projects. Just loading and
build produces the errors.
Regards,
Joerg.
Reply by ●February 18, 20052005-02-18
Hello Augusto, > I assume you already did that but I would check what compiler options are on > or off. Look at "Project/Options". Yes, I did. I tried to be diligent and also tested several target devices. Same thing. If I could just find a simple example app for the F1232 on the web that the IAR compiler "likes" that would get me started (hopefully...). This was so much easier in the DOS days. One other weird thing about this Kickstart environment: If I want to, say, delete a header file and use another there is a "remove" option but it doesn't remove the file. I wish they'd at least stick to the ways a "normal" Windows program operates. Regards, Joerg.
Reply by ●February 18, 20052005-02-18
Hello Dieter, > please have a look at your project options. That is a huge dialog with > about 10 tabbed pages full of options. Take some time and adjust > everything on one page after the other. Use the help file and the PDF > documentation files to learn what each option means. I did that over and over again but no results. I do need to study the docs again though because it seems that the Kickstart environment behaves very differently from any other Windows program I have ever used. What surprised me was that even example files they included do not build. That I never had before. With other programs such as Spice or Microsoft-C all the examples worked flawlessly even if a new and uninitiated user just calls them up and runs them. The minute you make your first change that can result in errors but then the learning process starts. > > Then it will work and you will take a big step on your MSP430 learning > curve. I'll keep trying. Unless there is a stable DOS environment for the MSP...;-) Regards, Joerg.
Reply by ●February 18, 20052005-02-18
Hi Joerg, Yes, I have found this same behavior very frustrating. If you were doing an assembler design I could be more helpfull since I already have a kind of "first steps" to start a design on IAR. Another thing: design's file (the one that holds all design information) usually holds the whole original path for every file and it may led the compiler to read wrong files if it was created in another environment. Also, IAR installation may not set everything right. In the ASM case, at XLINK options tab, the XCL file name allways beguns pointing to a wrong place and for every new design I have to override the default and direct it to point the correct file. In your case I believe it should point to MSP430F1232C.XCL. Take a look on this. Good luck, Augusto -----Original Message----- From: Joerg Schulze-Clewing [mailto:joergsch@joer...] Sent: Friday, February 18, 2005 4:41 PM To: msp430@msp4... Subject: [msp430] Re: Frustrations with Kickstart Hello Augusto, > I assume you already did that but I would check what compiler options are on > or off. Look at "Project/Options". Yes, I did. I tried to be diligent and also tested several target devices. Same thing. If I could just find a simple example app for the F1232 on the web that the IAR compiler "likes" that would get me started (hopefully...). This was so much easier in the DOS days. One other weird thing about this Kickstart environment: If I want to, say, delete a header file and use another there is a "remove" option but it doesn't remove the file. I wish they'd at least stick to the ways a "normal" Windows program operates. Regards, Joerg. . Yahoo! Groups Links -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/2/2005
Reply by ●February 18, 20052005-02-18
Hi Joerg,
Not that it's any consolation, but things build fine for me, even the
example
code. For example, I just tested this one in the simulator, and it builds
fine. Perhaps try it? (attached)
-Micah
On Friday 18 February 2005 11:54 am, Joerg
Schulze-Clewing wrote:
> Hello Dieter,
>
> > please have a look at your project options. That is a huge dialog
with
> > about 10 tabbed pages full of options. Take some time and adjust
> > everything on one page after the other. Use the help file and the PDF
> > documentation files to learn what each option means.
>
> I did that over and over again but no results. I do need to study the
> docs again though because it seems that the Kickstart environment
> behaves very differently from any other Windows program I have ever used.
>
> What surprised me was that even example files they included do not
> build. That I never had before. With other programs such as Spice or
> Microsoft-C all the examples worked flawlessly even if a new and
> uninitiated user just calls them up and runs them. The minute you make
> your first change that can result in errors but then the learning
> process starts.
>
> > Then it will work and you will take a big step on your MSP430
learning
> > curve.
>
> I'll keep trying. Unless there is a stable DOS environment for the
> MSP...;-)
>
> Regards,
>
> Joerg.
>
>
>
>
>
> .
>
>
>
>
>
> .