From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Flash ADUC7021using serial port

I need to write a .Hex file to an ADUC7121, but I need to do it using the serial port connected directly to pin 32 & 33.

Do you have an Idea?

 

thank you guys

0 Kudos
Message 1 of 7
(2,859 Views)
Sorry the part number is ADUC7021 (Can be ADUC702x)
0 Kudos
Message 2 of 7
(2,853 Views)

Yes you can do it. BUT you can not connect the RS232 signals directly to pin 32, and 33. Doing this will fry your circuit. You need a level converter. This kind of circuit are very common. Take a look at this http://www.maxim-ic.com/appnotes.cfm/an_pk/836.

You also need a common ground. So 3 signals are needed. TXD, RXD, and ground. Then things are working you may also implement handshake signals. You can find the pin configuration for the PC rs232 port on the internett. 

PS  I guess, in a vendor provided  development system they have included the level converter  



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 3 of 7
(2,833 Views)

There is no problem with my circuitry. Our application allready has all fisical and electrical requeriments.

My question is about a VI to to put a .Hex file into 62K memory.

 

thank you

0 Kudos
Message 4 of 7
(2,801 Views)
Have you tried the VISA Write From File? If you have problems with that, then just do a file read and pass the result to the normal VISA Write. I think a Read From Text File will work as long as you uncheck the Convert EOL option.
0 Kudos
Message 5 of 7
(2,796 Views)

 

Sorry Dennis but I don't understand all you are trying to tell me. (I don't have to munch experience in LabView)

 

Can you do a simple VI?

thanks

0 Kudos
Message 6 of 7
(2,792 Views)

First you must try to be more precise then asking questions. Your question was " need to write a .Hex file to an ADUC7121, but I need to do it using the serial port connected directly to pin 32 & 33. Do you have an Idea?" And I answered that question. If you ask the wrong question you will always get the wrong answerSmiley Very Happy

 

You need to implement this protocol http://www.analog.com/static/imported-files/application_notes/AN-724.pdf in labview.

The BM pin must be pulled low through an external 1kOhm resistor. Should not be to hard everything is well documented. Configuring a serial Visa session is very simple. Take a look at the labview RS232 examples. Good luck



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 7 of 7
(2,782 Views)