To update the IOS on the HP's ProCurve switches you first need to configure an access port so it can communicate to the TFTP Server.
ProCurve Switch 3500yl-48G> enable
ProCurve Switch 3500yl-48G# configure terminal
ProCurve Switch 3500yl-48G(config)# vlan 1
ProCurve Switch 3500yl-48G(vlan-1)# ip address 10.10.10.1/24
ProCurve Switch 3500yl-48G(vlan-1)# exit
Next, you will need to configure the network adapter on your PC or laptop and give it an address that's on the same network as the switch. In this case, I set it to be 10.10.10.2 255.255.255.0.
Then the next step is to connect your machine to the switch; plug a cable from your laptop or PC to the switch. And just to make sure that the data can travel from one end to another, we'll go ahead and try to send a ping to the server:
ProCurve Switch 3500yl-48G# ping 10.10.10.2
If the ping is successful, you need to launch your TFTP Server, then you can go ahead and update the flash by issuing the copy command and pass to it the server address and the filename:
ProCurve Switch 3500yl-48G# copy tftp flash 10.10.10.2 k_12_02.swi
And if you need to update the secondary flash, then issue this command:
ProCurve Switch 3500yl-48G# copy tftp flash 10.10.10.2 k_12_02.swi secondary
I make a habit of using scripts to make the whole process easier to manage and make the update faster so here's the entire script:
no ip add
ip address 10.10.10.1/24
copy tftp flash 10.10.10.2 k_12_02.swi
copy tftp flash 10.10.10.2 k_12_02.swi secondary
Note: If you use this script, make sure that you update the ip address and change the filename.