Open RoundRockBrewer opened 2 years ago
I believe you need to add the machine UID to the config.yaml (/devices) since the server has no way to know whether the device is a C or a Pro/S (which have different firmware).
Makes sense. Where do I find the config.yaml to add the machine UID? And where do I find the machine's UID?
Thank You Bucko!
The machine ID can be found by starting the machine in Service Menu. To do that, press and hold the dial knob on the front and then power on the machine. Press the knob once and the machine ID will show up.
The easiest way to add the machine ID to the config file is through the server's devices page. In the upper right hand corner, under System, pull down and select Devices. Then press the green + Add Device. Select Pico C, add the machine ID, and give it a name you'd like and press Save. This will add to the file. You can also manually add to the config.yaml file in the picobrew_pico directory, but that requires using a linux text editor to add it. Much easier through the server itself.
Good luck.
Well that worked for the update. Showed updating, restarting, showed garbage on the display then went blank. That's all it does now. Is my machine now bricked? Any suggestions?
Hmmm... Haven't seen that occur. Are you able to boot the machine into the Service mode again? If so, you can factory reset in that menu. Exit Service menu and try again.?
I can't see anything but garbage on the screen at startup then the screen goes black and never comes back. Would upload a video, but don't think it will help beyond my explanation. If the control knob/button are still working but I just can't see what it's displaying, can you walk me through it 'in the blind'? Worth a shot I guess, otherwise I think I've probably got an expensive brand-new boat anchor.
Here's how to do the Factory reset, although I'm a little skeptical about this working in the blind as you say.
Power up in the Service menu by pressing and holding the knob and then pressing the power switch. Wait 5-10 seconds. Press the knob 3 times. Scroll knob right 5 times. Press the button. Scroll knob right 1 time. Press the button.
Hope this works.
Well that did something. It makes some crazy loud noises like an arm is rotating for 10-15 seconds then just hums continuously like a pump motor or something is running. Wonder how a firmware update could cause this to happen and what the solution is to fix it?
Maybe the file was corrupted during the download. Let's see if anybody else chimes in here. Otherwise, I may be able to salvage a PCB from one of my units I'm using for parts and send it to you.
You can program the firmware via USB serial if you take the LCD off, if needed.. not near a PC at the moment
I can certainly do that if I have the correct firmware and know where to plug the USB in. I'm in no rush at this point. Just want to get her up and running. Thank you!
Here's how to do the Factory reset, although I'm a little skeptical about this working in the blind as you say.
Power up in the Service menu by pressing and holding the knob and then pressing the power switch. Wait 5-10 seconds. Press the knob 3 times. Scroll knob 5 times. Press the button. Scroll knob 1 time. Press the button.
Hope this works.
I believe scroll knob left vs scroll knob right might end the prompt at a different utility. The pumping and sounds heard sound like there was a test session, rinse or other recirculation utility triggered perhaps?
Wonder how a firmware update could cause this to happen and what the solution is to fix it?
Are you sure you have a Pico C vs Pico S/Pro? I ask cause it has been reported that if the wrong device type firmware is loaded the device has either an oversized or undersized display. Maybe you have the oversized display where you can't really read or see what is intended to be shown due to the bevel of the display board?
Yes. Here's a pic of the back placard.
.
Good point. Scroll right in the directions there. Sorry - should have specified.
Here's how to do the Factory reset, although I'm a little skeptical about this working in the blind as you say.
Power up in the Service menu by pressing and holding the knob and then pressing the power switch. Wait 5-10 seconds. Press the knob 3 times. Scroll knob 5 times. Press the button. Scroll knob 1 time. Press the button.
Hope this works.
I believe scroll knob left vs scroll knob right might end the prompt at a different utility. The pumping and sounds heard sound like there was a test session, rinse or other recirculation utility triggered perhaps?
— Reply to this email directly, view it on GitHubhttps://github.com/chiefwigms/picobrew_pico/issues/354#issuecomment-1165028510, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP337JF3EH45VUBZFI75RODVQT3IVANCNFSM5ZVNX5NA. You are receiving this because you commented.Message ID: @.***>
@RoundRockBrewer figured you knew, just wanted to double check 😉
Going into the service menu Pressing the knob 3 times. Scrolling left 5 times. Pressing the button. Scrolling left 1 time & Pressing the button doesn't do anything.
That is what you meant right?
I will wait for Chief to get me the firmware to flash. Guessing I will need the flash utility too.
Thank you to all for lending a helping hand.
Going into the service menu Pressing the knob 3 times. Scrolling left 5 times. Pressing the button. Scrolling left 1 time & Pressing the button doesn't do anything.
That is what you meant right?
I will wait for Chief to get me the firmware to flash. Guessing I will need the flash utility too.
Thank you to all for lending a helping hand.
All the firmware for Pico devices is here You'd need to get a usb -> serial breakout Then you'd need to use a CC3200 programming tool (you can download one from TI, or there's a open source tool
Attach the programmer to the port (make sure the pins match, labeled on the board) I have circled below when you remove your LCD/rotary knob:
Found a SparkFun USB to Serial, cable and adapter on Amazon I can get tomorrow. Will these work?
And Thanks!
You should only need one of those
I do need the cable right? SparkFun is USB-C(Don't see a USB on Amazon) so I need a converter to accommodate the USB cable.
if you dont have a usb a to usb c cable yeah, but i'm saying, you don't need the $14.99 usb->serial (first item in your cart)
I do have a usb a to usb c cable, but I guess I'm confused about how to connect to the board w/o the USB->serial cable. Looks like 6 pins to connect to the board from your pic. Haven't opened unit up yet.
I get it now. The SparkFun attaches straight to the board? Sorry about that. I see the connector now.
Tada... The black thing on the bottom of the adapter is a header that connects to the pico board
I saw that and it finally sank in. It's ordered. Thanks again!
I've looked at both CC3200 programming tools for the last 3+ hours and am at a complete loss. I have no clue how to use TI's CC3200-SDK tool, which I downloaded. And the other one requires Python which I know absolutely zero about, other than I can download it too but wouldn't know how to use it either. Any step by step instructions on how to use either one of them to flash the Pico C firmware? Thanks again for all of your help!
I've looked at both CC3200 programming tools for the last 3+ hours and am at a complete loss. I have no clue how to use TI's CC3200-SDK tool, which I downloaded. And the other one requires Python which I know absolutely zero about, other than I can download it too but wouldn't know how to use it either. Any step by step instructions on how to use either one of them to flash the Pico C firmware? Thanks again for all of your help!
For the github tool, you'll need python (>3.6) and have to follow the installation/usage for the CC3200 tool that's on github - its really not complicated - just follow the guide they have. Once you have the usb->serial tool, you'll have to figure out what port it's on (you may need FTDI drivers), then you'll just issue this command cc3200tool -p COM# write_file pico_c_0_1_34.bin /sys/mcuimg2.bin
(assuming that you have that pico_c_0_1_34.bin, from the firmware area i linked above, in the working directory that you issue that command from), and COM# is whatever COM port the usb-serial is on (i.e. COM6). I've refreshed the PC i'm on since doing this like 4 years ago, so I don't have the TI SDK installed anymore
Ok. I've got Python installed and the correct bin file downloaded. Will see what happens tomorrow when the programming dongle arrives. I'll let you know if I'm successful. Have a great weekend Sir.
ok - if you're on windows, if you haven't installed the cc3200 tool, do this pip3 install git+https://github.com/mon/cc3200tool.git
(you can do this before you have the usb->serial dongle)
If that completes, you should be able to just run cc3200tool
and see output like below:
Then you can cd
to whatever folder you have the firmware bin file and paste the write command I linked a few posts above and you should be back in business
I have >>> in python and don't know how to get to a directory to use the command you sent. 1st time python user without a clue. Do I have to install pyserial as well?
If you got >>> you ran python already. Run the pip3 command after opening a command prompt. The tool uses python but you don't invoke it directly
How do I get a command prompt in windows to recognize python commands?
You're not typing python commands.. open a windows command prompt for all of this
error - 'pip3' is not a recognized as an internal or external command, operable program or batch file.
Are you on windows? You might need to set the path.. https://pythonpoint.net/how-to-set-python-path-in-windows-10/
Have PIP finally working, now I have to get GIT. Where do I get that from that I/you trust?
Finally got CC3200 programmer installed after getting git. See how tomorrow goes.
Have the pico powered off, make sure you have the pins correct (line up GND w GND), then power on the pico.. the display should be blank then run the command
Once I got the cc3200tool to finally install, I quit for the day. Trying to run the cc3200tool at the command prompt and it fails just like pip did before I installed pip and git. Tried using the tutorial to make system wide and it fails with errors. Tried going to the directory of cc3200tool and trying there, that doesn't work either. Can you help me out with this in layman's terms? I'm an electronics guy, not much of a software guy - as you can tell.
If you just open a command prompt (not python), can you run python
(could be python3
)? Odds are setting your path environment I linked above was temporary or didn't stick
Python, pip, pip3 and git all work. Is there a command string to get the tool system wide? One in the tool instructions fails. Have no clue what path for the tool to add or edit into to the environment. What specific file needs to be in the directory?
Maybe a pic of your system environment paths would be helpful.
Think I figured it out. Found the exe file, so I'm just going to move the bin file there and execute the command when the dongle arrives. Sorry to bug you again.
I ran through this yesterday. Here’s an article on how to modify your path to be included.
https://www.architectryan.com/2018/08/31/how-to-change-environment-variables-on-windows-10/
Make sure python is in the path. Depending on which version of Python you’ve installed the path may be different. Here’s the path for 3.10 - C:\Users\${username}\AppData\Local\Programs\Python\Python310
Also, make sure to close the cmd window and re-open it after saving the path. The new path only takes effect when you open that window again.
Think I figured it out. Found the exe file, so I'm just going to move the bin file there and execute the command when the dongle arrives. Sorry to bug you again.
Yeah dont do that... 🧐
Ok. That worked. Just needed to know how far down the path to enter in the environment. \python\python310 being the extent of it.
So before you post, you'll probably wonder how to figure out the COM port, and you haven't specified, but from the posts, i gather you're on windows. Before plugging in the usb->serial adapter, right click My Computer, and click Manage (or Start->Run->devmgmt.msc). Expand ports:
After plugging the adapter (assuming windows has the drivers, you can get them from sparkfun in the documents section instead of searching FTDI's site), you should see the screen refresh - the new comport is what you specify with the -p option on the command I gave you above. Again, make sure that the firmware bin file is in your current working directory.
Well, I got the programming dongle, the flash was successful, but the display is black on power up. Tried flashing twice with the same result. Here are the pics of the 2 flashes .
Did you power down and take the dongle off and power up ?
Have a brand-new Pico C connected to my Picobrew server. It connects goes to update and gives a 'failed update' error message. I can't proceed past this error. I have looked everywhere online I can think of for a solution, for two days, and can't find anything about it. Can someone please help me out with this?