Notifications
Clear all

[Solved] Can I duplicate my pico to another pico ?

9 Posts
2 Users
0 Likes
260 Views
Timfox123
(@timfox123)
Active Member
Joined: 5 months ago
Posts: 8
Topic starter  

I have pico

I would like to copy one system to another.  It take time to do all the setup and I can lose code.  If I copy the contents of one pico and put it back to another one ( If I loose / fry or sell one ) then I will be back up and running quickly. 

 

 


   
Quote
Topic Tags
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3464
 
Posted by: @timfox123

I have pico

I would like to copy one system to another.  It take time to do all the setup and I can lose code.  If I copy the contents of one pico and put it back to another one ( If I loose / fry or sell one ) then I will be back up and running quickly. 

 

 

@timfox123

What do you want to copy? If you mean a sketch, just upload it to each board, you can do that an infinite number of times. Upload to board 1, unplug board 1 plug in board 2, upload to board 2, repeat endlessly.

"Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon


   
ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3464
 

@timfox123 Or perhaps you are python only, so in that case the simple instructions are at

https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/microcontrollers/micropython/drag-and-drop.adoc

 

"Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon


   
ReplyQuote
Timfox123
(@timfox123)
Active Member
Joined: 5 months ago
Posts: 8
Topic starter  

Thank you both for your great Reponses.    

 

I often have several files

  • secure.py
  • main.py 
  • index.html.

As it is I can download each individually.  If I had 10 files that could take time. 

 

 

This post was modified 3 months ago by Timfox123

   
ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3464
 

@timfox123 Sorry, I really don't understand your problem. If you want the contents of one pico copied to another, either do an upload to the 2nd, or use the drag and drop ability. It will take a finite amount of time to copy x bytes, slower with USB1, faster with USB2, 3, 3.1, 4.

There is no faster way unless you want to put a master copy somewhere on your PC and copy from there.

It looks like you are using python, so in that case just copy the UF2 file to your PC and then copy that to a 2nd PICO.

"Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon


   
ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3464
 

@timfox123 Sorry, I thought the UF2 file was like a pseudo hard drive. My mistake. So the answer to your question basically is just do a Select All files and copy/paste.

"Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon


   
ReplyQuote
Timfox123
(@timfox123)
Active Member
Joined: 5 months ago
Posts: 8
Topic starter  

Thank you very much Ron. 

 

We can close this tissue now.  You are very very nice.  Yes I thought it was a sudo harddrive also.  From Pycharm I can do a "flash" and I am done with all the files.   Pycharm does have a bit more of a learning curve.  

 

Thank you so much 

 

 


   
ReplyQuote
Timfox123
(@timfox123)
Active Member
Joined: 5 months ago
Posts: 8
Topic starter  

Can someone close this please ?  


   
ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3464
 

@timfox123 Only you can mark it Solved. Go to your original post and you will see a Solved link, I can't recall exactly, but I think at's at the bottom of the original post.

"Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon


   
ReplyQuote