🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Cannot run simple project

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Submitted by lxman on Sun, 03/25/2012 - 09:56 

Hello,

I am having some startup difficulty with my VisSim/ECD 8.0. Perhaps someone could help me along.

What I am doing:

Install CCS, install VisSim. Open a new diagram. Pull up the MCU Config... dialog - the part I am using is F28069. I set to 80 MHz clock, internal oscillator, 8x, etc. Drop this on the diagram. Pick 2 Analog/Digital Outputs and drop them on the diagram. Set both to Digital out - one to A31 and the other to B2 (GPIO31 and GPIO34, the LEDS). Grab a pulsed source from the toolbar and drop it on the diagram. Grab a boolean not block from the menu and drop it on the diagram. Wire the pulsed source directly to one of the outputs, and through the not gate to the other output. Save the diagram. Tools->Code Gen... Click Compile... No errors noted. Click Download... Click Download... again. The little blue blocks run across and the dialog says done! LED's on my Piccolo board are toggling, but it seems to be about 1/6th the speed with which they should be.

Ok, I used CCSv5. Maybe there are some issues with it.

Uninstall VisSim, Uninstall CCSv5. Install CCSv4.2.4.00033. Install VisSim. Repeat same procedure. This time download again shows as successful. This time no response from the LED's at all.

If I use the pre-configured examples installed with VisSim (many of which include an equivalent flashing LED component) the LED's blink happily.

What am I doing wrong here? Why, when I start a project from scratch, will it not load and run as the examples do? I have checked all of the IDE settings I can think of. As far as I can tell the settings in my new project are identical to the settings of the pre-configured projects

Find more posts tagged with