Notifications
Clear all

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

9 Posts
2 Users
0 Likes
759 Views
(@timfox123)
Member
Joined: 2 years 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
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6910
 
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.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6910
 

@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

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
(@timfox123)
Member
Joined: 2 years 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 2 years ago by Timfox123

   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6910
 

@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.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6910
 

@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.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
(@timfox123)
Member
Joined: 2 years 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)
Member
Joined: 2 years ago
Posts: 8
Topic starter  

Can someone close this please ?  


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6910
 

@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.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote