Thanks for the hint with the hint
I added the 3.3V Hint in the the new Web Gui. The new Webgui already states, that the box should be connected to power.
The other hint can be added by you in the github repo of the wiki page.
Thanks for the hint with the hint
I added the 3.3V Hint in the the new Web Gui. The new Webgui already states, that the box should be connected to power.
The other hint can be added by you in the github repo of the wiki page.
Hi guys,
stupid questions, but where is VCC located on the board?
have a look into the wiki: Debug port | Toniebox Hacking but vcc is CC3200 releated?
this here is about ESP32ā¦ another version of the box
I managed to flash the device. Still confused about the 3.3v and 5v as NO power input is required by the UART controller ā¦
Itās the first time I use uart. As described I
Tony box is powered up, then I connected the UART to the pins on the tony box and then I open the Gnome-terminal and run.
screen /dev/ttyUSB0 115200
I only get an empty black screen. (which seems not able to be closed by CTRL+C)
What should I do?
The Problems was:
what is the problem when i enter
root@teddycloud:/teddycloud# teddycloud --esp32-extract data/firmware/ESP32_<mac>.bin --destination certs/client
and the feedback is
bash: mac: No such file or directory
[edit]
If I replace with something other. I get an output but this:
root@teddycloud:/teddycloud# teddycloud --esp32-extract data/firmware/ESP32_test.bin --destination certs/client
TeddyCloud v0.5.2 (454631f) - 2024-05-13 12:12:26 +0000 ubuntu linux-x86_64(64)
[options] specified 'esp32_extract' as 'data/firmware/ESP32_test.bin'
[options] specified 'destination' as 'certs/client'
INFO |settings.c:0770:settings_load_ovl()| Load settings from /teddycloud/config/config.overlay.ini
INFO |settings.c:0770:settings_load_ovl()| Load settings from /teddycloud/config/config.ini
INFO |settings.c:0770:settings_load_ovl()| Load settings from /teddycloud/config/config.overlay.ini
ERROR|esp32.c:0765:esp32_fat_extract()| File does not exist or is too small 'data/firmware/ESP32_test.bin'
I assume int the how-to there is missing a part where you find the mac address.
the file should have the macaddress in the name if you are using the new web gui to do that.
the macaddress is also on the bottom cover of your box.
that also not worked. I tried capital letter and not capital letters.
have you tried to flash your box with the new web gui? Maybe this would help you.
in the process you will get a link to download the unpatched firmware which you can then use for extracting the certificates
OK. It seems the ānewbie documentationā lacks a lot of step.
Please add a hint or a link with information how to change the volumes that way that the files like the Firmware are accessible.
Please add a hint, that you have to connect RX to TX and TX to RX.
When teddycloud is running, letās test the UART connection, to do this, connect your UART to the USB port of your computer and to the contacts on the Toniebox.
ā¦
Here you see the command and the output after starting the Box in normal mode.
Is easy to missunderstand. The importand part should came earlyer in the Text. I propose to tell the basic like:
Now exit the serialmonitor (ctrl+a, ), switch to the web interface and click on āRead ESPā.
Only works after you activated https and use google chrome or Edge.
ā Please add this information
I was a bit surprised, that you have to do this over the website and could not do it also from the CLI. At the end I assumed this is not a required step, because I missed the Read ESP button, and wondered why I was not able to run the extraction process.
At the end:
ā Please decide If you use the CLI for any operation. (Iām a fan of GUIs but the webgui seems not finished now. AND in my case I had only firefox on my Linux).
To follow this Guide, and Iām a Newbie in using UART, as it is every sessions and researched calculated took me in total 6h to complete.
Maybe start reading and it overread half of the documentation, like swapping rx/tx itās even mentioned in the FAQ at the end
As well read the official documentation, as mentioned in the main post
The goal for ESP32 is, that only the new WebGUI is needed for flashing the Toniebox.
The current develop branch is a first step towards this. From Toniebox perspective this already works completely. From Teddycloud perspective, the private certificates for accessing Boxine cloud are missing in that process. So only the certificate extraction from the original dump is currently still a manual step.
This guide here was provided by a user and was and is helpful for many people. Itās now quite a while ago since it was first published and there were recently some changes in the new WebGui which are not yet reflected here (they might be if the changes are officially released).
Besides that, you can do the whole process also only using CLI, have a look into the wiki and take the esp32 legacy path.
If you want to use Firefox for the process, then convince the mozilla foundation to support WebSerial. Thatās the reason currently only Chromium based browsers are supported: only they support WebSerial which is necessary to do the process.
All in all, I will no longer update the guide, the official documentation is now superior to the guide, all open questions are answered there.
I think you massively underestimate your manual if you really believe that https://tonies-wiki.revvox.de is better than your manual.
There is nothing in the wiki that comes close to your step-by-step instructions. As you say in the title, itās a guide for newbies. Iām a newbie - Iāve never soldered before, never had anything to do with UART - Iām very grateful to you for the instructions - it was an incredible experience of success. The current documentation couldnāt even begin to help me, but your instructions did. But there are also lots of comments below that fill in the missing information. Because Iām more of a newbie than you probably intended to address with your instructions.
This guide is indeed the best resource for beginners @Wurst420. And I too am guilty of not reading everything at fist
Iām having an issue reading the certificates from the esp32 toniebox.
Using the screen command with a baudrate of 115200 without the jumper provides the output shown in the original post. With a baudrate of 921600, the part that was readable before is now gibberish, but I can see some of the logs of it connecting to my network. With the jumper and a baudrate of 115200, it shows that it goes into download mode, but again with a baudrate of 921600, it turns to gibberish. When using either the webui or the esp32 flashing tool, it seems as if it does not recognize the esp32 chip, and waits until it times out and gives an error. Hopefully someone knows what I am doing wrong, and can help me.
Thanks for the awesome research on the toniebox!
Wasnāt sure as to which topic to post this in, as there are many related ones with similar problems and I, being a new user, cannot create a topic myself, so I decided to post it here.
(oops, didnāt finish the tutorial when I wrote this. oh well lol)
There is no use for screen and the 921600 baudrate.
Itās just for the esptool to pull the flash, not for screen showing outputs.
I realize that, I was just providing that info in case it helps debug the issue at all.