LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming Atmel 8051 in LABVIEW

Solved!
Go to solution

HI

 

My application requires to programme atmel microcontroller at89s8252 which has inbuilt RS232, spi interface for the data acquisition from wind and tilt sensor.

 

How can i programme Microcontrollers in genral in labview?

 

Any help will greatly be appricieated.

 

Jay Ravi

e-mail:raviraj.jr@gmail.com

0 Kudos
Message 1 of 9
(9,772 Views)
Solution
Accepted by topic author Jay Ravii

1. If your mcu has a bootloader, you can send the data through UART and program the chip.

2. The program that you currently use to program the chip, probably have dlls that you can use (that seems the difficult way for me)

3. AVR Studio (for AVR)  has support for command line programming. Maydbe yours, has something similar. (this is the easy way, i think).

 

I tried something similar for a few days, but did not had the time to proceed.

Keep us informed, if you manage to accomplise your task.

Message 2 of 9
(9,764 Views)
How you did that ?
0 Kudos
Message 3 of 9
(9,713 Views)

I'm very sorry,i'm new to this group and clicked something else and i appeard as if its solved, by the way i'm still working on diff methods to programme MCU usying labiew.

 

I'll revert back soon,

i'm sorry..

0 Kudos
Message 4 of 9
(9,677 Views)

HI

 

My application requires to programme atmel microcontroller at89s8252 which has inbuilt RS232, spi interface for the data acquisition from wind and tilt sensor.

 

How can i programme Microcontrollers in genral in labview?

 

Any help will greatly be appricieated.

 

Jay Ravi

e-mail:raviraj.jr@gmail.com

0 Kudos
Message 5 of 9
(9,676 Views)
Hi ,
You can programme 32 bit microcontrollers using microprocessor SDK module of LabVIEW . Please refer to the following link for more information .
http://sine.ni.com/nips/cds/view/p/lang/en/nid/201953

PS: WE support programming of LabVIEW Arm Microcontrollers also
Some more information on programming microcontrollers in LabVIEW can be found in following link -
http://zone.ni.com/devzone/cda/tut/p/id/7066

Please get back to us if u need some other info -
Thanks
Pranchal Srivastava,
NI India

0 Kudos
Message 6 of 9
(9,614 Views)

Thanks for your answer, any licensed user of labview will have this embedded module installed or need to buy seperately once again,I got new dvd's of 8.6 couple of days back, is this feature exists in that.

 

I'm not keen on ARM right now, simple 8051 is all i require for my application, is it possible to programme the same in Embeddd module.

 

Pls help me in this regard.

 

0 Kudos
Message 7 of 9
(9,595 Views)
Hi ,
No you dont get the SDK module with the LABVIEW Evaluation DVD . The best way to program the 8051 will be as pointed out by a user before is
using serial communication between 8051's UART and the computer serial port. It is fairly straightforward to implement a simple ASCII command set. You won't find a driver as such, since your application and command set will be unique. In LabVIEW you send the ASCII commmand to the serial port and read the expected answer.

LabVIEW mainly supports 32 bit microprocessors with SCK modules . For 8 bit this is a good way . Hope that helps !!
Thanks and Regards ,
Pranchal Srivastava,
AE ,
NI India
0 Kudos
Message 8 of 9
(9,559 Views)

Hello,

 

 I have almost the same problem as Jay,

 

I downloaded the last version of labview, in evaluation mode for the moment, but really interessted ! I have the licence for Keil,

The download is just here :

https://lumen.ni.com/nicif/us/ekitlvembdarm/content.xhtml

 

but I have to program an Atmel AT91SAM7A3 ARM7 32bits, and I read a lot of page in the NI web site like :

http://zone.ni.com/devzone/cda/tut/p/id/7152#toc2

http://zone.ni.com/devzone/cda/tut/p/id/6994

 

but the version of labview change and I don't succeded to do that .

 

Someone can help me ? 

 

Thanks for you help !

Yannick

uC : Atmel ARM7 AT91SAM7A3
LV embedded module for ARM 2009, eval mode
KEIL 3.85 licenced
OS : windows 7
0 Kudos
Message 9 of 9
(8,291 Views)