I would like to use Analog Devices ARM7 ADuC7026 Microcontroller in LabVIEW Embedded. I have been following the instructions on NI's website. http://zone.ni.com/devzone/cda/tut/p/id/7029. I am in Chapter 2 and am trying to setup a new target and cannot find the Target Editor. The Target Editor is not in the location specified : Tools»Embedded»Target Editor. Is there a new process for setting this up, or is the Target Editor in a new location? I am using LabVIEW 8.6 for ARM.
"NOTE: This portion of the tutorial requires the LabVIEW Microprocessor SDK.If you do not own a copy of the LabVIEW Microprocessor SDK, follow the instructions in this alternative tutorial."
http://zone.ni.com/devzone/cda/tut/p/id/7152 (Programming Additional ARM Microcontrollers with LabVIEW (without the LabVIEW Microprocessor SDK))
Thank you. The tutorial is a bit tricky to follow, as it has the user jumping from chapter to chapter and not in sequential order. Now I am in Chapter 5 http://zone.ni.com/devzone/cda/tut/p/id/7121 in the section "Configure the HSTimer to Periodically Call the RTA Functions". I'm not sure if or where I should insert the lines of code after the "OS_TINIT() function". The next line indicates that I should have some code "HSTIM_CTRL |= (1 << 0)" which I do not. Attached is a copy of the RTX_Conf.c file that I'm working on. Am I on the right track? Is this something that needs to be added?
You are joking a little (high-speed timer on ADI's ADuC702x .
However, I saw you used templates from the right Keil folders. Also testing your new target doesn't hurt much if you'd try in simulator first.
Do not forget to include "LVConfig.h" where all tasks are declared with user provided stack (LabVIEW needs at least one for the main task - perhaps you need that memory).
Remember that your are writing a template. RTX_Config is copied along with all Template files in your Application folder when you start building from LabVIEW. There you can debug/modify it and then update the Template so the changes become permanent.
I use LabView2011,but I can not tool>>ARM Module>>Target Editor,where is it?thanks.
it is in an other module of LabVIEW, microprocessor SDK.
If you don't have that (and you have offcourse LV for ARM), you must copy/paste and modify the templates yourself.
they are in the Labview/targets folder. (keil/realview/generic)
you must then replace the peripheral library with the one for your microcontroller.
Also there are libraries from KEIL (flashfs ,tcpnet etc.) which need some functions if you want them to work.
just look at an example template that is already there.
look at he ARM_<peripheral> files which LabVIEW uses for using your ARM's peripherals.
It's not easy but if you understand the principle of a LV for ARM target, it will become easier.
I've made two templates/targets for LV for ARM.