09-02-2008 10:54 PM
Hi!
I'm starting to work with Keil uVision,Labview and a Luminary LM3S89S2 evaluation kit. I want to download the Labview examples to my target, but there is an error after the flash is written and verified (this two opperations are performed succesfully)...an error appears at the moment of start the target. It says:
"Trace available only on SW!
Please select SW Port.
Error: Target DLL has been cancelled
Debugger aborted !
Detail: [UVSC_DBG_ENTER, MSG: 0x2000, STATUS: 0x1] (1) "
If I press the RESET button on the evaluation board the program starts and works fine, but I'm unable to use breakpoints or do anything from Labview.
I have never used Keil, uLINK or ARM architecture before...so I'm a little out of my waters here 🙂
Thank you!
09-04-2008 12:55 PM
Hi Matthuz,
The LabVIEW Embedded Module for ARM Microcontrollers supports the Luminary Micro LM3S8962 Evaluation Board out of the box. (Do you have LM3S8962 or LM3S89S2?) These are the steps I took in getting an example to run. (Let me know if you did something differently.)
1) Start LabVIEW. (I ran version 8.5.1).
2) Open up a prebuilt example titled Blinky.vi. (Find Examples » Toolkits and Modules » Luminary Micro » Fundamentals » Blinky.lvproj)
3) Double-click on Blinky.vi in the Project Explorer Window.
4) Run the VI.
Regards,
Kevin S.
Applications Engineer
National Instruments
09-06-2008 03:07 PM
Hi Kevin,
I'm working with the LM3S8962. After some reading...I found that my problem is the chinnese ULINK (actually...NLINK) that I bought... It says that it is ULINK 2.0 compatible...but it doesn't have serial wire port....and this is the trace port that labview use...¿I'm right?
I will try to set labview to do debug trough TCP...and I'm trying to get a new ULINK.
Thank you for your answer
09-09-2008 09:20 PM
Finally...I realize that it is Keil uVision who gives the error about the SW port.... Once I opened Labview, I select "Show Keil uVision" from Tools\ARM Tools ...then on Keil I open "Options for Target" and on the Debug page I click the button to access the settings of the ULINK Cortex Debuger, finally on the TRACE page of the settings I clear the TRACE ENABLED checkbox. Doing this I have disabled the trace option for Keil (who tries to use SWD port) and I'm able to work without any trouble on Labview.
Regards