µTasker Forum > NXPTM LPC2XXX and LPC17XX

LPC24XX vs uTasker tutorial - irregularities

(1/2) > >>

mr_theo:
Hi all

I'm new to the uTasker. I've just started getting to know it with help of the demo tutorial. While I was going through it, I noticed that in few places (I'm only few steps into the tutorial) outcome from Visual Studio is quite different than what the tutorial states. I'm not quite sure whether it is a big deal, so I thought it would be better to simply ask. So here goes:

I'm opening VisualStudio workspace and going through basic preparations (chip type, header, ip address). When I try to execute it, there's this message:



I find it really no big deal, so I just go with it. Visual Studio builds the project just fine. But then, another error message appears on the screen:



And the reason to this is quite obvious. Files in \Debug\ folder are named differently than the uTasker expects them to.



So I just rename them, deleting "V1-4" part. But it's only a workaround, not a proper solution, because after renaming them, when trying to start the demo, this screen appears:



If I press "yes", it starts correctly and seems to be working fine (can ping it, can access the http server through browser). Anyway, I was hoping I could tweak some lines in order to get rid of these errors, as I fear that although the demo works just fine now, later on there could be consequences.
So, long story short, the question is - how to get rid of these errors? What lines to change? Where to look for them? So far I've been unsuccessful in finding the code that is resposible for such a behaviour.

If it matters, I'm using Visual Studio 2012 Express for Desktop - just as you can seen on one of the screenshots.

Many thanks for your responses
Rafal

mark:
Hi Rafal

The project contains VS projects for VS6.0 and VS2012. When changing between VS6.0 and VS2012 it is necessary to command a rebuild of the entire project otherwise there can be some problems with one version of VS trying to use files built by the other.

I would first try a complete rebuild since it may then process without any strange behaviour.

Regards

Mark

mr_theo:
Rebuilding it doesn't do the job - still the same error codes.

Running it on VS 6 works just fine - no errors, no problems. It is still very impractical, though, as I am running on Win7, which VS 6 doesn't cooperate with.

mark:
Hi

Please check that you are using the latest release (older ones didn't have VS2010/VS2012 support). To be sure, I just downloaded the latest software and tried with VS2012 and couldn't reprodce any problems. Here is what I did:

1. Starting with fresh project directory from [V1.4-8 19.09.2012 http://www.uTasker.com/software/V1.4/uTaskerV1.4_LPC-8.zip] - double click on "uTaskerV1-4.vcxproj" to open VS2012
The project is in fact in VS2010 format and so has to be converted - VS2012 automatically asks whether it should convert, so respond with OK

2. After the conversion has taken place a complete rebuild can be performed (the default target is set to build also a GCC target but the target can be changed to "uTaskerLPC2XXX" from "uTaskerLPC2XXX plus GNU Build" if GCC is not installed)

3. The build should take place without any errors and the simulator can then be started with F5 - the MCB2300 board from Keil is seen if no other configuration settings were made.

Please try using the same steps to see whether you can identify what is going wrong.

Regards

Mark

P.S. VS6 has some restrictions under Windows 7 but is still useable (I use it mostly since it is so much faster to work with than newer VS versions). One must avoid trying to open a file (dragging it to the wondow works) or saving to a new file since it will crash but otherwise it behaves fairly well.

mr_theo:
Yes, it's working now without any errors.
What was the problem? I was following the official tutorial, which stated that it's *dsw file that is to be opened. Since I am using VC2012, it is *vcxproj file that should be run. Outdated tutorial + following it blindly = problems :D

Thank you for your help!

Navigation

[0] Message Index

[#] Next page

Go to full version