Compare commits
202 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
372f8e3565 | ||
|
|
3d3799d414 | ||
|
|
11f3eadfc9 | ||
|
|
b331032f30 | ||
|
|
25aee6b661 | ||
|
|
c1dd88ba53 | ||
|
|
780f1f35ca | ||
|
|
76099406ef | ||
|
|
e66fe461d2 | ||
|
|
5d358feee9 | ||
|
|
09ff363ae5 | ||
|
|
e92a81c229 | ||
|
|
138000f4a5 | ||
|
|
8faeb4e587 | ||
|
|
b370fcfa6f | ||
|
|
e4aab8aa91 | ||
|
|
c066ec8ae5 | ||
|
|
026e5cc9c5 | ||
|
|
666c250630 | ||
|
|
d73ad0d11c | ||
|
|
0d03650726 | ||
|
|
d47c28b760 | ||
|
|
e2c5e51fe1 | ||
|
|
9391158399 | ||
|
|
a39185315d | ||
|
|
a59d008d07 | ||
|
|
d68eb95f50 | ||
|
|
b6ee4207dd | ||
|
|
be57c4f58a | ||
|
|
7b41e2fcca | ||
|
|
1e19fc80f4 | ||
|
|
add65ead9c | ||
|
|
0b2311e001 | ||
|
|
8f395e2294 | ||
|
|
9832b97248 | ||
|
|
d35b2bf115 | ||
|
|
dd340d3a2b | ||
|
|
8eacf50a5b | ||
|
|
c9a8794fb9 | ||
|
|
23ce11a68f | ||
|
|
e6d1249c91 | ||
|
|
f36e78f664 | ||
|
|
ff65e6437b | ||
|
|
85decdc15b | ||
|
|
b40a21470b | ||
|
|
9b0a071e9a | ||
|
|
1f6dfe5da5 | ||
|
|
4441a5ca93 | ||
|
|
1cebcdc42b | ||
|
|
6097216b24 | ||
|
|
164c402d1c | ||
|
|
db517a13e8 | ||
|
|
237a1b2dea | ||
|
|
b6c61cfb52 | ||
|
|
1cc4153315 | ||
|
|
96d368b91a | ||
|
|
93ef2ea2f1 | ||
|
|
a48a5ddf84 | ||
|
|
a81511ceb9 | ||
|
|
6cf245f33e | ||
|
|
099d6b8aee | ||
|
|
021b8e2fc8 | ||
|
|
c70689df7d | ||
|
|
43b7947645 | ||
|
|
12e8d2a93d | ||
|
|
c55b91af6a | ||
|
|
6d23617670 | ||
|
|
4c2fb11d32 | ||
|
|
2fd06887e8 | ||
|
|
54a8aa7ac6 | ||
|
|
968e22c7dc | ||
|
|
9ea92a3c17 | ||
|
|
61f991e423 | ||
|
|
f196c5f1c9 | ||
|
|
60abcb0d8b | ||
|
|
051417d515 | ||
|
|
2c0b14edd4 | ||
|
|
34ae57ee58 | ||
|
|
aa4485d1d9 | ||
|
|
479b9fc670 | ||
|
|
5444c3f8de | ||
|
|
450ce17935 | ||
|
|
753310c212 | ||
|
|
954770373c | ||
|
|
d2b05570fc | ||
|
|
b3d16df69a | ||
|
|
30d8490128 | ||
|
|
05c5e04bed | ||
|
|
18a2c0a9ec | ||
|
|
88caa3f3c7 | ||
|
|
316de7cb1e | ||
|
|
3b4852f8fb | ||
|
|
b7ad1ae0cd | ||
|
|
9491262e87 | ||
|
|
9c86cd228c | ||
|
|
dd5d2c955d | ||
|
|
f28ba93f0e | ||
|
|
e6129c3456 | ||
|
|
b3507218ad | ||
|
|
7518a2fe7d | ||
|
|
76f2278516 | ||
|
|
d59ec10c4e | ||
|
|
64d5e8b1af | ||
|
|
441ac7f83a | ||
|
|
71a09c0014 | ||
|
|
4dc1a19230 | ||
|
|
76881e6f50 | ||
|
|
93c87fd91d | ||
|
|
abbcd05117 | ||
|
|
cf18863958 | ||
|
|
6af4494442 | ||
|
|
b4384be3ac | ||
|
|
24f6da9b50 | ||
|
|
37d03bdb17 | ||
|
|
1207f65ba9 | ||
|
|
7cff1cdf3b | ||
|
|
05b43dfa1c | ||
|
|
5bb85a4a32 | ||
|
|
2bcebd473e | ||
|
|
e422fe28ae | ||
|
|
341d7b1d5a | ||
|
|
c6c1c07bfb | ||
|
|
ecd59462d0 | ||
|
|
a7a97e604f | ||
|
|
5ca0d6e670 | ||
|
|
1e420c8b01 | ||
|
|
22aba0855d | ||
|
|
ed8e5232b6 | ||
|
|
42ebd37bc8 | ||
|
|
22ac8d797b | ||
|
|
7c45b67967 | ||
|
|
2d8d1ad8da | ||
|
|
a32e245789 | ||
|
|
d2dacf990c | ||
|
|
a01e79aa64 | ||
|
|
cd5d9df5ed | ||
|
|
7dbbdf348c | ||
|
|
a13f501dfd | ||
|
|
6bb56c28ba | ||
|
|
8d59b072ef | ||
|
|
fd700aecb9 | ||
|
|
ef5ba8b650 | ||
|
|
3b0fc9c6f8 | ||
|
|
45614ff397 | ||
|
|
7f6a862e50 | ||
|
|
92ce6128ee | ||
|
|
50dc8689cc | ||
|
|
55cc5fb681 | ||
|
|
ea8dac25f8 | ||
|
|
c5397b843f | ||
|
|
f90d33f350 | ||
|
|
ac7d72d255 | ||
|
|
f45fd087ab | ||
|
|
4814ae1393 | ||
|
|
643120d9ca | ||
|
|
c723464987 | ||
|
|
a5cd898ee5 | ||
|
|
376724636d | ||
|
|
1a671dfbdd | ||
|
|
65e804e54e | ||
|
|
76721d5f0d | ||
|
|
3287ee9d78 | ||
|
|
4ec62f8c8f | ||
|
|
a2aa482bcc | ||
|
|
a82f0ef87e | ||
|
|
5e02819b29 | ||
|
|
1adc136367 | ||
|
|
38dbb05bc4 | ||
|
|
799bc3991b | ||
|
|
16c5b097d3 | ||
|
|
7eb50e6d8a | ||
|
|
dbba4f999a | ||
|
|
1c2b763d8b | ||
|
|
d69293342d | ||
|
|
b8c822696b | ||
|
|
6c17b4ab79 | ||
|
|
a78e1cd52a | ||
|
|
2f8eeaa33a | ||
|
|
4395a3402c | ||
|
|
c6f663282a | ||
|
|
f3723a0326 | ||
|
|
3d33a6ea57 | ||
|
|
c851554d3e | ||
|
|
7dbc01bb0d | ||
|
|
c2ce1372fe | ||
|
|
add8993da5 | ||
|
|
330c4868c2 | ||
|
|
f3d0bc3965 | ||
|
|
172eea4909 | ||
|
|
bbb724e8f0 | ||
|
|
ec6140317c | ||
|
|
2b4cf54a61 | ||
|
|
7f89b8a369 | ||
|
|
0b3816aee6 | ||
|
|
ffa4069b3c | ||
|
|
9932ce5732 | ||
|
|
278663bd0e | ||
|
|
0911e2943d | ||
|
|
81abd5eeac | ||
|
|
07d35cadd9 | ||
|
|
153772cb68 | ||
|
|
74d144eef8 |
3074
Development Resources/force_blank_flash.hex
Normal file
3074
Development Resources/force_blank_flash.hex
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:rolling
|
||||
FROM ubuntu:20.04
|
||||
LABEL maintainer="Ben V. Brown <ralim@ralimtek.com>"
|
||||
|
||||
WORKDIR /build
|
||||
@@ -10,12 +10,13 @@ RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
make \
|
||||
bzip2 \
|
||||
git \
|
||||
python3 \
|
||||
wget && \
|
||||
apt-get clean && \
|
||||
wget -qO- https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 | tar -xj
|
||||
apt-get clean
|
||||
RUN wget -qO- https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 | tar -xj
|
||||
|
||||
# Add compiler to the path
|
||||
ENV PATH "/build/gcc-arm-none-eabi-9-2019-q4-major/bin:$PATH"
|
||||
ENV PATH "/build/gcc-arm-none-eabi-9-2020-q2-update/bin:$PATH"
|
||||
COPY . /build/source
|
||||
COPY ./ci /build/ci
|
||||
|
||||
90
README.md
90
README.md
@@ -1,72 +1,42 @@
|
||||
[](https://app.codeship.com/projects/379118)
|
||||

|
||||
|
||||
# TS100 & TS80 Firmware
|
||||
# Flexible Soldering iron control Firmware
|
||||
|
||||
*Please Note, this repo will likely be renaming soon to unire - See issue #639. Old links willcontinue to work, and should redirect. So dont panic :) This is just to better account for the newer soldeing irons being added.*
|
||||
|
||||
This firmware is a fresh start for these soldering irons. Designed from the ground up as fully featured control software that leaves nothing to be desired.
|
||||
It originally started back at the end of 2016 and has since seen vast improvements, especially some very smart work by community members.
|
||||
Originally concieved as an alternative firmware for the TS100, this firmware has evolved into a complex soldering iron control firmware.
|
||||
|
||||
The firmware supports everything you would expect in the soldering iron and has the same features as the stock firmware with some nice extras packed in.
|
||||
There is a comprehensive menu system in the iron that allows for adjustment of all the settings on the unit, and support for various languages is added by the community.
|
||||
The firmware implements all of the standard features of a "smart" soldering iron, with lots of little extras and tweaks.
|
||||
I highly reccomend reading the installation guide fully when installing on your iron.
|
||||
|
||||
On the TS100 there are settings to allow you to specify a cutoff voltage for different lithium-ion battery packs to protect your power source.
|
||||
For the TS80 these are removed and replaced with the selection of 18W or 24W depending on what your QC power bank can support.
|
||||
Otherwise, both systems work very similar and should support all the features.
|
||||
For soldering irons that are designed to be powered by "smart" power sources (QC and PD), the firmware supports settings around the negotiated power and voltage.
|
||||
For soldering irons that are designed to be powered by batteries (TS100), settings for a cutoff voltage for battery protection are supported.
|
||||
|
||||
There are 25 languages currently supported as of present. When downloading the firmware for your soldering iron take node of the language code in the file name.
|
||||
|
||||
This project is considered feature complete for use as a soldering iron, *so please suggest any feature improvements you would like!*
|
||||
|
||||
*This firmware does **NOT** support the USB port while running for changing settings. This is done through the onscreen menu only. Logos are edited using the tool or python script and uploaded in DFU mode.*
|
||||
|
||||
## Core Features
|
||||
## Key Features
|
||||
|
||||
* PID iron temperature control
|
||||
* PID style iron temperature control
|
||||
* Automatic sleep with selectable sensitivity
|
||||
* Motion wake support
|
||||
* Settings menu on the unit
|
||||
* All settings exposed in intuitive menu
|
||||
* (TS100) Set a voltage lower limit for Lithium batteries so you don't kill your battery pack
|
||||
* (TS80 ) Set 18W or 24W settings for your power bank
|
||||
* All settings saved to flash when you exit the menu
|
||||
* (TS80) Set 18W or 24W settings for your power bank
|
||||
* Improved readability Fonts
|
||||
* Use hardware features to improve reliability
|
||||
* Can disable movement detection if desired
|
||||
* Full tip profile calibration
|
||||
* Boost mode lets you temporarily change the temperature when soldering (ie raise the temperature for short periods of time)
|
||||
* Boost mode lets you temporarily change the temperature when soldering (i.e. raise the temperature for short periods of time)
|
||||
* (TS100) Battery charge level indicator if power source set to a lipo cell count
|
||||
* (TS80) Power bank operating voltage is displayed
|
||||
* Custom boot up logo support
|
||||
* [Custom boot up logo support](upgrading.md)
|
||||
* Automatic LCD rotation based on the orientation
|
||||
* Supports both the version 1 and version 2 hardware (different accelerometers)
|
||||
|
||||
# Upgrading your iron
|
||||
|
||||
This is completely safe, but if it goes wrong just put the .hex file from the official website onto the unit and you're back to the old firmware. Downloads for the hex files to flash are available on the [releases page.](https://github.com/Ralim/ts100/releases) The file you want is called *(MODEL)_EN.hex* unless you want the translations, they are (MODEL)_*language short name*.hex. Where (MODEL) is either TS100 or TS80.
|
||||
|
||||
Officially the bootloader on the iron only works under Windows. However, users have reported that it does work under Mac, and can be made to work under Linux *sometimes*. Details over on the [wiki page](https://github.com/Ralim/ts100/wiki/Upgrading-Firmware).
|
||||
|
||||
```
|
||||
1. Hold the button closest to the tip, and plug in the USB to the computer.
|
||||
2. The unit will appear as a USB drive.
|
||||
3. Drag the .hex file onto the USB drive.
|
||||
4. The unit will disconnect and reconnect.
|
||||
5. The filename will have changed to end in .RDY or .ERR
|
||||
6. If it ends with .RDY you're done! Otherwise, something went wrong.
|
||||
7. If it didn't work the first time, try copying the file again without disconnecting the iron, often it will work on the second shot.
|
||||
8. Disconnect the USB and power up the iron. You're good to go.
|
||||
```
|
||||
|
||||
|
||||
For the more adventurous out there, you can also load this firmware onto the device using an SWD programmer.
|
||||
On the bottom of the MCU riser PCB, there are 4 pads for programming.
|
||||
There is a complete device flash backup included in this repository. (Note this includes the bootloader, so will need an SWD programmer to load onto the unit).
|
||||
For the TS80 the SWD pins are used for the QC negotiation, so you can actually connect to the SWD power via the USB connector.
|
||||
|
||||
## Setting a custom bootup image
|
||||
|
||||
This firmware uses a different method of updating the bootup image.
|
||||
This removes the need for emulating a USB drive on the iron just to allow for a bootup image to be setup.
|
||||
There are further instructions on the [wiki](https://github.com/Ralim/ts100/wiki/Logo-Editor).
|
||||
Instructions are kept on the wiki so that users can update the information if they find extra helpful information.
|
||||
|
||||
# Menu System
|
||||
|
||||
This new firmware uses a new menu system to allow access to the settings on the device.
|
||||
@@ -77,32 +47,34 @@ When on the main screen, the unit shows prompts for the two most common operatio
|
||||
* Holding the button near the tip will enter soldering temperature adjust mode (This is the same as the one in the soldering menu, just to let you edit before heating up)
|
||||
* Holding the button near the USB end will show the firmware version details
|
||||
|
||||
More details are over in the [Menu information.](menu.md)
|
||||
Detailed operation details are over in the [Menu information.](menu.md)
|
||||
|
||||
## Thanks
|
||||
|
||||
|
||||
If you love this firmware and want to continue my caffeine addiction, you can do so here (or email me for other options) : https://paypal.me/RalimTek
|
||||
If you love this firmware and want to continue my caffeine addiction, you can do so [here](https://paypal.me/RalimTek) (or email me for other options).
|
||||
I also want to give a shout out to all of the [Fantastic Contributors](https://github.com/Ralim/ts100/graphs/contributors).
|
||||
|
||||
Especially to the following users, who have helped in various ways that are massively appreciated:
|
||||
|
||||
* [dhiltonp](https://github.com/dhiltonp)
|
||||
* [Dhiltonp](https://github.com/dhiltonp)
|
||||
* [Mrkvozrout](https://github.com/Mrkvozrout)
|
||||
* [jonnieZG](https://github.com/jonnieZG)
|
||||
* [federck](https://github.com/federck)
|
||||
* [jvitkauskas](https://github.com/jvitkauskas)
|
||||
* [doegox](https://github.com/doegox)
|
||||
* [perillamint](https://github.com/perillamint)
|
||||
|
||||
* [JonnieZG](https://github.com/jonnieZG)
|
||||
* [Federck](https://github.com/federck)
|
||||
* [Jvitkauskas](https://github.com/jvitkauskas)
|
||||
* [Doegox](https://github.com/doegox)
|
||||
* [Perillamint](https://github.com/perillamint)
|
||||
* [GeminiServer](https://github.com/GeminiServer)
|
||||
* [PixelPirate](https://github.com/PixelPirate)
|
||||
* [Firebie](https://github.com/Firebie)
|
||||
* [Agatti](https://github.com/agatti)
|
||||
* [Discip](https://github.com/discip)
|
||||
|
||||
## Licence
|
||||
|
||||
The code in this repository that is based on the STM tools is under a BSD-like licence.
|
||||
The code created by the community is GNU GPLv3. Unless noted elsewhere.
|
||||
The FreeRToS is under its own licence.
|
||||
Other components such as FreeRTOS have their own licence.
|
||||
|
||||
## Commercial Use
|
||||
|
||||
This software is provided as-is, so I cannot provide any commercial support for the firmware. However, you are more than welcome to distribute links to the firmware, or provide irons with this software on them.
|
||||
Please do not re-host the files, but rather link to this page, so that there are no old versions of the firmware scattered around. If this firmware does make you money, it would be nice to receive a donation, however, there is no enforcement.
|
||||
Please do not re-host the files, but rather link to this page, so that there are no old versions of the firmware scattered around.
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
"languageLocalName": "Български",
|
||||
"cyrillicGlyphs": true,
|
||||
"messages": {
|
||||
"SettingsCalibrationDone": "Calibration done!",
|
||||
"SettingsCalibrationWarning": "Уверете се, че човката на поялника е със стайна температура преди да продължите!",
|
||||
"SettingsCalibrationDone": "Калибрацията завършена!",
|
||||
"SettingsCalibrationWarning": "Уверете се, че върха на поялника е със стайна температура преди да продължите!",
|
||||
"SettingsResetWarning": "Сигурни ли сте, че искате да върнете фабричните настройки?",
|
||||
"UVLOWarningString": "Ниско V!",
|
||||
"UVLOWarningString": "Ниско DC Напрежение",
|
||||
"UndervoltageString": "Ниско Напрежение",
|
||||
"InputVoltageString": "Входно V: ",
|
||||
"WarningTipTempString": "Темп.: ",
|
||||
@@ -17,11 +17,13 @@
|
||||
"WarningAdvancedString": "ВНИМАНИЕ! ТОПЛО!",
|
||||
"SleepingTipAdvancedString": "Връх:",
|
||||
"IdleTipString": "Връх:",
|
||||
"IdleSetString": " Set:",
|
||||
"TipDisconnectedString": "ВРЪХ ЛОША ВРЪЗКА",
|
||||
"IdleSetString": " Настройка:",
|
||||
"TipDisconnectedString": "ПРЕКЪСНАТ ВРЪХ",
|
||||
"SolderingAdvancedPowerPrompt": "Захранване: ",
|
||||
"OffString": "Off",
|
||||
"ResetOKMessage": "Reset OK"
|
||||
"OffString": "Изкл.",
|
||||
"ResetOKMessage": "Нулиране завършено",
|
||||
"YourGainMessage": "Усилване:",
|
||||
"SettingsResetMessage": "Настройките бяха\nнулирани!"
|
||||
},
|
||||
"characters": {
|
||||
"SettingRightChar": "R",
|
||||
@@ -184,7 +186,7 @@
|
||||
"Калибриране",
|
||||
"напрежение?"
|
||||
],
|
||||
"desc": "Калибриране на входното напрежение (VIN). Задръжте бутонa за изход"
|
||||
"desc": "Калибриране на входното напрежение. Задръжте бутонa за изход"
|
||||
},
|
||||
"AdvancedSoldering": {
|
||||
"text": "",
|
||||
@@ -203,76 +205,92 @@
|
||||
"desc": "Скорост на движение на този текст"
|
||||
},
|
||||
"TipModel": {
|
||||
"text": "TIPMO",
|
||||
"text": "",
|
||||
"text2": [
|
||||
"Tip",
|
||||
"Model"
|
||||
"Модел",
|
||||
"на връх"
|
||||
],
|
||||
"desc": "Tip Model selection"
|
||||
"desc": "Избор на модел на връх"
|
||||
},
|
||||
"SimpleCalibrationMode": {
|
||||
"text": "SMPCAL",
|
||||
"text": "",
|
||||
"text2": [
|
||||
"Simple",
|
||||
"Calibration"
|
||||
"Бърза",
|
||||
"калибрация"
|
||||
],
|
||||
"desc": "Simple Calibration using Hot water"
|
||||
"desc": "Бърза калибрация с използване на гореща вода"
|
||||
},
|
||||
"AdvancedCalibrationMode": {
|
||||
"text": "ADVCAL",
|
||||
"text": "",
|
||||
"text2": [
|
||||
"Advanced",
|
||||
"Calibration"
|
||||
"Прецизна",
|
||||
"калибрация"
|
||||
],
|
||||
"desc": "Advanced calibration using thermocouple on the tip"
|
||||
"desc": "Прецизна калибрация с използване на термо-двойка на върха на поялника"
|
||||
},
|
||||
"PowerInput": {
|
||||
"text": "PWRW",
|
||||
"text": "",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Wattage"
|
||||
"Мощност на",
|
||||
"захранване"
|
||||
],
|
||||
"desc": "Power Wattage of the power adapter used"
|
||||
"desc": "Мощност на избраното захранване"
|
||||
},
|
||||
"PowerLimitEnable": {
|
||||
"text": "PLIMEN",
|
||||
"text": "",
|
||||
"text2": [
|
||||
"P Limit",
|
||||
"Enable"
|
||||
"Вкл. лимит",
|
||||
"на мощност?"
|
||||
],
|
||||
"desc": "Enable power limit"
|
||||
"desc": "Включване на лимит на мощност"
|
||||
},
|
||||
"PowerLimit": {
|
||||
"text": "PLIM",
|
||||
"text": "",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Limit"
|
||||
"Лимит на",
|
||||
"мощност"
|
||||
],
|
||||
"desc": "Maximum power the iron can use <Watts>"
|
||||
"desc": "Максимална мощност на поялника <W>"
|
||||
},
|
||||
"ReverseButtonTempChange": {
|
||||
"text": "RVTCHG",
|
||||
"text": "",
|
||||
"text2": [
|
||||
"Key +-",
|
||||
"reverse?"
|
||||
"Размяна",
|
||||
"бутони +-?"
|
||||
],
|
||||
"desc": "Reverse the tip temperature change buttons plus minus assignment."
|
||||
"desc": "Обръщане на бутоните \"+\" и \"-\" за промяна на температурата на върха на поялника"
|
||||
},
|
||||
"TempChangeShortStep": {
|
||||
"text": "TCHGST",
|
||||
"text": "",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"short?"
|
||||
"Промяна T",
|
||||
"бързо?"
|
||||
],
|
||||
"desc": "Temperature change steps on short button press!"
|
||||
"desc": "Промяна на температура при бързо натискане на бутон!"
|
||||
},
|
||||
"TempChangeLongStep": {
|
||||
"text": "TCHGLT",
|
||||
"text": "",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"long?"
|
||||
"Промяна Т",
|
||||
"задържане?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
"desc": "Промяна на температура при задържане на бутон!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "",
|
||||
"text2": [
|
||||
"Захранващ",
|
||||
"импулс"
|
||||
],
|
||||
"desc": "Поддържане на интензивност на захранващия импулс"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "",
|
||||
"text2": [
|
||||
"Промяна",
|
||||
"сила връх"
|
||||
],
|
||||
"desc": "Усилване на върха на поялника"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
49
Translation Editor/translation_cs.json
Normal file → Executable file
49
Translation Editor/translation_cs.json
Normal file → Executable file
@@ -22,7 +22,8 @@
|
||||
"SolderingAdvancedPowerPrompt": "Ohřev: ",
|
||||
"OffString": "Vyp",
|
||||
"ResetOKMessage": "Reset OK",
|
||||
"YourGainMessage": "Zisk:"
|
||||
"YourGainMessage": "Zisk:",
|
||||
"SettingsResetMessage": "Tov. nas. obnov."
|
||||
},
|
||||
"characters": {
|
||||
"SettingRightChar": "P",
|
||||
@@ -238,42 +239,58 @@
|
||||
"PowerLimitEnable": {
|
||||
"text": "PLIMEN",
|
||||
"text2": [
|
||||
"P Limit",
|
||||
"Enable"
|
||||
"Omez. výk.",
|
||||
"Aktivovat"
|
||||
],
|
||||
"desc": "Enable power limit"
|
||||
"desc": "Aktivovat omezení výkonu"
|
||||
},
|
||||
"PowerLimit": {
|
||||
"text": "PLIM",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Limit"
|
||||
"Omezení",
|
||||
"Výkonu"
|
||||
],
|
||||
"desc": "Maximum power the iron can use <Watts>"
|
||||
"desc": "Maximální příkon <Watty>"
|
||||
},
|
||||
"ReverseButtonTempChange": {
|
||||
"text": "RVTCHG",
|
||||
"text2": [
|
||||
"Key +-",
|
||||
"reverse?"
|
||||
"Prohodit",
|
||||
"tl. +-?"
|
||||
],
|
||||
"desc": "Reverse the tip temperature change buttons plus minus assignment."
|
||||
"desc": "Prohodí tlačítka plus a minus pro změnu teploty hrotu."
|
||||
},
|
||||
"TempChangeShortStep": {
|
||||
"text": "TCHGST",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"short?"
|
||||
"Krok teploty",
|
||||
"krátký?"
|
||||
],
|
||||
"desc": "Temperature change steps on short button press!"
|
||||
"desc": "Velikost skoku při změně teploty krátkým stiskem tlačítka!"
|
||||
},
|
||||
"TempChangeLongStep": {
|
||||
"text": "TCHGLT",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"long?"
|
||||
"Krok teploty",
|
||||
"dlouhý?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
"desc": "Velikost skoku při změně teploty dlouhým stiskem tlačítka!"
|
||||
},
|
||||
"PowerPulsePower": {
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Intenzita",
|
||||
"Výkon. pulsu"
|
||||
],
|
||||
"desc": "Puls pro udržení zařízení v chodu (kvůli power bankám)."
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Změnit",
|
||||
"zisk hr."
|
||||
],
|
||||
"desc": "Zisk hrotu (měření)"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -277,6 +277,22 @@
|
||||
"Taste Lang?"
|
||||
],
|
||||
"desc": "Temperaturwechselschritte bei langem Tastendruck!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
"tempUnitFahrenheit": true,
|
||||
"messages": {
|
||||
"SettingsCalibrationDone": "Calibration done!",
|
||||
"SettingsCalibrationWarning": "Please ensure the tip is at room temperature before continuing!",
|
||||
"SettingsCalibrationWarning": "Please ensure the tip is at room temperature, before continuing!",
|
||||
"SettingsResetWarning": "Are you sure you want to reset settings to default values?",
|
||||
"UVLOWarningString": "DC LOW",
|
||||
"UndervoltageString": "Undervoltage",
|
||||
"InputVoltageString": "Input V: ",
|
||||
"WarningTipTempString": "Tip Temp: ",
|
||||
"WarningTipTempString": "Tip temp: ",
|
||||
"BadTipString": "BAD TIP",
|
||||
"SleepingSimpleString": "Zzzz",
|
||||
"SleepingAdvancedString": "Sleeping...",
|
||||
@@ -23,7 +23,7 @@
|
||||
"SolderingAdvancedPowerPrompt": "Power: ",
|
||||
"OffString": "Off",
|
||||
"ResetOKMessage": "Reset OK",
|
||||
"YourGainMessage": "Your Gain:",
|
||||
"YourGainMessage": "Your gain:",
|
||||
"SettingsResetMessage": "Settings were\nreset!"
|
||||
},
|
||||
"characters": {
|
||||
@@ -42,28 +42,28 @@
|
||||
"SolderingMenu": {
|
||||
"text2": [
|
||||
"Soldering",
|
||||
"Settings"
|
||||
"settings"
|
||||
],
|
||||
"desc": "Soldering settings"
|
||||
},
|
||||
"PowerSavingMenu": {
|
||||
"text2": [
|
||||
"Sleep",
|
||||
"Modes"
|
||||
"modes"
|
||||
],
|
||||
"desc": "Power saving settings"
|
||||
},
|
||||
"UIMenu": {
|
||||
"text2": [
|
||||
"User",
|
||||
"Interface"
|
||||
"interface"
|
||||
],
|
||||
"desc": "User interface settings"
|
||||
},
|
||||
"AdvancedMenu": {
|
||||
"text2": [
|
||||
"Advanced",
|
||||
"Options"
|
||||
"options"
|
||||
],
|
||||
"desc": "Advanced options"
|
||||
}
|
||||
@@ -83,7 +83,7 @@
|
||||
"Sleep",
|
||||
"temp"
|
||||
],
|
||||
"desc": "Sleep Temperature"
|
||||
"desc": "Sleep temperature"
|
||||
},
|
||||
"SleepTimeout": {
|
||||
"text": "STME",
|
||||
@@ -91,7 +91,7 @@
|
||||
"Sleep",
|
||||
"timeout"
|
||||
],
|
||||
"desc": "Sleep Timeout <Minutes/Seconds>"
|
||||
"desc": "Sleep timeout <Minutes/Seconds>"
|
||||
},
|
||||
"ShutdownTimeout": {
|
||||
"text": "SHTME",
|
||||
@@ -99,7 +99,7 @@
|
||||
"Shutdown",
|
||||
"timeout"
|
||||
],
|
||||
"desc": "Shutdown Timeout <Minutes>"
|
||||
"desc": "Shutdown timeout <Minutes>"
|
||||
},
|
||||
"MotionSensitivity": {
|
||||
"text": "MSENSE",
|
||||
@@ -107,15 +107,15 @@
|
||||
"Motion",
|
||||
"sensitivity"
|
||||
],
|
||||
"desc": "Motion Sensitivity <0=Off 1=Least Sensitive 9=Most Sensitive>"
|
||||
"desc": "Motion sensitivity <0=Off 1=Least sensitive 9=Most sensitive>"
|
||||
},
|
||||
"TemperatureUnit": {
|
||||
"text": "TMPUNT",
|
||||
"text2": [
|
||||
"Temperature",
|
||||
"units"
|
||||
"unit"
|
||||
],
|
||||
"desc": "Temperature Unit <C=Celsius F=Fahrenheit>"
|
||||
"desc": "Temperature unit <C=Celsius F=Fahrenheit>"
|
||||
},
|
||||
"AdvancedIdle": {
|
||||
"text": "ADVIDL",
|
||||
@@ -123,7 +123,7 @@
|
||||
"Detailed",
|
||||
"idle screen"
|
||||
],
|
||||
"desc": "Display detailed information in a smaller font on the idle screen."
|
||||
"desc": "Display detailed information in a smaller font on the idle screen"
|
||||
},
|
||||
"DisplayRotation": {
|
||||
"text": "DSPROT",
|
||||
@@ -131,15 +131,15 @@
|
||||
"Display",
|
||||
"orientation"
|
||||
],
|
||||
"desc": "Display Orientation <A=Automatic L=Left Handed R=Right Handed>"
|
||||
"desc": "Display orientation <A=Automatic L=Left-handed R=Right-handed>"
|
||||
},
|
||||
"BoostEnabled": {
|
||||
"text": "BOOST",
|
||||
"text2": [
|
||||
"Boost mode",
|
||||
"enabled"
|
||||
"Boost",
|
||||
"mode"
|
||||
],
|
||||
"desc": "Enable front key long press \"Boost\" mode when soldering"
|
||||
"desc": "Enable front key long press \"boost mode\" when soldering"
|
||||
},
|
||||
"BoostTemperature": {
|
||||
"text": "BTMP",
|
||||
@@ -147,7 +147,7 @@
|
||||
"Boost",
|
||||
"temp"
|
||||
],
|
||||
"desc": "Temperature when in \"Boost\" mode"
|
||||
"desc": "Temperature when in \"boost mode\""
|
||||
},
|
||||
"AutoStart": {
|
||||
"text": "ASTART",
|
||||
@@ -155,7 +155,7 @@
|
||||
"Auto",
|
||||
"start"
|
||||
],
|
||||
"desc": "Automatically starts the iron into soldering on power up <T=Soldering S=Sleep F=Off>"
|
||||
"desc": "Automatically starts the iron into soldering on power up <F=Off T=Soldering S=Sleep O=Sleep at room temperature>"
|
||||
},
|
||||
"CooldownBlink": {
|
||||
"text": "CLBLNK",
|
||||
@@ -163,7 +163,7 @@
|
||||
"Cooldown",
|
||||
"blink"
|
||||
],
|
||||
"desc": "Blink the temperature on the cooling screen while the tip is still hot."
|
||||
"desc": "Blink the temperature on the cooling screen while the tip is still hot"
|
||||
},
|
||||
"TemperatureCalibration": {
|
||||
"text": "TMP CAL?",
|
||||
@@ -171,7 +171,7 @@
|
||||
"Calibrate",
|
||||
"temperature?"
|
||||
],
|
||||
"desc": "Calibrate tip offset."
|
||||
"desc": "Calibrate tip offset?"
|
||||
},
|
||||
"SettingsReset": {
|
||||
"text": "RESET?",
|
||||
@@ -179,7 +179,7 @@
|
||||
"Factory",
|
||||
"Reset?"
|
||||
],
|
||||
"desc": "Reset all settings"
|
||||
"desc": "Reset all settings!"
|
||||
},
|
||||
"VoltageCalibration": {
|
||||
"text": "CAL VIN?",
|
||||
@@ -187,7 +187,7 @@
|
||||
"Calibrate",
|
||||
"input voltage?"
|
||||
],
|
||||
"desc": "VIN Calibration. Buttons adjust, long press to exit"
|
||||
"desc": "VIN Calibration <long press to exit>"
|
||||
},
|
||||
"AdvancedSoldering": {
|
||||
"text": "ADVSLD",
|
||||
@@ -201,7 +201,7 @@
|
||||
"text": "DESCSP",
|
||||
"text2": [
|
||||
"Scrolling",
|
||||
"Speed"
|
||||
"speed"
|
||||
],
|
||||
"desc": "Speed this text scrolls past at <S=Slow F=Fast>"
|
||||
},
|
||||
@@ -209,23 +209,23 @@
|
||||
"text": "TIPMO",
|
||||
"text2": [
|
||||
"Tip",
|
||||
"Model"
|
||||
"model"
|
||||
],
|
||||
"desc": "Tip Model selection"
|
||||
"desc": "Tip model selection"
|
||||
},
|
||||
"SimpleCalibrationMode": {
|
||||
"text": "SMPCAL",
|
||||
"text2": [
|
||||
"Simple",
|
||||
"Calibration"
|
||||
"calibration"
|
||||
],
|
||||
"desc": "Simple Calibration using Hot water"
|
||||
"desc": "Simple calibration using hot water"
|
||||
},
|
||||
"AdvancedCalibrationMode": {
|
||||
"text": "ADVCAL",
|
||||
"text2": [
|
||||
"Advanced",
|
||||
"Calibration"
|
||||
"calibration"
|
||||
],
|
||||
"desc": "Advanced calibration using thermocouple on the tip"
|
||||
},
|
||||
@@ -233,15 +233,15 @@
|
||||
"text": "PWRW",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Wattage"
|
||||
"wattage"
|
||||
],
|
||||
"desc": "Power Wattage of the power adapter used"
|
||||
"desc": "Power wattage of the power adapter used"
|
||||
},
|
||||
"PowerLimitEnable": {
|
||||
"text": "PLIMEN",
|
||||
"text2": [
|
||||
"P Limit",
|
||||
"Enable"
|
||||
"Enable power",
|
||||
"limit"
|
||||
],
|
||||
"desc": "Enable power limit"
|
||||
},
|
||||
@@ -249,33 +249,49 @@
|
||||
"text": "PLIM",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Limit"
|
||||
"limit"
|
||||
],
|
||||
"desc": "Maximum power the iron can use <Watts>"
|
||||
},
|
||||
"ReverseButtonTempChange": {
|
||||
"text": "RVTCHG",
|
||||
"text2": [
|
||||
"Key +-",
|
||||
"reverse?"
|
||||
"Reverse",
|
||||
"+ - keys"
|
||||
],
|
||||
"desc": "Reverse the tip temperature change buttons plus minus assignment."
|
||||
"desc": "Reverse assignment of temperature adjustment buttons"
|
||||
},
|
||||
"TempChangeShortStep": {
|
||||
"text": "TCHGST",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"short?"
|
||||
"short"
|
||||
],
|
||||
"desc": "Temperature change steps on short button press!"
|
||||
"desc": "Temperature change steps on short button press"
|
||||
},
|
||||
"TempChangeLongStep": {
|
||||
"text": "TCHGLT",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"long?"
|
||||
"long"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
"desc": "Temperature change steps on long button press"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"OffString": " No",
|
||||
"ResetOKMessage": "Hecho. ",
|
||||
"YourGainMessage": "Gananc.:",
|
||||
"SettingsResetMessage": "Restablecidos."
|
||||
"SettingsResetMessage": "Ajustes borrados"
|
||||
},
|
||||
"characters": {
|
||||
"SettingRightChar": "D",
|
||||
@@ -255,26 +255,42 @@
|
||||
"ReverseButtonTempChange": {
|
||||
"text": "RVTCHG",
|
||||
"text2": [
|
||||
"Key +-",
|
||||
"reverse?"
|
||||
"Invertir",
|
||||
"botones +/-"
|
||||
],
|
||||
"desc": "Reverse the tip temperature change buttons plus minus assignment."
|
||||
"desc": "Intercambia las funciones de subir y bajar la temperatura de los botones +/- para que funcionen al revés."
|
||||
},
|
||||
"TempChangeShortStep": {
|
||||
"text": "TCHGST",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"short?"
|
||||
"Cambio temp.",
|
||||
"puls. cortas"
|
||||
],
|
||||
"desc": "Temperature change steps on short button press!"
|
||||
"desc": "Subir y bajar X grados de temperatura con cada pulsación corta de los botones +/-."
|
||||
},
|
||||
"TempChangeLongStep": {
|
||||
"text": "TCHGLT",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"long?"
|
||||
"Cambio temp.",
|
||||
"puls. largas"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
"desc": "Subir y bajar X grados de temperatura con cada pulsación larga de los botones +/-."
|
||||
},
|
||||
"PowerPulsePower": {
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Pulsos bat.",
|
||||
"constantes"
|
||||
],
|
||||
"desc": "Aplica unos pulsos necesarios para mantener encendidas ciertas baterías portátiles. En vatios."
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Ajustar ganancia",
|
||||
"de punta"
|
||||
],
|
||||
"desc": "Modificar el valor de ganancia de la punta."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
"BadTipString": "PANNE HS",
|
||||
"SleepingSimpleString": "Zzzz",
|
||||
"SleepingAdvancedString": "En veille...",
|
||||
"WarningSimpleString": "HOT!",
|
||||
"WarningAdvancedString": "ATTENTION! CHAUD",
|
||||
"WarningSimpleString": "CHAUD!",
|
||||
"WarningAdvancedString": "ATTENTION! CHAUD!",
|
||||
"SleepingTipAdvancedString": "Panne:",
|
||||
"IdleTipString": "Tip:",
|
||||
"IdleSetString": " Set:",
|
||||
@@ -238,41 +238,57 @@
|
||||
"text": "PLIMEN",
|
||||
"text2": [
|
||||
"P Limit",
|
||||
"Enable"
|
||||
"Activer?"
|
||||
],
|
||||
"desc": "Enable power limit"
|
||||
"desc": "Activer la limite de puissance"
|
||||
},
|
||||
"PowerLimit": {
|
||||
"text": "PLIM",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Limit"
|
||||
"Puissance",
|
||||
"Limite"
|
||||
],
|
||||
"desc": "Maximum power the iron can use <Watts>"
|
||||
"desc": "Puissance maximale utilisable <Watts>"
|
||||
},
|
||||
"ReverseButtonTempChange": {
|
||||
"text": "RVTCHG",
|
||||
"text2": [
|
||||
"Key +-",
|
||||
"reverse?"
|
||||
"Inverser?"
|
||||
],
|
||||
"desc": "Reverse the tip temperature change buttons plus minus assignment."
|
||||
"desc": "Inversez l'assignation +/- du bouton de changement de température de la pointe."
|
||||
},
|
||||
"TempChangeShortStep": {
|
||||
"text": "TCHGST",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"short?"
|
||||
"Court?"
|
||||
],
|
||||
"desc": "Temperature change steps on short button press!"
|
||||
"desc": "Incrément de changement de température sur appui court."
|
||||
},
|
||||
"TempChangeLongStep": {
|
||||
"text": "TCHGLT",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"long?"
|
||||
"Long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
"desc": "Incrément de changement de température sur appui long."
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -235,44 +235,60 @@
|
||||
"desc": "A tápegység által leadott teljesítmény"
|
||||
},
|
||||
"PowerLimitEnable": {
|
||||
"text": "PLIMEN",
|
||||
"text": "TELJH",
|
||||
"text2": [
|
||||
"P Limit",
|
||||
"Enable"
|
||||
"Telj H",
|
||||
"Bekapcsolva"
|
||||
],
|
||||
"desc": "Enable power limit"
|
||||
"desc": "Bemeneti teljesitmény korlátozása"
|
||||
},
|
||||
"PowerLimit": {
|
||||
"text": "PLIM",
|
||||
"text": "TELJM",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Limit"
|
||||
"Telj",
|
||||
"maximum"
|
||||
],
|
||||
"desc": "Maximum power the iron can use <Watts>"
|
||||
"desc": "Maximális teljesitmény beállitása <Watts>"
|
||||
},
|
||||
"ReverseButtonTempChange": {
|
||||
"text": "RVTCHG",
|
||||
"text": "HÖVÁLT",
|
||||
"text2": [
|
||||
"Key +-",
|
||||
"reverse?"
|
||||
"GOMB +-",
|
||||
"Felcseréled?"
|
||||
],
|
||||
"desc": "Reverse the tip temperature change buttons plus minus assignment."
|
||||
"desc": "A páka hömérséklet növelés csökkentési gombok felcserélése."
|
||||
},
|
||||
"TempChangeShortStep": {
|
||||
"text": "TCHGST",
|
||||
"text": "HÖRÖV",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"short?"
|
||||
"Hömérséklet",
|
||||
"váltás rövid?"
|
||||
],
|
||||
"desc": "Temperature change steps on short button press!"
|
||||
"desc": "Hömérséklet váltás rövid gombnyomásrs bekapcsolva!"
|
||||
},
|
||||
"TempChangeLongStep": {
|
||||
"text": "TCHGLT",
|
||||
"text": "HÖHOS",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"long?"
|
||||
"Hömérséklet",
|
||||
"váltás hosszú?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
"desc": "Hömérséklet váltás hosszú gombnyomásrs bekapcsolva!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "TELJP",
|
||||
"text2": [
|
||||
"Telj power",
|
||||
"bank üzem W"
|
||||
],
|
||||
"desc": "Powerbank üzemnél nem engedi a powerbankot kikapcsolni idönkénti áram felvételt generál. "
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,9 @@
|
||||
"TipDisconnectedString": "PUNTA ASSENTE",
|
||||
"SolderingAdvancedPowerPrompt": "Potenz:",
|
||||
"OffString": "OFF",
|
||||
"ResetOKMessage": "Reset OK"
|
||||
"ResetOKMessage": "Reset OK",
|
||||
"YourGainMessage": "Guad.: ",
|
||||
"SettingsResetMessage": "Reset effettuato"
|
||||
},
|
||||
"characters": {
|
||||
"SettingRightChar": "D",
|
||||
@@ -160,7 +162,7 @@
|
||||
"Avviso",
|
||||
"punta calda"
|
||||
],
|
||||
"desc": "Mostra, lampeggiante, la temperatura durante il raffreddamento se la punta è ancora calda"
|
||||
"desc": "Evidenzia il valore di temperatura durante il raffreddamento se la punta è ancora calda"
|
||||
},
|
||||
"TemperatureCalibration": {
|
||||
"text": "",
|
||||
@@ -237,42 +239,58 @@
|
||||
"PowerLimitEnable": {
|
||||
"text": "PLIMEN",
|
||||
"text2": [
|
||||
"P Limit",
|
||||
"Enable"
|
||||
"Limitatore",
|
||||
"di potenza"
|
||||
],
|
||||
"desc": "Enable power limit"
|
||||
"desc": "Abilita un limitatore per la potenza massima erogabile al saldatore"
|
||||
},
|
||||
"PowerLimit": {
|
||||
"text": "PLIM",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Limit"
|
||||
"Limite",
|
||||
"di potenza"
|
||||
],
|
||||
"desc": "Maximum power the iron can use <Watts>"
|
||||
"desc": "Imposta il valore di potenza massima erogabile al saldatore <watt>"
|
||||
},
|
||||
"ReverseButtonTempChange": {
|
||||
"text": "RVTCHG",
|
||||
"text2": [
|
||||
"Key +-",
|
||||
"reverse?"
|
||||
"Inversione",
|
||||
"tasti"
|
||||
],
|
||||
"desc": "Reverse the tip temperature change buttons plus minus assignment."
|
||||
"desc": "Inverti i tasti per impostare la temperatura della punta "
|
||||
},
|
||||
"TempChangeShortStep": {
|
||||
"text": "TCHGST",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"short?"
|
||||
"Cambio temp",
|
||||
"pressione breve"
|
||||
],
|
||||
"desc": "Temperature change steps on short button press!"
|
||||
"desc": "Varia la temperatura della punta attraverso una breve pressione dei tasti"
|
||||
},
|
||||
"TempChangeLongStep": {
|
||||
"text": "TCHGLT",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"long?"
|
||||
"Cambio temp",
|
||||
"pressione lunga"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
"desc": "Varia la temperatura della punta attraverso una lunga pressione dei tasti"
|
||||
},
|
||||
"PowerPulsePower": {
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Potenza impulso",
|
||||
"«Keep-Alive»"
|
||||
],
|
||||
"desc": "Regola la potenza d'impulso in ingresso al saldatore per prevenire lo standby eventuale dell'alimentatore <watt>"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Guadagno",
|
||||
"punta"
|
||||
],
|
||||
"desc": "Varia il guadagno della punta"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
"languageCode": "PL",
|
||||
"languageLocalName": "Polski",
|
||||
"cyrillicGlyphs": false,
|
||||
"tempUnitFahrenheit": false,
|
||||
"messages": {
|
||||
"SettingsCalibrationDone": "Kalibracja udana!",
|
||||
"SettingsCalibrationWarning": "Przed kontynuowaniem upewnij się, że końcówka osiągnela temperature pokojowa!",
|
||||
"SettingsCalibrationWarning": "Przed kontynuowaniem upewnij się, że końcówka osiągnęła temperaturę pokojową!",
|
||||
"SettingsResetWarning": "Czy na pewno chcesz przywrócić ustawienia fabryczne?",
|
||||
"UVLOWarningString": "NISKIE DC",
|
||||
"UndervoltageString": "Pod napięciem",
|
||||
@@ -12,7 +13,7 @@
|
||||
"WarningTipTempString": "Temperatura grota: ",
|
||||
"BadTipString": "ZŁY GROT",
|
||||
"SleepingSimpleString": "Zzz!",
|
||||
"SleepingAdvancedString": "Uspienie...",
|
||||
"SleepingAdvancedString": "Uśpienie...",
|
||||
"WarningSimpleString": "HOT!",
|
||||
"WarningAdvancedString": "GORĄCA KOŃCÓWKA!",
|
||||
"SleepingTipAdvancedString": "Grot:",
|
||||
@@ -21,20 +22,22 @@
|
||||
"TipDisconnectedString": "GROT ODŁĄCZONY",
|
||||
"SolderingAdvancedPowerPrompt": "Power: ",
|
||||
"OffString": "Wyłącz",
|
||||
"ResetOKMessage": "Reset OK"
|
||||
"ResetOKMessage": "Reset OK",
|
||||
"YourGainMessage": "Twój zysk:",
|
||||
"SettingsResetMessage": "Ustawienia zostały\nzresetowane!"
|
||||
},
|
||||
"characters": {
|
||||
"SettingRightChar": "P",
|
||||
"SettingLeftChar": "L",
|
||||
"SettingAutoChar": "A",
|
||||
"SettingFastChar": "F",
|
||||
"SettingSlowChar": "S",
|
||||
"SettingFastChar": "S",
|
||||
"SettingSlowChar": "W",
|
||||
"SettingStartSolderingChar": "T",
|
||||
"SettingStartSleepChar": "S",
|
||||
"SettingStartSleepChar": "Z",
|
||||
"SettingStartSleepOffChar": "O",
|
||||
"SettingStartNoneChar": "N"
|
||||
"SettingStartNoneChar": "B"
|
||||
},
|
||||
"menuDouble": false,
|
||||
"menuDouble": true,
|
||||
"menuGroups": {
|
||||
"SolderingMenu": {
|
||||
"text2": [
|
||||
@@ -88,7 +91,7 @@
|
||||
"Czas",
|
||||
"uśpienia"
|
||||
],
|
||||
"desc": "Czas uśpienia <Minuty/Sekundy>"
|
||||
"desc": "Czas uśpienia <minuty/sekundy>"
|
||||
},
|
||||
"ShutdownTimeout": {
|
||||
"text": "SHTME",
|
||||
@@ -96,7 +99,7 @@
|
||||
"Czas",
|
||||
"wyłączenia"
|
||||
],
|
||||
"desc": "Czas wyłączenia <Minuty>"
|
||||
"desc": "Czas wyłączenia <minuty>"
|
||||
},
|
||||
"MotionSensitivity": {
|
||||
"text": "MSENSE",
|
||||
@@ -104,7 +107,7 @@
|
||||
"Czułość",
|
||||
"ruchu"
|
||||
],
|
||||
"desc": "Czułość ruchu <0.Wyłączona 1.minimalna 9.maksymalna>"
|
||||
"desc": "Czułość ruchu <0.Wyłączona 1.Minimalna 9.Maksymalna>"
|
||||
},
|
||||
"TemperatureUnit": {
|
||||
"text": "TMPUNT",
|
||||
@@ -120,7 +123,7 @@
|
||||
"Mniejsza",
|
||||
"czcionka"
|
||||
],
|
||||
"desc": "Wyświetla szczegółowe informacje za pomocą mniejszej czcionki na ekranie bezczynnośći <T = wł., N = wył.>"
|
||||
"desc": "Wyświetla szczegółowe informacje za pomocą mniejszej czcionki na ekranie bezczynności"
|
||||
},
|
||||
"DisplayRotation": {
|
||||
"text": "DSPROT",
|
||||
@@ -128,15 +131,15 @@
|
||||
"Orientacja",
|
||||
"wyświetlacza"
|
||||
],
|
||||
"desc": "Orientacja wyświetlacza <A. Automatyczna L. Leworęczna P. Praworęczna>"
|
||||
"desc": "Orientacja wyświetlacza <A - automatyczna, L - leworęczna, P - praworęczna>"
|
||||
},
|
||||
"BoostEnabled": {
|
||||
"text": "BOOST",
|
||||
"text2": [
|
||||
"",
|
||||
""
|
||||
"Tryb",
|
||||
"boost"
|
||||
],
|
||||
"desc": "Użyj przycisku przedniego w celu zwiększenia temperatury <T = wł., N = wył.>"
|
||||
"desc": "Przytrzymaj przedni przycisk podczas lutowania w celu zwiększenia temperatury"
|
||||
},
|
||||
"BoostTemperature": {
|
||||
"text": "BTMP",
|
||||
@@ -152,7 +155,7 @@
|
||||
"Automatyczne",
|
||||
"uruchamianie"
|
||||
],
|
||||
"desc": "Automatyczne uruchamianie trybu lutowania po włączeniu zasilania. T=Lutowanie, S= Tryb Uspienia ,N=Wyłącz"
|
||||
"desc": "Automatyczne uruchamianie trybu lutowania po włączeniu zasilania.<B - wyłączone, T - lutowanie, Z - uśpienie, O - uśpienie w temp. pokojowej"
|
||||
},
|
||||
"CooldownBlink": {
|
||||
"text": "CLBLNK",
|
||||
@@ -160,7 +163,7 @@
|
||||
"Migająca",
|
||||
"temperatura"
|
||||
],
|
||||
"desc": "Temperatura na ekranie miga, gdy grot jest jeszcze gorący. <T = wł., N = wył.>"
|
||||
"desc": "Temperatura na ekranie miga, gdy grot jest jeszcze gorący."
|
||||
},
|
||||
"TemperatureCalibration": {
|
||||
"text": "TMP CAL?",
|
||||
@@ -173,10 +176,10 @@
|
||||
"SettingsReset": {
|
||||
"text": "RESET?",
|
||||
"text2": [
|
||||
"",
|
||||
""
|
||||
"Ustawienia",
|
||||
"fabryczne"
|
||||
],
|
||||
"desc": "Zresetuj wszystkie ustawienia"
|
||||
"desc": "Zresetuje wszystkie ustawienia!"
|
||||
},
|
||||
"VoltageCalibration": {
|
||||
"text": "CAL VIN?",
|
||||
@@ -192,7 +195,7 @@
|
||||
"Szczegółowe",
|
||||
"informacje"
|
||||
],
|
||||
"desc": "Wyświetl szczegółowe informacje podczas lutowania <T = wł., N = wył.>"
|
||||
"desc": "Wyświetl szczegółowe informacje podczas lutowania"
|
||||
},
|
||||
"ScrollingSpeed": {
|
||||
"text": "DESCSP",
|
||||
@@ -214,65 +217,81 @@
|
||||
"text": "SMPCAL",
|
||||
"text2": [
|
||||
"Prosta",
|
||||
"Kalibracja"
|
||||
"kalibracja"
|
||||
],
|
||||
"desc": "Prosta kalibracja używając gorącej wody"
|
||||
"desc": "Prosta kalibracja, używając gorącej wody"
|
||||
},
|
||||
"AdvancedCalibrationMode": {
|
||||
"text": "ADVCAL",
|
||||
"text2": [
|
||||
"Zaawansowana",
|
||||
"Kalibracja"
|
||||
"kalibracja"
|
||||
],
|
||||
"desc": "Zaawansowana kalibracja za pomocy termopoary na grocie"
|
||||
"desc": "Zaawansowana kalibracja za pomocą termoelementu na grocie"
|
||||
},
|
||||
"PowerInput": {
|
||||
"text": "PWRW",
|
||||
"text2": [
|
||||
"Moc",
|
||||
"Wattach"
|
||||
"w W"
|
||||
],
|
||||
"desc": "Moc używanego zasilacza w Watach"
|
||||
"desc": "Moc używanego zasilacza w Wattach"
|
||||
},
|
||||
"PowerLimitEnable": {
|
||||
"text": "PLIMEN",
|
||||
"text2": [
|
||||
"P Limit",
|
||||
"Enable"
|
||||
"Włącz limit",
|
||||
"mocy"
|
||||
],
|
||||
"desc": "Enable power limit"
|
||||
"desc": "Włącza limit mocy"
|
||||
},
|
||||
"PowerLimit": {
|
||||
"text": "PLIM",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Limit"
|
||||
"Limit",
|
||||
"mocy"
|
||||
],
|
||||
"desc": "Maximum power the iron can use <Watts>"
|
||||
"desc": "Maksymalna moc w W, jakiej może użyć lutownica"
|
||||
},
|
||||
"ReverseButtonTempChange": {
|
||||
"text": "RVTCHG",
|
||||
"text2": [
|
||||
"Key +-",
|
||||
"reverse?"
|
||||
"Zamień przyciski",
|
||||
"+ -"
|
||||
],
|
||||
"desc": "Reverse the tip temperature change buttons plus minus assignment."
|
||||
"desc": "Zamienia działanie przycisków zmiany temperatury grotu"
|
||||
},
|
||||
"TempChangeShortStep": {
|
||||
"text": "TCHGST",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"short?"
|
||||
"Szybka zmiana",
|
||||
"temperatury"
|
||||
],
|
||||
"desc": "Temperature change steps on short button press!"
|
||||
"desc": "Zmiany temperatury krok po korku, po krótkim naciśnięciu przycisku"
|
||||
},
|
||||
"TempChangeLongStep": {
|
||||
"text": "TCHGLT",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"long?"
|
||||
"Wolna zmiana",
|
||||
"temperatury"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
"desc": "Zmiany temperatury krok po korku, po długim naciśnięciu przycisku"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Moc pulsu",
|
||||
"w W"
|
||||
],
|
||||
"desc": "Utrzymuj intensywność mocy pulsu"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Zmodyfikowany",
|
||||
"zysk grotu"
|
||||
],
|
||||
"desc": "Zysk grotu"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
"languageLocalName": "Русский",
|
||||
"cyrillicGlyphs": true,
|
||||
"messages": {
|
||||
"SettingsCalibrationDone": "Калибровка выполнена!",
|
||||
"SettingsCalibrationWarning": "Убедитесь, что жало остыло до комнатной температуры, прежде чем продолжать!",
|
||||
"SettingsResetWarning": "Вы действительно хотите сбросить настройки до значений по умолчанию?",
|
||||
"SettingsCalibrationDone": "Калибровка завершена!",
|
||||
"SettingsCalibrationWarning": "Прежде чем продолжить, пожалуйста, убедитесь, что жало имеет комнатную температуру!",
|
||||
"SettingsResetWarning": "Вы уверены, что хотите сбросить настройки к значениям по умолчанию?",
|
||||
"UVLOWarningString": "НАПРЯЖ--",
|
||||
"UndervoltageString": "Под питанием",
|
||||
"InputVoltageString": "Питание B: ",
|
||||
"WarningTipTempString": "Жало t°: ",
|
||||
"BadTipString": "Жало--",
|
||||
"SleepingSimpleString": "Сон ",
|
||||
"UndervoltageString": "Низк. напряжение",
|
||||
"InputVoltageString": "Питание В: ",
|
||||
"WarningTipTempString": "Темп. жала: ",
|
||||
"BadTipString": "ЖАЛО--",
|
||||
"SleepingSimpleString": "Zzzz",
|
||||
"SleepingAdvancedString": "Ожидание...",
|
||||
"WarningSimpleString": " ГОРЯЧО!",
|
||||
"WarningSimpleString": "ГОРЯЧО!",
|
||||
"WarningAdvancedString": "!!! ГОРЯЧЕЕ ЖАЛО !!!",
|
||||
"SleepingTipAdvancedString": "Жало:",
|
||||
"IdleTipString": "Жало:",
|
||||
@@ -23,18 +23,18 @@
|
||||
"OffString": "Выкл.",
|
||||
"ResetOKMessage": "Сброс OK",
|
||||
"YourGainMessage": "Прирост:",
|
||||
"SettingsResetMessage": "Настройки \nсброшены!"
|
||||
"SettingsResetMessage": "Настройки сброшены!"
|
||||
},
|
||||
"characters": {
|
||||
"SettingRightChar": "П",
|
||||
"SettingLeftChar": "Л",
|
||||
"SettingAutoChar": "A",
|
||||
"SettingFastChar": "+",
|
||||
"SettingSlowChar": "-",
|
||||
"SettingStartSolderingChar": "T",
|
||||
"SettingStartSleepChar": "S",
|
||||
"SettingStartSleepOffChar": "O",
|
||||
"SettingStartNoneChar": "F"
|
||||
"SettingAutoChar": "А",
|
||||
"SettingFastChar": "Б",
|
||||
"SettingSlowChar": "М",
|
||||
"SettingStartSolderingChar": "П",
|
||||
"SettingStartSleepChar": "О",
|
||||
"SettingStartSleepOffChar": "К",
|
||||
"SettingStartNoneChar": "В"
|
||||
},
|
||||
"menuDouble": true,
|
||||
"menuGroups": {
|
||||
@@ -47,234 +47,250 @@
|
||||
},
|
||||
"PowerSavingMenu": {
|
||||
"text2": [
|
||||
"Режим",
|
||||
"Режимы",
|
||||
"сна"
|
||||
],
|
||||
"desc": "Параметры экономии энергии"
|
||||
"desc": "Настройки режима ожидания"
|
||||
},
|
||||
"UIMenu": {
|
||||
"text2": [
|
||||
"Пользовател",
|
||||
"интерфейс"
|
||||
"Параметры",
|
||||
"интерфейса"
|
||||
],
|
||||
"desc": "Параметры пользовательского интерфейса"
|
||||
"desc": "Настройки пользовательского интерфейса"
|
||||
},
|
||||
"AdvancedMenu": {
|
||||
"text2": [
|
||||
"Дополнител.",
|
||||
"параметры"
|
||||
"настройки"
|
||||
],
|
||||
"desc": "Дополнительные параметры"
|
||||
"desc": "Дополнительные настройки"
|
||||
}
|
||||
},
|
||||
"menuOptions": {
|
||||
"PowerSource": {
|
||||
"text": "ИстП",
|
||||
"text": "ИстчнПит",
|
||||
"text2": [
|
||||
"Источник",
|
||||
"питания"
|
||||
],
|
||||
"desc": "Источник питания. Установка напряжения отключения. <DC = 10 В, S = 3.3 В на батарею, ограничение мощности выкл.>"
|
||||
"desc": "Источник питания. Устанавливает напряжение отсечки. <DC 10В> <S 3.3В на ячейку, без лимита мощности>"
|
||||
},
|
||||
"SleepTemperature": {
|
||||
"text": "Тожд",
|
||||
"text": "ТмпОжд",
|
||||
"text2": [
|
||||
"Темпер.",
|
||||
"сна"
|
||||
"Темп.",
|
||||
"ожидания"
|
||||
],
|
||||
"desc": "Температура режима ожидания <С>"
|
||||
"desc": "Температура режима ожидания"
|
||||
},
|
||||
"SleepTimeout": {
|
||||
"text": "Вожд",
|
||||
"text": "ВрмОжид",
|
||||
"text2": [
|
||||
"Таймаут",
|
||||
"сна"
|
||||
"ожидания"
|
||||
],
|
||||
"desc": "Время до перехода в режим ожидания <Минуты/Секунды>"
|
||||
},
|
||||
"ShutdownTimeout": {
|
||||
"text": "Тоткл",
|
||||
"text": "ВрмОткл",
|
||||
"text2": [
|
||||
"Время до",
|
||||
"отключения"
|
||||
"Таймаут",
|
||||
"выключения"
|
||||
],
|
||||
"desc": "Время до отключения <Минуты>"
|
||||
"desc": "Время до отключения паяльника <Минуты>"
|
||||
},
|
||||
"MotionSensitivity": {
|
||||
"text": "ЧувсДв",
|
||||
"text": "ЧувсАксл",
|
||||
"text2": [
|
||||
"Чувст. сенсо-",
|
||||
"ра движения"
|
||||
"Чувствительн.",
|
||||
"акселерометра"
|
||||
],
|
||||
"desc": "Акселерометр <0 = Выкл, 1 = Мин. чувствительный, 9 = Макс. чувствительный>"
|
||||
"desc": "Чувствительность акселерометра <0=Выкл., 1=Мин., 9=Макс.>"
|
||||
},
|
||||
"TemperatureUnit": {
|
||||
"text": "ЕдТемп",
|
||||
"text2": [
|
||||
"Формат темпе-",
|
||||
"ратуры(C°/F°)"
|
||||
"Единицы",
|
||||
"температуры"
|
||||
],
|
||||
"desc": "Единица измерения температуры <C = Цельсия, F = Фаренгейт>"
|
||||
"desc": "Единицы измерения температуры <C=Цельcия, F=Фаренгейта>"
|
||||
},
|
||||
"AdvancedIdle": {
|
||||
"text": "ИнфОжд",
|
||||
"text2": [
|
||||
"Подробный ре-",
|
||||
"жим ожидания"
|
||||
"Подробный",
|
||||
"реж. ожидания"
|
||||
],
|
||||
"desc": "Показывать детальную информацию маленьким шрифтом на домашнем экране"
|
||||
"desc": "Отображать детальную информацию уменьшенным шрифтом на экране ожидания"
|
||||
},
|
||||
"DisplayRotation": {
|
||||
"text": "ПовЭкр",
|
||||
"text2": [
|
||||
"Автоповорот",
|
||||
"Ориентация",
|
||||
"экрана"
|
||||
],
|
||||
"desc": "Ориентация дисплея <A = Авто, Л = Левая рука, П = Правая рука>"
|
||||
"desc": "Ориентация экрана <А=Авто, Л=Левая рука, П=Правая рука>"
|
||||
},
|
||||
"BoostEnabled": {
|
||||
"text": "Турбо",
|
||||
"text": "Турб",
|
||||
"text2": [
|
||||
"Режим",
|
||||
"Турбо"
|
||||
"Турбо",
|
||||
"режим"
|
||||
],
|
||||
"desc": "Активирует \"Турбо-режим\" при удержании кнопки А во время пайки"
|
||||
"desc": "Включить активацию турбо-режима удержанием ближней к жалу кнопки во время пайки"
|
||||
},
|
||||
"BoostTemperature": {
|
||||
"text": "Ттур",
|
||||
"text": "ТемпТурб",
|
||||
"text2": [
|
||||
"Темпер.",
|
||||
"Турбо"
|
||||
"t° турбо",
|
||||
"режима"
|
||||
],
|
||||
"desc": "Температура в \"Турбо-режиме\""
|
||||
"desc": "Температура жала в турбо-режиме"
|
||||
},
|
||||
"AutoStart": {
|
||||
"text": "Астарт",
|
||||
"text": "АвтоРеж",
|
||||
"text2": [
|
||||
"Горячий",
|
||||
"Авто",
|
||||
"старт"
|
||||
],
|
||||
"desc": "Автоматический запуск паяльника при включении питания <T = Нагрев, S = Режим ожидания, F = Выкл.>"
|
||||
"desc": "Режим, в котором запускается паяльник при подаче питания <П=Пайка, О=Ожидание, К=Ожидание при комн. темп., В=Выкл.>"
|
||||
},
|
||||
"CooldownBlink": {
|
||||
"text": "Охлажд",
|
||||
"text": "МигТемп",
|
||||
"text2": [
|
||||
"Показ t° при",
|
||||
"остывании"
|
||||
"Мигание t°",
|
||||
"при остывании"
|
||||
],
|
||||
"desc": "Показывать температуру на экране охлаждения, пока жало остается горячим"
|
||||
"desc": "Мигать температурой на экране охлаждения, пока жало еще горячее"
|
||||
},
|
||||
"TemperatureCalibration": {
|
||||
"text": "КалибрТ",
|
||||
"text": "КалТемп?",
|
||||
"text2": [
|
||||
"Калибровка",
|
||||
"температуры"
|
||||
],
|
||||
"desc": "Калибровка термодатчика"
|
||||
"desc": "Калибровка термодатчика жала"
|
||||
},
|
||||
"SettingsReset": {
|
||||
"text": "СБРОС?",
|
||||
"text": "Сброс?",
|
||||
"text2": [
|
||||
"Сбросить все",
|
||||
"настройки?"
|
||||
"Сброс",
|
||||
"Настроек"
|
||||
],
|
||||
"desc": "Сброс всех настроек"
|
||||
"desc": "Сброс настроек к значеням по умолчанию"
|
||||
},
|
||||
"VoltageCalibration": {
|
||||
"text": "КалибрU?",
|
||||
"text": "КалНапр",
|
||||
"text2": [
|
||||
"Калибровка",
|
||||
"напряжения"
|
||||
],
|
||||
"desc": "Калибровка входного напряжения. Настройка кнопками, нажать и удержать чтобы завершить"
|
||||
"desc": "Калибровка входного напряжения <длинное нажатие для выхода>"
|
||||
},
|
||||
"AdvancedSoldering": {
|
||||
"text": "ИнфПай",
|
||||
"text": "ИнфПайк",
|
||||
"text2": [
|
||||
"Подробный ре-",
|
||||
"жим пайки"
|
||||
"Подробный",
|
||||
"экран пайки"
|
||||
],
|
||||
"desc": "Показывать детальную информацию при пайке"
|
||||
"desc": "Показывать детальную информацию на экране пайки"
|
||||
},
|
||||
"ScrollingSpeed": {
|
||||
"text": "DESCSP",
|
||||
"text": "СкорТекс",
|
||||
"text2": [
|
||||
"Скорость",
|
||||
"текста"
|
||||
],
|
||||
"desc": "Скорость прокрутки текста"
|
||||
"desc": "Скорость прокрутки текста <М=медленно, Б=быстро>"
|
||||
},
|
||||
"TipModel": {
|
||||
"text": "TIPMO",
|
||||
"text": "МодЖала",
|
||||
"text2": [
|
||||
"Модель",
|
||||
"жало"
|
||||
"жала"
|
||||
],
|
||||
"desc": "Выбор модели жало"
|
||||
"desc": "Выбор модели жала"
|
||||
},
|
||||
"SimpleCalibrationMode": {
|
||||
"text": "SMPCAL",
|
||||
"text": "УпрКал",
|
||||
"text2": [
|
||||
"Простая",
|
||||
"Упрощенная",
|
||||
"калибровка"
|
||||
],
|
||||
"desc": "Простая калибровка с использованием горячей воды"
|
||||
"desc": "Упрощенная калибровка с использованием горячей воды"
|
||||
},
|
||||
"AdvancedCalibrationMode": {
|
||||
"text": "ADVCAL",
|
||||
"text": "УлучшКал",
|
||||
"text2": [
|
||||
"Подробная",
|
||||
"Улучшенная",
|
||||
"калибровка"
|
||||
],
|
||||
"desc": "Калибровка с помощью термопары"
|
||||
"desc": "Улучшенная калибровка с импользованием термопары жала"
|
||||
},
|
||||
"PowerInput": {
|
||||
"text": "PWRW",
|
||||
"text": "МощнИст",
|
||||
"text2": [
|
||||
"Мощность",
|
||||
"адаптера"
|
||||
"питания"
|
||||
],
|
||||
"desc": "Мощность используемого адаптера питания"
|
||||
"desc": "Мощность используемого источника питания"
|
||||
},
|
||||
"PowerLimitEnable": {
|
||||
"text": "PLIMEN",
|
||||
"text": "ВклЛимW",
|
||||
"text2": [
|
||||
"Ограничение",
|
||||
"мощности"
|
||||
],
|
||||
"desc": "Включает ограничение мощности потребления"
|
||||
"desc": "Включить лимит потребляемой мощности"
|
||||
},
|
||||
"PowerLimit": {
|
||||
"text": "PLIM",
|
||||
"text": "ЗначЛимW",
|
||||
"text2": [
|
||||
"Максимальная",
|
||||
"мощность"
|
||||
],
|
||||
"desc": "Макс. мощность, которую может использовать паяльник <Ватт>"
|
||||
"desc": "Максимальная мощность, которую может использовать паяльник <Ватт>"
|
||||
},
|
||||
"ReverseButtonTempChange": {
|
||||
"text": "RVTCHG",
|
||||
"text": "ИнвКноп",
|
||||
"text2": [
|
||||
"Key +-",
|
||||
"reverse?"
|
||||
"Инвертировать",
|
||||
"кнопки"
|
||||
],
|
||||
"desc": "Reverse the tip temperature change buttons plus minus assignment."
|
||||
"desc": "Инвертировать кнопки изменения температуры"
|
||||
},
|
||||
"TempChangeShortStep": {
|
||||
"text": "TCHGST",
|
||||
"text": "ШагКорт",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"short?"
|
||||
"Шаг темп.",
|
||||
"кор. наж."
|
||||
],
|
||||
"desc": "Temperature change steps on short button press!"
|
||||
"desc": "Шаг изменения температуры при коротком нажатии кнопок"
|
||||
},
|
||||
"TempChangeLongStep": {
|
||||
"text": "TCHGLT",
|
||||
"text": "ШагДлин",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"long?"
|
||||
"Шаг темп.",
|
||||
"длин. наж."
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
"desc": "Шаг изменения температуры при длинном нажатии кнопок"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -274,6 +274,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,6 +273,22 @@
|
||||
"long?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Power",
|
||||
"Pulse W"
|
||||
],
|
||||
"desc": "Keep awake pulse power intensity"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,34 +5,36 @@
|
||||
"messages": {
|
||||
"SettingsCalibrationDone": "Калібрування виконане!",
|
||||
"SettingsCalibrationWarning": "Переконайтеся, що жало охололо до кімнатної температури, перш ніж продовжувати!",
|
||||
"SettingsResetWarning": "Ви дійсно хочете скинути налаштування до значень за замовчуванням?",
|
||||
"SettingsResetWarning": "Ви дійсно хочете скинути налаштування до значень за замовчуванням? <A - Так, В - Ні>",
|
||||
"UVLOWarningString": "АККУМ--",
|
||||
"UndervoltageString": "Під живленням",
|
||||
"UndervoltageString": "Низ. напруга",
|
||||
"InputVoltageString": "Жив.(B): ",
|
||||
"WarningTipTempString": "Жало t°: ",
|
||||
"BadTipString": "Жало--",
|
||||
"SleepingSimpleString": "Сон ",
|
||||
"BadTipString": "ЖАЛО--",
|
||||
"SleepingSimpleString": "ZzZzz",
|
||||
"SleepingAdvancedString": "Очікування...",
|
||||
"WarningSimpleString": "АЙ!",
|
||||
"WarningAdvancedString": "УВАГА ГАРЯЧЕ!",
|
||||
"WarningSimpleString": "ГАРЯЧЕ!",
|
||||
"WarningAdvancedString": "!!! ГАРЯЧЕ ЖАЛО !!!",
|
||||
"SleepingTipAdvancedString": "Жало:",
|
||||
"IdleTipString": "Жало:",
|
||||
"IdleSetString": " ->",
|
||||
"TipDisconnectedString": "Жало вимкнено!",
|
||||
"SolderingAdvancedPowerPrompt": "Живлення: ",
|
||||
"OffString": "Вимк",
|
||||
"ResetOKMessage": "Reset OK"
|
||||
"ResetOKMessage": "Скидання OK",
|
||||
"YourGainMessage": "Приріст:",
|
||||
"SettingsResetMessage": "Налаштування скинуті!"
|
||||
},
|
||||
"characters": {
|
||||
"SettingRightChar": "П",
|
||||
"SettingLeftChar": "Л",
|
||||
"SettingAutoChar": "A",
|
||||
"SettingFastChar": "+",
|
||||
"SettingSlowChar": "-",
|
||||
"SettingStartSolderingChar": "T",
|
||||
"SettingStartSleepChar": "S",
|
||||
"SettingStartSleepOffChar": "O",
|
||||
"SettingStartNoneChar": "F"
|
||||
"SettingFastChar": "Ш",
|
||||
"SettingSlowChar": "П",
|
||||
"SettingStartSolderingChar": "П",
|
||||
"SettingStartSleepChar": "О",
|
||||
"SettingStartSleepOffChar": "К",
|
||||
"SettingStartNoneChar": "В"
|
||||
},
|
||||
"menuDouble": true,
|
||||
"menuGroups": {
|
||||
@@ -88,7 +90,7 @@
|
||||
"Тайм-аут",
|
||||
"сну"
|
||||
],
|
||||
"desc": "Час до переходу в режим очікування <Хвилини>"
|
||||
"desc": "Час до переходу в режим очікування <Хвилини/Секунди>"
|
||||
},
|
||||
"ShutdownTimeout": {
|
||||
"text": "",
|
||||
@@ -104,7 +106,7 @@
|
||||
"Чутл. сенсо-",
|
||||
"ру руху"
|
||||
],
|
||||
"desc": "Акселерометр <0 - Вимк. 1 хв. чутливості 9 - макс. чутливості>"
|
||||
"desc": "Акселерометр <0 - Вимк. 1 - мін. чутливості 9 - макс. чутливості>"
|
||||
},
|
||||
"TemperatureUnit": {
|
||||
"text": "",
|
||||
@@ -152,7 +154,7 @@
|
||||
"Гарячий",
|
||||
"старт"
|
||||
],
|
||||
"desc": "Автоматичний перехід в режим пайки при ввімкнені живлення."
|
||||
"desc": "Режим з яким запускається паяльник при подачі живлення <П=Пайка, О=Очікування, К=Очікування при кімн. темп., В=Вимк.>"
|
||||
},
|
||||
"CooldownBlink": {
|
||||
"text": "",
|
||||
@@ -200,7 +202,7 @@
|
||||
"Швидкість",
|
||||
"тексту"
|
||||
],
|
||||
"desc": "Швидкість прокрутки тексту"
|
||||
"desc": "Швидкість прокрутки тексту <П=повільно, Ш=швидко>"
|
||||
},
|
||||
"TipModel": {
|
||||
"text": "TIPMO",
|
||||
@@ -245,34 +247,50 @@
|
||||
"PowerLimit": {
|
||||
"text": "PLIM",
|
||||
"text2": [
|
||||
"Максимальна",
|
||||
"потужність"
|
||||
"Макс.",
|
||||
"потуж."
|
||||
],
|
||||
"desc": "Макс. потужність, яку може використовувати паяльник <Ват>"
|
||||
},
|
||||
"ReverseButtonTempChange": {
|
||||
"text": "RVTCHG",
|
||||
"text2": [
|
||||
"Key +-",
|
||||
"reverse?"
|
||||
"Інвертувати",
|
||||
"кнопки +-?"
|
||||
],
|
||||
"desc": "Reverse the tip temperature change buttons plus minus assignment."
|
||||
"desc": "Інвертувати кнопки зміни температури."
|
||||
},
|
||||
"TempChangeShortStep": {
|
||||
"text": "TCHGST",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"short?"
|
||||
"Зм. темп.",
|
||||
"коротко?"
|
||||
],
|
||||
"desc": "Temperature change steps on short button press!"
|
||||
"desc": "Змінювати температуру при короткому натисканні!"
|
||||
},
|
||||
"TempChangeLongStep": {
|
||||
"text": "TCHGLT",
|
||||
"text2": [
|
||||
"Temp change",
|
||||
"long?"
|
||||
"Зм. темп.",
|
||||
"довго?"
|
||||
],
|
||||
"desc": "Temperature change steps on long button press!"
|
||||
"desc": "Змінювати температуру при довгому натисканні!"
|
||||
},
|
||||
"PowerPulsePower":{
|
||||
"text": "POWPLS",
|
||||
"text2": [
|
||||
"Пульс.",
|
||||
"Навантаж."
|
||||
],
|
||||
"desc": "Деякі PowerBank-и з часом вимк. живлення, якщо пристрій споживає дуже мало енергії (це потрібно щоб паяльник не вимкнувся з часом)"
|
||||
},
|
||||
"TipGain": {
|
||||
"text": "TG",
|
||||
"text2": [
|
||||
"Modify",
|
||||
"tip gain"
|
||||
],
|
||||
"desc": "Tip gain"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -282,6 +282,16 @@ var def =
|
||||
"id": "TempChangeLongStep",
|
||||
"maxLen": 6,
|
||||
"maxLen2": 16
|
||||
},
|
||||
{
|
||||
"id": "PowerPulsePower",
|
||||
"maxLen": 6,
|
||||
"maxLen2": 16
|
||||
},
|
||||
{
|
||||
"id": "TipGain",
|
||||
"maxLen": 6,
|
||||
"maxLen2": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
version: '3'
|
||||
version: "3"
|
||||
services:
|
||||
builder:
|
||||
stdin_open: true
|
||||
|
||||
2
menu.md
2
menu.md
@@ -1,5 +1,6 @@
|
||||
# Menu System
|
||||
|
||||
In this firmware for these soldering irons, all settings are adjustable on the device itself. This means you do **not** require a computer to change any settings.
|
||||
|
||||
## Soldering mode
|
||||
|
||||
@@ -24,7 +25,6 @@ Scrolling through the submenu will return you back to its entry location after y
|
||||
Due to the tolerance on the resistors used for the input voltage divider, some irons can be up to 0.6V out on the voltage measurement.
|
||||
Please calibrate your iron if you have any issues with the cutoff voltage.
|
||||
Note that cutoff messages can also be triggered by using a power supply that is too weak and fails under the load of the iron.
|
||||
This is more critical than before with the new cell count based cutout voltage.
|
||||
|
||||
To calibrate your iron:
|
||||
|
||||
|
||||
72
upgrading.md
Normal file
72
upgrading.md
Normal file
@@ -0,0 +1,72 @@
|
||||
# Upgrading your iron
|
||||
|
||||
## Miniware irons (TS100, TS80, TS80P)
|
||||
|
||||
This is completely safe, but if it goes wrong just put the .hex file from the official website onto the unit and you're back to the old firmware. Downloads for the hex files to flash are available on the [releases page.](https://github.com/Ralim/ts100/releases) The file you want is called *(MODEL)_EN.hex* unless you want the translations, they are (MODEL)_*language short name*.hex. Where (MODEL) is either TS100 or TS80.
|
||||
|
||||
Officially the bootloader on the iron only works under Windows (use the built-in File Explorer, as alternative file managers or copy handlers like Teracopy will fail). However, users have reported that it does work under Mac, and can be made to work under Linux *sometimes*. Details over on the [wiki page](https://github.com/Ralim/ts100/wiki/Upgrading-Firmware).
|
||||
|
||||
|
||||
|
||||
1. Hold the button closest to the tip, and plug in the USB to the computer.
|
||||
2. The unit will appear as a USB drive.
|
||||
3. Drag the .hex file onto the USB drive.
|
||||
4. The unit will disconnect and reconnect.
|
||||
5. The filename will have changed to end in .RDY or .ERR
|
||||
6. If it ends with .RDY you're done! Otherwise, something went wrong.
|
||||
7. If it didn't work the first time, try copying the file again without disconnecting the iron, often it will work on the second shot.
|
||||
8. Disconnect the USB and power up the iron. You're good to go.
|
||||
|
||||
|
||||
|
||||
For the more adventurous out there, you can also load this firmware onto the device using an SWD programmer.
|
||||
|
||||
On the bottom of the MCU riser PCB, there are 4 pads for programming. On v2.51A PCB revision `USB_D+` is shorted to `SWDIO` and `USB_D-` is shorted to `SWCLK` so debugging works without disassembly (attach while staying in the bootloader). Installing [dapboot from eDesignOSS](https://github.com/eDesignOSS/dapboot) (`make TARGET=TS100 -C src`) is recommended as it allows reliable flashing of binary files with [dfu-util](http://dfu-util.sourceforge.net/).
|
||||
|
||||
There is a complete device flash backup included in this repository. (Note this includes the bootloader, so will need an SWD programmer to load onto the unit).
|
||||
|
||||
For the TS80 the SWD pins are used for the QC negotiation, so you can actually connect to the SWD power via the USB connector.
|
||||
|
||||
|
||||
### FAQ
|
||||
|
||||
#### The file is showing up with the extension `.ERR`
|
||||
|
||||
This can occur duing the programming process if any of the checks in the bootloader fail. This is often triggered by anti-virus software or using a non-windows host OS.
|
||||
|
||||
First, try just copying the file a second time.
|
||||
|
||||
1. Attach the iron in DFU mode
|
||||
2. Copy the hex file to the device
|
||||
3. The device disconnects and connects with the `.ERR` file
|
||||
4. Copy the same hex file again **DO NOT TRY AND DELETE THE OLD ONE**
|
||||
5. The device will disconnect and reconnect again
|
||||
6. The device _should_ now have the `.RDY` file
|
||||
7. Your done.
|
||||
|
||||
If this fails, if you are on Mac or Linux reading the wiki page about programming can help. There is also a very long issue thread going through all of the different attempts around this too.
|
||||
|
||||
If you are on windows, its often to try another computer (friends, work, partners etc).
|
||||
|
||||
#### Device randomly disconnects or does not show up in DFU mode
|
||||
|
||||
First, check the USB cable your using has the data pins; test it on another device. There are a surprisingly large number of usb-micro cables that are power _only_.
|
||||
|
||||
Secondly, try other USB ports. Often different USB controllers will interact with the units differently due to design quirks in the miniware design.
|
||||
|
||||
## Setting a custom bootup image
|
||||
|
||||
This firmware uses a different method of updating the bootup image.
|
||||
This removes the need for emulating a USB drive on the iron just to allow for a bootup image to be setup.
|
||||
There are further instructions on the [wiki](https://github.com/Ralim/ts100/wiki/Logo-Editor).
|
||||
Instructions are kept on the wiki so that users can update the information if they find extra helpful information.
|
||||
|
||||
## Alternative bootloader
|
||||
|
||||
If you are an advanced user, and you have used `usb-dfu` tools before, or you would like to learn; there is an alternative bootloader for these irons.
|
||||
This will **NOT** show up as a USB storage drive, but instead show up using a standard DFU protocol device. You can then use dfu tools or GUI's to upgrade the iron using the `.bin` files that are posted to the releases page.
|
||||
|
||||
To change to dapboot based alternative bootloader, you need to flash the hex file from [here](https://github.com/eDesignOSS/ts100-bl-flasher/releases).
|
||||
`ts100-stockbl.hex` will reflash the stock bootloader, `ts100-dapboot.hex` will flash the new dapboot based usb bootloader.
|
||||
|
||||
Note that this is only reccomended for users who know what they doing. If you dont not understand how this works; please dont flash this.
|
||||
58
workspace/TS100/Core/BSP/BSP.h
Normal file
58
workspace/TS100/Core/BSP/BSP.h
Normal file
@@ -0,0 +1,58 @@
|
||||
#include "BSP_Flash.h"
|
||||
#include "BSP_Power.h"
|
||||
#include "BSP_QC.h"
|
||||
#include "Defines.h"
|
||||
#include "Model_Config.h"
|
||||
#include "stdint.h"
|
||||
/*
|
||||
* BSP.h -- Board Support
|
||||
*
|
||||
* This exposes functions that are expected to be implemented to add support for different hardware
|
||||
*/
|
||||
|
||||
#ifndef BSP_BSP_H_
|
||||
#define BSP_BSP_H_
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Called first thing in main() to init the hardware
|
||||
void preRToSInit();
|
||||
// Called once the RToS has started for any extra work
|
||||
void postRToSInit();
|
||||
|
||||
// Called to reset the hardware watchdog unit
|
||||
void resetWatchdog();
|
||||
// Accepts a output level of 0.. to use to control the tip output PWM
|
||||
void setTipPWM(uint8_t pulse);
|
||||
// Returns the Handle temp in C, X10
|
||||
uint16_t getHandleTemperature();
|
||||
// Returns the Tip temperature ADC reading in raw units
|
||||
uint16_t getTipRawTemp(uint8_t refresh);
|
||||
// Returns the main DC input voltage, using the adjustable divisor + sample flag
|
||||
uint16_t getInputVoltageX10(uint16_t divisor, uint8_t sample);
|
||||
|
||||
// Readers for the two buttons
|
||||
// !! Returns 1 if held down, 0 if released
|
||||
uint8_t getButtonA();
|
||||
uint8_t getButtonB();
|
||||
|
||||
// This is a work around that will be called if I2C starts to bug out
|
||||
// This should toggle the SCL line until SDA goes high to end the current transaction
|
||||
void unstick_I2C();
|
||||
|
||||
// Reboot the IC when things go seriously wrong
|
||||
void reboot();
|
||||
|
||||
// If the user has programmed in a bootup logo, draw it to the screen from flash
|
||||
// Returns 1 if the logo was printed so that the unit waits for the timeout or button
|
||||
uint8_t showBootLogoIfavailable();
|
||||
//delay wrapper for delay using the hardware timer (used before RTOS)
|
||||
void delay_ms(uint16_t count) ;
|
||||
//Used to allow knowledge of if usb_pd is being used
|
||||
uint8_t usb_pd_detect();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* BSP_BSP_H_ */
|
||||
26
workspace/TS100/Core/BSP/BSP_Flash.h
Normal file
26
workspace/TS100/Core/BSP/BSP_Flash.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* BSP_Flash.h
|
||||
*
|
||||
* Created on: 29 May 2020
|
||||
* Author: Ralim
|
||||
*/
|
||||
#include "stdint.h"
|
||||
#ifndef BSP_BSP_FLASH_H_
|
||||
#define BSP_BSP_FLASH_H_
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/*
|
||||
* Wrappers to allow read/writing to a sector of flash that we use to store all of the user settings
|
||||
*
|
||||
* Should allow reading and writing to the flash
|
||||
*/
|
||||
|
||||
//Erase the flash, then save the buffer. Returns 1 if worked
|
||||
uint8_t flash_save_buffer(const uint8_t *buffer, const uint16_t length);
|
||||
|
||||
void flash_read_buffer(uint8_t *buffer, const uint16_t length);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* BSP_BSP_FLASH_H_ */
|
||||
16
workspace/TS100/Core/BSP/BSP_PD.h
Normal file
16
workspace/TS100/Core/BSP/BSP_PD.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* BSP_PD.h
|
||||
*
|
||||
* Created on: 21 Jul 2020
|
||||
* Author: Ralim
|
||||
*/
|
||||
|
||||
#ifndef USER_BSP_PD_H_
|
||||
#define USER_BSP_PD_H_
|
||||
#include "BSP.h"
|
||||
/*
|
||||
* An array of all of the desired voltages & minimum currents in preferred order
|
||||
*/
|
||||
extern const uint16_t USB_PD_Desired_Levels[];
|
||||
extern const uint8_t USB_PD_Desired_Levels_Len;
|
||||
#endif /* USER_BSP_PD_H_ */
|
||||
24
workspace/TS100/Core/BSP/BSP_Power.h
Normal file
24
workspace/TS100/Core/BSP/BSP_Power.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#include "stdint.h"
|
||||
/*
|
||||
* BSP_Power.h -- Board Support for Power control
|
||||
*
|
||||
* These functions are hooks used to allow for power control
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef BSP_POWER_H_
|
||||
#define BSP_POWER_H_
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
// Called periodically in the movement handling thread
|
||||
// Can be used to check any details for the power system
|
||||
void power_check();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
42
workspace/TS100/Core/BSP/BSP_QC.h
Normal file
42
workspace/TS100/Core/BSP/BSP_QC.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* BSP_QC.h
|
||||
*
|
||||
* Created on: 29 May 2020
|
||||
* Author: Ralim
|
||||
*/
|
||||
|
||||
#ifndef BSP_BSP_QC_H_
|
||||
#define BSP_BSP_QC_H_
|
||||
#include "stdint.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Init GPIO for QC neg
|
||||
void QC_Init_GPIO();
|
||||
// Set the DP pin to 0.6V
|
||||
void QC_DPlusZero_Six();
|
||||
// Set the DM pin to 0.6V
|
||||
void QC_DNegZero_Six();
|
||||
// Set the DP pin to 3.3V
|
||||
void QC_DPlusThree_Three();
|
||||
// Set the DM pin to 3.3V
|
||||
void QC_DNegThree_Three();
|
||||
// Turn on weak pulldown on the DM pin
|
||||
// This is used as a helper for some power banks
|
||||
void QC_DM_PullDown();
|
||||
// Turn off the pulldown
|
||||
void QC_DM_No_PullDown();
|
||||
// Turn on output drivers that were initally disabled to prevent spike through QC disable mode
|
||||
void QC_Post_Probe_En();
|
||||
// Check if DM was pulled down
|
||||
// 1=Pulled down, 0 == pulled high
|
||||
uint8_t QC_DM_PulledDown();
|
||||
|
||||
// Re-sync if required
|
||||
void QC_resync();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* BSP_BSP_QC_H_ */
|
||||
19
workspace/TS100/Core/BSP/Defines.h
Normal file
19
workspace/TS100/Core/BSP/Defines.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Defines.h
|
||||
*
|
||||
* Created on: 29 May 2020
|
||||
* Author: Ralim
|
||||
*/
|
||||
|
||||
#ifndef BSP_DEFINES_H_
|
||||
#define BSP_DEFINES_H_
|
||||
|
||||
|
||||
enum Orientation {
|
||||
ORIENTATION_LEFT_HAND = 0, ORIENTATION_RIGHT_HAND = 1, ORIENTATION_FLAT = 3
|
||||
};
|
||||
|
||||
//It is assumed that all hardware implements an 8Hz update period at this time
|
||||
#define PID_TIM_HZ (8)
|
||||
|
||||
#endif /* BSP_DEFINES_H_ */
|
||||
309
workspace/TS100/Core/BSP/Miniware/BSP.cpp
Normal file
309
workspace/TS100/Core/BSP/Miniware/BSP.cpp
Normal file
@@ -0,0 +1,309 @@
|
||||
//BSP mapping functions
|
||||
|
||||
#include <IRQ.h>
|
||||
#include "BSP.h"
|
||||
#include "Setup.h"
|
||||
#include "history.hpp"
|
||||
#include "Pins.h"
|
||||
#include "main.hpp"
|
||||
#include "history.hpp"
|
||||
#include "Model_Config.h"
|
||||
#include "I2C_Wrapper.hpp"
|
||||
volatile uint16_t PWMSafetyTimer = 0;
|
||||
volatile uint8_t pendingPWM = 0;
|
||||
|
||||
//2 second filter (ADC is PID_TIM_HZ Hz)
|
||||
history<uint16_t, PID_TIM_HZ> rawTempFilter = { { 0 }, 0, 0 };
|
||||
void resetWatchdog() {
|
||||
HAL_IWDG_Refresh(&hiwdg);
|
||||
}
|
||||
#ifdef TEMP_NTC
|
||||
//Lookup table for the NTC
|
||||
//Stored as ADCReading,Temp in degC
|
||||
static const uint16_t NTCHandleLookup[] = {
|
||||
//ADC Reading , Temp in C
|
||||
29189, 0, //
|
||||
29014, 1, //
|
||||
28832, 2, //
|
||||
28644, 3, //
|
||||
28450, 4, //
|
||||
28249, 5, //
|
||||
28042, 6, //
|
||||
27828, 7, //
|
||||
27607, 8, //
|
||||
27380, 9, //
|
||||
27146, 10, //
|
||||
26906, 11, //
|
||||
26660, 12, //
|
||||
26407, 13, //
|
||||
26147, 14, //
|
||||
25882, 15, //
|
||||
25610, 16, //
|
||||
25332, 17, //
|
||||
25049, 18, //
|
||||
24759, 19, //
|
||||
24465, 20, //
|
||||
24164, 21, //
|
||||
23859, 22, //
|
||||
23549, 23, //
|
||||
23234, 24, //
|
||||
22915, 25, //
|
||||
22591, 26, //
|
||||
22264, 27, //
|
||||
21933, 28, //
|
||||
21599, 29, //
|
||||
// 21261, 30, //
|
||||
// 20921, 31, //
|
||||
// 20579, 32, //
|
||||
// 20234, 33, //
|
||||
// 19888, 34, //
|
||||
// 19541, 35, //
|
||||
// 19192, 36, //
|
||||
// 18843, 37, //
|
||||
// 18493, 38, //
|
||||
// 18143, 39, //
|
||||
// 17793, 40, //
|
||||
// 17444, 41, //
|
||||
// 17096, 42, //
|
||||
// 16750, 43, //
|
||||
// 16404, 44, //
|
||||
// 16061, 45, //
|
||||
// 15719, 46, //
|
||||
// 15380, 47, //
|
||||
// 15044, 48, //
|
||||
// 14710, 49, //
|
||||
// 14380, 50, //
|
||||
// 14053, 51, //
|
||||
// 13729, 52, //
|
||||
// 13410, 53, //
|
||||
// 13094, 54, //
|
||||
// 12782, 55, //
|
||||
// 12475, 56, //
|
||||
// 12172, 57, //
|
||||
// 11874, 58, //
|
||||
// 11580, 59, //
|
||||
// 11292, 60, //
|
||||
};
|
||||
#endif
|
||||
uint16_t getHandleTemperature() {
|
||||
#ifdef TEMP_NTC
|
||||
//TS80P uses 100k NTC resistors instead
|
||||
//NTCG104EF104FT1X from TDK
|
||||
//For now not doing interpolation
|
||||
int32_t result = getADC(0);
|
||||
for (uint32_t i = 0; i < (sizeof(NTCHandleLookup) / (2 * sizeof(uint16_t)));
|
||||
i++) {
|
||||
if (result > NTCHandleLookup[(i * 2) + 0]) {
|
||||
return NTCHandleLookup[(i * 2) + 1] * 10;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
#endif
|
||||
#ifdef TEMP_TMP36
|
||||
// We return the current handle temperature in X10 C
|
||||
// TMP36 in handle, 0.5V offset and then 10mV per deg C (0.75V @ 25C for
|
||||
// example) STM32 = 4096 count @ 3.3V input -> But We oversample by 32/(2^2) =
|
||||
// 8 times oversampling Therefore 32768 is the 3.3V input, so 0.1007080078125
|
||||
// mV per count So we need to subtract an offset of 0.5V to center on 0C
|
||||
// (4964.8 counts)
|
||||
//
|
||||
int32_t result = getADC(0);
|
||||
result -= 4965; // remove 0.5V offset
|
||||
// 10mV per C
|
||||
// 99.29 counts per Deg C above 0C
|
||||
result *= 100;
|
||||
result /= 993;
|
||||
return result;
|
||||
#endif
|
||||
}
|
||||
|
||||
uint16_t getTipInstantTemperature() {
|
||||
uint16_t sum = 0; // 12 bit readings * 8 -> 15 bits
|
||||
uint16_t readings[8];
|
||||
//Looking to reject the highest outlier readings.
|
||||
//As on some hardware these samples can run into the op-amp recovery time
|
||||
//Once this time is up the signal stabilises quickly, so no need to reject minimums
|
||||
readings[0] = hadc1.Instance->JDR1;
|
||||
readings[1] = hadc1.Instance->JDR2;
|
||||
readings[2] = hadc1.Instance->JDR3;
|
||||
readings[3] = hadc1.Instance->JDR4;
|
||||
readings[4] = hadc2.Instance->JDR1;
|
||||
readings[5] = hadc2.Instance->JDR2;
|
||||
readings[6] = hadc2.Instance->JDR3;
|
||||
readings[7] = hadc2.Instance->JDR4;
|
||||
|
||||
for (int i = 0; i < 8; i++) {
|
||||
sum += readings[i];
|
||||
}
|
||||
return sum; // 8x over sample
|
||||
}
|
||||
|
||||
uint16_t getTipRawTemp(uint8_t refresh) {
|
||||
if (refresh) {
|
||||
uint16_t lastSample = getTipInstantTemperature();
|
||||
rawTempFilter.update(lastSample);
|
||||
return lastSample;
|
||||
} else {
|
||||
return rawTempFilter.average();
|
||||
}
|
||||
}
|
||||
|
||||
uint16_t getInputVoltageX10(uint16_t divisor, uint8_t sample) {
|
||||
// ADC maximum is 32767 == 3.3V at input == 28.05V at VIN
|
||||
// Therefore we can divide down from there
|
||||
// Multiplying ADC max by 4 for additional calibration options,
|
||||
// ideal term is 467
|
||||
#ifdef MODEL_TS100
|
||||
#define BATTFILTERDEPTH 32
|
||||
#else
|
||||
#define BATTFILTERDEPTH 8
|
||||
|
||||
#endif
|
||||
static uint8_t preFillneeded = 10;
|
||||
static uint32_t samples[BATTFILTERDEPTH];
|
||||
static uint8_t index = 0;
|
||||
if (preFillneeded) {
|
||||
for (uint8_t i = 0; i < BATTFILTERDEPTH; i++)
|
||||
samples[i] = getADC(1);
|
||||
preFillneeded--;
|
||||
}
|
||||
if (sample) {
|
||||
samples[index] = getADC(1);
|
||||
index = (index + 1) % BATTFILTERDEPTH;
|
||||
}
|
||||
uint32_t sum = 0;
|
||||
|
||||
for (uint8_t i = 0; i < BATTFILTERDEPTH; i++)
|
||||
sum += samples[i];
|
||||
|
||||
sum /= BATTFILTERDEPTH;
|
||||
if (divisor == 0) {
|
||||
divisor = 1;
|
||||
}
|
||||
return sum * 4 / divisor;
|
||||
}
|
||||
|
||||
void setTipPWM(uint8_t pulse) {
|
||||
PWMSafetyTimer = 10; // This is decremented in the handler for PWM so that the tip pwm is
|
||||
// disabled if the PID task is not scheduled often enough.
|
||||
|
||||
pendingPWM = pulse;
|
||||
}
|
||||
|
||||
// These are called by the HAL after the corresponding events from the system
|
||||
// timers.
|
||||
|
||||
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
|
||||
// Period has elapsed
|
||||
if (htim->Instance == TIM2) {
|
||||
// we want to turn on the output again
|
||||
PWMSafetyTimer--;
|
||||
// We decrement this safety value so that lockups in the
|
||||
// scheduler will not cause the PWM to become locked in an
|
||||
// active driving state.
|
||||
// While we could assume this could never happen, its a small price for
|
||||
// increased safety
|
||||
htim2.Instance->CCR4 = pendingPWM;
|
||||
if (htim2.Instance->CCR4 && PWMSafetyTimer) {
|
||||
HAL_TIM_PWM_Start(&htim3, TIM_CHANNEL_1);
|
||||
} else {
|
||||
HAL_TIM_PWM_Stop(&htim3, TIM_CHANNEL_1);
|
||||
}
|
||||
} else if (htim->Instance == TIM1) {
|
||||
// STM uses this for internal functions as a counter for timeouts
|
||||
HAL_IncTick();
|
||||
}
|
||||
}
|
||||
|
||||
void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) {
|
||||
// This was a when the PWM for the output has timed out
|
||||
if (htim->Channel == HAL_TIM_ACTIVE_CHANNEL_4) {
|
||||
HAL_TIM_PWM_Stop(&htim3, TIM_CHANNEL_1);
|
||||
}
|
||||
}
|
||||
void unstick_I2C() {
|
||||
GPIO_InitTypeDef GPIO_InitStruct;
|
||||
int timeout = 100;
|
||||
int timeout_cnt = 0;
|
||||
|
||||
// 1. Clear PE bit.
|
||||
hi2c1.Instance->CR1 &= ~(0x0001);
|
||||
/**I2C1 GPIO Configuration
|
||||
PB6 ------> I2C1_SCL
|
||||
PB7 ------> I2C1_SDA
|
||||
*/
|
||||
// 2. Configure the SCL and SDA I/Os as General Purpose Output Open-Drain, High level (Write 1 to GPIOx_ODR).
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_OD;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
|
||||
GPIO_InitStruct.Pin = SCL_Pin;
|
||||
HAL_GPIO_Init(SCL_GPIO_Port, &GPIO_InitStruct);
|
||||
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_SET);
|
||||
|
||||
GPIO_InitStruct.Pin = SDA_Pin;
|
||||
HAL_GPIO_Init(SDA_GPIO_Port, &GPIO_InitStruct);
|
||||
HAL_GPIO_WritePin(SDA_GPIO_Port, SDA_Pin, GPIO_PIN_SET);
|
||||
|
||||
while (GPIO_PIN_SET != HAL_GPIO_ReadPin(SDA_GPIO_Port, SDA_Pin)) {
|
||||
//Move clock to release I2C
|
||||
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_RESET);
|
||||
asm("nop");
|
||||
asm("nop");
|
||||
asm("nop");
|
||||
asm("nop");
|
||||
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_SET);
|
||||
|
||||
timeout_cnt++;
|
||||
if (timeout_cnt > timeout)
|
||||
return;
|
||||
}
|
||||
|
||||
// 12. Configure the SCL and SDA I/Os as Alternate function Open-Drain.
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLUP;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
|
||||
GPIO_InitStruct.Pin = SCL_Pin;
|
||||
HAL_GPIO_Init(SCL_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
GPIO_InitStruct.Pin = SDA_Pin;
|
||||
HAL_GPIO_Init(SDA_GPIO_Port, &GPIO_InitStruct);
|
||||
|
||||
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(SDA_GPIO_Port, SDA_Pin, GPIO_PIN_SET);
|
||||
|
||||
// 13. Set SWRST bit in I2Cx_CR1 register.
|
||||
hi2c1.Instance->CR1 |= 0x8000;
|
||||
|
||||
asm("nop");
|
||||
|
||||
// 14. Clear SWRST bit in I2Cx_CR1 register.
|
||||
hi2c1.Instance->CR1 &= ~0x8000;
|
||||
|
||||
asm("nop");
|
||||
|
||||
// 15. Enable the I2C peripheral by setting the PE bit in I2Cx_CR1 register
|
||||
hi2c1.Instance->CR1 |= 0x0001;
|
||||
|
||||
// Call initialization function.
|
||||
HAL_I2C_Init(&hi2c1);
|
||||
}
|
||||
|
||||
uint8_t getButtonA() {
|
||||
return HAL_GPIO_ReadPin(KEY_A_GPIO_Port, KEY_A_Pin) == GPIO_PIN_RESET ?
|
||||
1 : 0;
|
||||
}
|
||||
uint8_t getButtonB() {
|
||||
return HAL_GPIO_ReadPin(KEY_B_GPIO_Port, KEY_B_Pin) == GPIO_PIN_RESET ?
|
||||
1 : 0;
|
||||
}
|
||||
|
||||
void reboot() {
|
||||
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
|
||||
void delay_ms(uint16_t count) {
|
||||
HAL_Delay(count);
|
||||
}
|
||||
22
workspace/TS100/Core/BSP/Miniware/BSP_PD.c
Normal file
22
workspace/TS100/Core/BSP/Miniware/BSP_PD.c
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* BSP_PD.c
|
||||
*
|
||||
* Created on: 21 Jul 2020
|
||||
* Author: Ralim
|
||||
*/
|
||||
|
||||
#include "BSP_PD.h"
|
||||
#include "Model_Config.h"
|
||||
#ifdef POW_PD
|
||||
/*
|
||||
* An array of all of the desired voltages & minimum currents in preferred order
|
||||
*/
|
||||
const uint16_t USB_PD_Desired_Levels[] = {
|
||||
//mV desired input, mA minimum required current
|
||||
12000, 2400, //12V @ 2.4A
|
||||
9000, 2000, //9V @ 2A
|
||||
5000, 100, //5V @ whatever
|
||||
|
||||
};
|
||||
const uint8_t USB_PD_Desired_Levels_Len = 3;
|
||||
#endif
|
||||
133
workspace/TS100/Core/BSP/Miniware/I2C_Wrapper.cpp
Normal file
133
workspace/TS100/Core/BSP/Miniware/I2C_Wrapper.cpp
Normal file
@@ -0,0 +1,133 @@
|
||||
/*
|
||||
* FRToSI2C.cpp
|
||||
*
|
||||
* Created on: 14Apr.,2018
|
||||
* Author: Ralim
|
||||
*/
|
||||
#include <I2C_Wrapper.hpp>
|
||||
#include "BSP.h"
|
||||
#include "Setup.h"
|
||||
#define I2CUSESDMA
|
||||
SemaphoreHandle_t FRToSI2C::I2CSemaphore;
|
||||
StaticSemaphore_t FRToSI2C::xSemaphoreBuffer;
|
||||
|
||||
void FRToSI2C::CpltCallback() {
|
||||
hi2c1.State = HAL_I2C_STATE_READY; // Force state reset (even if tx error)
|
||||
if (I2CSemaphore) {
|
||||
xSemaphoreGiveFromISR(I2CSemaphore, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
bool FRToSI2C::Mem_Read(uint16_t DevAddress, uint16_t MemAddress,
|
||||
uint8_t *pData, uint16_t Size) {
|
||||
|
||||
if (I2CSemaphore == NULL) {
|
||||
// no RToS, run blocking code
|
||||
HAL_I2C_Mem_Read(&hi2c1, DevAddress, MemAddress, I2C_MEMADD_SIZE_8BIT,
|
||||
pData, Size, 5000);
|
||||
return true;
|
||||
} else {
|
||||
// RToS is active, run threading
|
||||
// Get the mutex so we can use the I2C port
|
||||
// Wait up to 1 second for the mutex
|
||||
if (xSemaphoreTake(I2CSemaphore, (TickType_t)500) == pdTRUE) {
|
||||
#ifdef I2CUSESDMA
|
||||
if (HAL_I2C_Mem_Read(&hi2c1, DevAddress, MemAddress,
|
||||
I2C_MEMADD_SIZE_8BIT, pData, Size, 500) != HAL_OK) {
|
||||
|
||||
I2C_Unstick();
|
||||
xSemaphoreGive(I2CSemaphore);
|
||||
return false;
|
||||
} else {
|
||||
xSemaphoreGive(I2CSemaphore);
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
|
||||
if (HAL_I2C_Mem_Read(&hi2c1, DevAddress, MemAddress, I2C_MEMADD_SIZE_8BIT, pData, Size,
|
||||
5000)==HAL_OK){
|
||||
xSemaphoreGive(I2CSemaphore);
|
||||
return true;
|
||||
}
|
||||
xSemaphoreGive(I2CSemaphore);
|
||||
return false;
|
||||
#endif
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
void FRToSI2C::I2C_RegisterWrite(uint8_t address, uint8_t reg, uint8_t data) {
|
||||
Mem_Write(address, reg, &data, 1);
|
||||
}
|
||||
|
||||
uint8_t FRToSI2C::I2C_RegisterRead(uint8_t add, uint8_t reg) {
|
||||
uint8_t tx_data[1];
|
||||
Mem_Read(add, reg, tx_data, 1);
|
||||
return tx_data[0];
|
||||
}
|
||||
void FRToSI2C::Mem_Write(uint16_t DevAddress, uint16_t MemAddress,
|
||||
uint8_t *pData, uint16_t Size) {
|
||||
|
||||
if (I2CSemaphore == NULL) {
|
||||
// no RToS, run blocking code
|
||||
HAL_I2C_Mem_Write(&hi2c1, DevAddress, MemAddress, I2C_MEMADD_SIZE_8BIT,
|
||||
pData, Size, 5000);
|
||||
} else {
|
||||
// RToS is active, run threading
|
||||
// Get the mutex so we can use the I2C port
|
||||
// Wait up to 1 second for the mutex
|
||||
if (xSemaphoreTake(I2CSemaphore, (TickType_t)500) == pdTRUE) {
|
||||
if (HAL_I2C_Mem_Write(&hi2c1, DevAddress, MemAddress,
|
||||
I2C_MEMADD_SIZE_8BIT, pData, Size, 500) != HAL_OK) {
|
||||
|
||||
I2C_Unstick();
|
||||
xSemaphoreGive(I2CSemaphore);
|
||||
}
|
||||
xSemaphoreGive(I2CSemaphore);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void FRToSI2C::Transmit(uint16_t DevAddress, uint8_t *pData, uint16_t Size) {
|
||||
if (I2CSemaphore == NULL) {
|
||||
// no RToS, run blocking code
|
||||
HAL_I2C_Master_Transmit(&hi2c1, DevAddress, pData, Size, 5000);
|
||||
} else {
|
||||
// RToS is active, run threading
|
||||
// Get the mutex so we can use the I2C port
|
||||
// Wait up to 1 second for the mutex
|
||||
if (xSemaphoreTake(I2CSemaphore, (TickType_t)50) == pdTRUE) {
|
||||
#ifdef I2CUSESDMA
|
||||
|
||||
if (HAL_I2C_Master_Transmit_DMA(&hi2c1, DevAddress, pData, Size)
|
||||
!= HAL_OK) {
|
||||
|
||||
I2C_Unstick();
|
||||
xSemaphoreGive(I2CSemaphore);
|
||||
|
||||
}
|
||||
#else
|
||||
HAL_I2C_Master_Transmit(&hi2c1, DevAddress, pData, Size, 5000);
|
||||
xSemaphoreGive(I2CSemaphore);
|
||||
#endif
|
||||
|
||||
} else {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
bool FRToSI2C::probe(uint16_t DevAddress) {
|
||||
uint8_t buffer[1];
|
||||
return HAL_I2C_Mem_Read(&hi2c1, DevAddress, 0x0F, I2C_MEMADD_SIZE_8BIT,
|
||||
buffer, 1, 1000) == HAL_OK;
|
||||
|
||||
}
|
||||
|
||||
void FRToSI2C::I2C_Unstick() {
|
||||
unstick_I2C();
|
||||
}
|
||||
49
workspace/TS100/Core/BSP/Miniware/IRQ.cpp
Normal file
49
workspace/TS100/Core/BSP/Miniware/IRQ.cpp
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* IRQ.c
|
||||
*
|
||||
* Created on: 30 May 2020
|
||||
* Author: Ralim
|
||||
*/
|
||||
|
||||
#include "IRQ.h"
|
||||
#include "int_n.h"
|
||||
/*
|
||||
* Catch the IRQ that says that the conversion is done on the temperature
|
||||
* readings coming in Once these have come in we can unblock the PID so that it
|
||||
* runs again
|
||||
*/
|
||||
void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef *hadc) {
|
||||
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
|
||||
if (hadc == &hadc1) {
|
||||
if (pidTaskNotification) {
|
||||
vTaskNotifyGiveFromISR(pidTaskNotification,
|
||||
&xHigherPriorityTaskWoken);
|
||||
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
|
||||
}
|
||||
}
|
||||
}
|
||||
void HAL_I2C_MasterRxCpltCallback(I2C_HandleTypeDef *hi2c __unused) {
|
||||
FRToSI2C::CpltCallback();
|
||||
}
|
||||
void HAL_I2C_MasterTxCpltCallback(I2C_HandleTypeDef *hi2c __unused) {
|
||||
FRToSI2C::CpltCallback();
|
||||
}
|
||||
void HAL_I2C_MemTxCpltCallback(I2C_HandleTypeDef *hi2c __unused) {
|
||||
FRToSI2C::CpltCallback();
|
||||
}
|
||||
void HAL_I2C_ErrorCallback(I2C_HandleTypeDef *hi2c __unused) {
|
||||
|
||||
FRToSI2C::CpltCallback();
|
||||
}
|
||||
void HAL_I2C_AbortCpltCallback(I2C_HandleTypeDef *hi2c __unused) {
|
||||
|
||||
FRToSI2C::CpltCallback();
|
||||
}
|
||||
void HAL_I2C_MemRxCpltCallback(I2C_HandleTypeDef *hi2c __unused) {
|
||||
FRToSI2C::CpltCallback();
|
||||
}
|
||||
|
||||
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {
|
||||
(void)GPIO_Pin;
|
||||
InterruptHandler::irqCallback();
|
||||
}
|
||||
32
workspace/TS100/Core/BSP/Miniware/IRQ.h
Normal file
32
workspace/TS100/Core/BSP/Miniware/IRQ.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Irqs.h
|
||||
*
|
||||
* Created on: 30 May 2020
|
||||
* Author: Ralim
|
||||
*/
|
||||
|
||||
#ifndef BSP_MINIWARE_IRQ_H_
|
||||
#define BSP_MINIWARE_IRQ_H_
|
||||
|
||||
#include "BSP.h"
|
||||
#include "stm32f1xx_hal.h"
|
||||
#include "I2C_Wrapper.hpp"
|
||||
#include "Setup.h"
|
||||
#include "main.hpp"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef *hadc);
|
||||
void HAL_I2C_ErrorCallback(I2C_HandleTypeDef *hi2c);
|
||||
void HAL_I2C_AbortCpltCallback(I2C_HandleTypeDef *hi2c);
|
||||
void HAL_I2C_MasterTxCpltCallback(I2C_HandleTypeDef *hi2c);
|
||||
void HAL_I2C_MasterRxCpltCallback(I2C_HandleTypeDef *hi2c);
|
||||
void HAL_I2C_MemTxCpltCallback(I2C_HandleTypeDef *hi2c);
|
||||
void HAL_I2C_MemRxCpltCallback(I2C_HandleTypeDef *hi2c);
|
||||
void HAL_GPIO_EXTI_Callback(uint16_t);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* BSP_MINIWARE_IRQ_H_ */
|
||||
44
workspace/TS100/Core/BSP/Miniware/Model_Config.h
Normal file
44
workspace/TS100/Core/BSP/Miniware/Model_Config.h
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Model_Config.h
|
||||
*
|
||||
* Created on: 25 Jul 2020
|
||||
* Author: Ralim
|
||||
*/
|
||||
|
||||
#ifndef BSP_MINIWARE_MODEL_CONFIG_H_
|
||||
#define BSP_MINIWARE_MODEL_CONFIG_H_
|
||||
/*
|
||||
* Lookup for mapping features <-> Models
|
||||
*/
|
||||
|
||||
#if defined(MODEL_TS100) + defined(MODEL_TS80)+defined(MODEL_TS80P) > 1
|
||||
#error "Multiple models defined!"
|
||||
#elif defined(MODEL_TS100) + defined(MODEL_TS80)+ defined(MODEL_TS80P) == 0
|
||||
#error "No model defined!"
|
||||
#endif
|
||||
|
||||
#ifdef MODEL_TS100
|
||||
#define ACCEL_MMA
|
||||
#define ACCEL_LIS
|
||||
#define TEMP_TMP36
|
||||
#endif
|
||||
|
||||
#ifdef MODEL_TS80
|
||||
#define ACCEL_LIS
|
||||
#define POW_QC
|
||||
#define TEMP_TMP36
|
||||
#define LIS_ORI_FLIP
|
||||
#define OLED_FLIP
|
||||
#endif
|
||||
|
||||
#ifdef MODEL_TS80P
|
||||
#define ACCEL_LIS
|
||||
#define POW_PD
|
||||
#define POW_QC
|
||||
#define TEMP_NTC
|
||||
#define I2C_SOFT
|
||||
#define LIS_ORI_FLIP
|
||||
#define OLED_FLIP
|
||||
#endif
|
||||
|
||||
#endif /* BSP_MINIWARE_MODEL_CONFIG_H_ */
|
||||
123
workspace/TS100/Core/BSP/Miniware/Pins.h
Normal file
123
workspace/TS100/Core/BSP/Miniware/Pins.h
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Pins.h
|
||||
*
|
||||
* Created on: 29 May 2020
|
||||
* Author: Ralim
|
||||
*/
|
||||
|
||||
#ifndef BSP_MINIWARE_PINS_H_
|
||||
#define BSP_MINIWARE_PINS_H_
|
||||
#include "Model_Config.h"
|
||||
|
||||
#ifdef MODEL_TS100
|
||||
|
||||
#define KEY_B_Pin GPIO_PIN_6
|
||||
#define KEY_B_GPIO_Port GPIOA
|
||||
#define TMP36_INPUT_Pin GPIO_PIN_7
|
||||
#define TMP36_INPUT_GPIO_Port GPIOA
|
||||
#define TMP36_ADC1_CHANNEL ADC_CHANNEL_7
|
||||
#define TIP_TEMP_Pin GPIO_PIN_0
|
||||
#define TIP_TEMP_GPIO_Port GPIOB
|
||||
#define TIP_TEMP_ADC1_CHANNEL ADC_CHANNEL_8
|
||||
#define TIP_TEMP_ADC2_CHANNEL ADC_CHANNEL_8
|
||||
#define VIN_Pin GPIO_PIN_1
|
||||
#define VIN_GPIO_Port GPIOB
|
||||
#define VIN_ADC1_CHANNEL ADC_CHANNEL_9
|
||||
#define VIN_ADC2_CHANNEL ADC_CHANNEL_9
|
||||
#define OLED_RESET_Pin GPIO_PIN_8
|
||||
#define OLED_RESET_GPIO_Port GPIOA
|
||||
#define KEY_A_Pin GPIO_PIN_9
|
||||
#define KEY_A_GPIO_Port GPIOA
|
||||
#define INT_Orientation_Pin GPIO_PIN_3
|
||||
#define INT_Orientation_GPIO_Port GPIOB
|
||||
#define PWM_Out_Pin GPIO_PIN_4
|
||||
#define PWM_Out_GPIO_Port GPIOB
|
||||
#define PWM_Out_CHANNEL TIM_CHANNEL_1
|
||||
#define PWM_Out_CCR
|
||||
#define INT_Movement_Pin GPIO_PIN_5
|
||||
#define INT_Movement_GPIO_Port GPIOB
|
||||
#define SCL_Pin GPIO_PIN_6
|
||||
#define SCL_GPIO_Port GPIOB
|
||||
#define SDA_Pin GPIO_PIN_7
|
||||
#define SDA_GPIO_Port GPIOB
|
||||
#endif
|
||||
#ifdef MODEL_TS80
|
||||
// TS80 pin map
|
||||
#define KEY_B_Pin GPIO_PIN_0
|
||||
#define KEY_B_GPIO_Port GPIOB
|
||||
#define TMP36_INPUT_Pin GPIO_PIN_4
|
||||
#define TMP36_INPUT_GPIO_Port GPIOA
|
||||
#define TMP36_ADC1_CHANNEL ADC_CHANNEL_4
|
||||
#define TIP_TEMP_Pin GPIO_PIN_3
|
||||
#define TIP_TEMP_GPIO_Port GPIOA
|
||||
#define TIP_TEMP_ADC1_CHANNEL ADC_CHANNEL_3
|
||||
#define TIP_TEMP_ADC2_CHANNEL ADC_CHANNEL_3
|
||||
|
||||
#define VIN_Pin GPIO_PIN_2
|
||||
#define VIN_GPIO_Port GPIOA
|
||||
#define VIN_ADC1_CHANNEL ADC_CHANNEL_2
|
||||
#define VIN_ADC2_CHANNEL ADC_CHANNEL_2
|
||||
#define OLED_RESET_Pin GPIO_PIN_15
|
||||
#define OLED_RESET_GPIO_Port GPIOA
|
||||
#define KEY_A_Pin GPIO_PIN_1
|
||||
#define KEY_A_GPIO_Port GPIOB
|
||||
#define INT_Orientation_Pin GPIO_PIN_4
|
||||
#define INT_Orientation_GPIO_Port GPIOB
|
||||
#define PWM_Out_Pin GPIO_PIN_6
|
||||
#define PWM_Out_GPIO_Port GPIOA
|
||||
#define PWM_Out_CHANNEL TIM_CHANNEL_1
|
||||
#define INT_Movement_Pin GPIO_PIN_5
|
||||
#define INT_Movement_GPIO_Port GPIOB
|
||||
#define SCL_Pin GPIO_PIN_6
|
||||
#define SCL_GPIO_Port GPIOB
|
||||
#define SDA_Pin GPIO_PIN_7
|
||||
#define SDA_GPIO_Port GPIOB
|
||||
#define SCL2_Pin GPIO_PIN_5
|
||||
#define SCL2_GPIO_Port GPIOA
|
||||
#define SDA2_Pin GPIO_PIN_1
|
||||
#define SDA2_GPIO_Port GPIOA
|
||||
#define INT_PD_Pin GPIO_PIN_9
|
||||
#define INT_PD_GPIO_Port GPIOA
|
||||
|
||||
#endif
|
||||
#ifdef MODEL_TS80P
|
||||
// TS80P pin map
|
||||
#define KEY_B_Pin GPIO_PIN_0
|
||||
#define KEY_B_GPIO_Port GPIOB
|
||||
#define TMP36_INPUT_Pin GPIO_PIN_4
|
||||
#define TMP36_INPUT_GPIO_Port GPIOA
|
||||
#define TMP36_ADC1_CHANNEL ADC_CHANNEL_4
|
||||
#define TIP_TEMP_Pin GPIO_PIN_3
|
||||
#define TIP_TEMP_GPIO_Port GPIOA
|
||||
#define TIP_TEMP_ADC1_CHANNEL ADC_CHANNEL_3
|
||||
#define TIP_TEMP_ADC2_CHANNEL ADC_CHANNEL_3
|
||||
|
||||
#define VIN_Pin GPIO_PIN_2
|
||||
#define VIN_GPIO_Port GPIOA
|
||||
#define VIN_ADC1_CHANNEL ADC_CHANNEL_2
|
||||
#define VIN_ADC2_CHANNEL ADC_CHANNEL_2
|
||||
#define OLED_RESET_Pin GPIO_PIN_15
|
||||
#define OLED_RESET_GPIO_Port GPIOA
|
||||
#define KEY_A_Pin GPIO_PIN_1
|
||||
#define KEY_A_GPIO_Port GPIOB
|
||||
#define INT_Orientation_Pin GPIO_PIN_4
|
||||
#define INT_Orientation_GPIO_Port GPIOB
|
||||
#define PWM_Out_Pin GPIO_PIN_6
|
||||
#define PWM_Out_GPIO_Port GPIOA
|
||||
#define PWM_Out_CHANNEL TIM_CHANNEL_1
|
||||
#define INT_Movement_Pin GPIO_PIN_5
|
||||
#define INT_Movement_GPIO_Port GPIOB
|
||||
#define SCL_Pin GPIO_PIN_6
|
||||
#define SCL_GPIO_Port GPIOB
|
||||
#define SDA_Pin GPIO_PIN_7
|
||||
#define SDA_GPIO_Port GPIOB
|
||||
#define SCL2_Pin GPIO_PIN_5
|
||||
#define SCL2_GPIO_Port GPIOA
|
||||
#define SDA2_Pin GPIO_PIN_1
|
||||
#define SDA2_GPIO_Port GPIOA
|
||||
#define INT_PD_Pin GPIO_PIN_9
|
||||
#define INT_PD_GPIO_Port GPIOA
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* BSP_MINIWARE_PINS_H_ */
|
||||
36
workspace/TS100/Core/BSP/Miniware/Power.cpp
Normal file
36
workspace/TS100/Core/BSP/Miniware/Power.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
#include "BSP.h"
|
||||
#include "BSP_Power.h"
|
||||
#include "QC3.h"
|
||||
#include "Settings.h"
|
||||
#include "Pins.h"
|
||||
#include "fusbpd.h"
|
||||
#include "Model_Config.h"
|
||||
#include "policy_engine.h"
|
||||
#include "int_n.h"
|
||||
bool FUSB302_present = false;
|
||||
|
||||
void power_check() {
|
||||
#ifdef POW_PD
|
||||
if (FUSB302_present) {
|
||||
//Cant start QC until either PD works or fails
|
||||
if (PolicyEngine::setupCompleteOrTimedOut() == false) {
|
||||
return;
|
||||
}
|
||||
if (PolicyEngine::pdHasNegotiated()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#ifdef POW_QC
|
||||
QC_resync();
|
||||
#endif
|
||||
}
|
||||
uint8_t usb_pd_detect() {
|
||||
#ifdef POW_PD
|
||||
FUSB302_present = fusb302_detect();
|
||||
|
||||
return FUSB302_present;
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
76
workspace/TS100/Core/BSP/Miniware/QC_GPIO.cpp
Normal file
76
workspace/TS100/Core/BSP/Miniware/QC_GPIO.cpp
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* QC.c
|
||||
*
|
||||
* Created on: 29 May 2020
|
||||
* Author: Ralim
|
||||
*/
|
||||
#include "BSP.h"
|
||||
#include "Pins.h"
|
||||
#include "QC3.h"
|
||||
#include "Settings.h"
|
||||
#include "stm32f1xx_hal.h"
|
||||
#include "Model_Config.h"
|
||||
#ifdef POW_QC
|
||||
void QC_DPlusZero_Six() {
|
||||
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_3, GPIO_PIN_RESET); // pull down D+
|
||||
}
|
||||
void QC_DNegZero_Six() {
|
||||
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_10, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_8, GPIO_PIN_RESET);
|
||||
}
|
||||
void QC_DPlusThree_Three() {
|
||||
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_3, GPIO_PIN_SET); // pull up D+
|
||||
}
|
||||
void QC_DNegThree_Three() {
|
||||
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_10, GPIO_PIN_SET);
|
||||
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_8, GPIO_PIN_SET);
|
||||
}
|
||||
void QC_DM_PullDown() {
|
||||
GPIO_InitTypeDef GPIO_InitStruct;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
|
||||
GPIO_InitStruct.Pull = GPIO_PULLDOWN;
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_11;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
}
|
||||
void QC_DM_No_PullDown() {
|
||||
GPIO_InitTypeDef GPIO_InitStruct;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_11;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
}
|
||||
void QC_Init_GPIO() {
|
||||
// Setup any GPIO into the right states for QC
|
||||
GPIO_InitTypeDef GPIO_InitStruct;
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_3;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_8 | GPIO_PIN_10;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
// Turn off output mode on pins that we can
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_14 | GPIO_PIN_13;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
}
|
||||
void QC_Post_Probe_En() {
|
||||
GPIO_InitTypeDef GPIO_InitStruct;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_8 | GPIO_PIN_10;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
}
|
||||
|
||||
uint8_t QC_DM_PulledDown() { return HAL_GPIO_ReadPin(GPIOA, GPIO_PIN_11) == GPIO_PIN_RESET ? 1 : 0; }
|
||||
#endif
|
||||
void QC_resync() {
|
||||
#ifdef POW_QC
|
||||
seekQC((systemSettings.cutoutSetting) ? 120 : 90,
|
||||
systemSettings.voltageDiv); // Run the QC seek again if we have drifted too much
|
||||
#endif
|
||||
}
|
||||
12
workspace/TS100/Core/BSP/Miniware/README.md
Normal file
12
workspace/TS100/Core/BSP/Miniware/README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# BSP section for STM32F103 based Miniware products
|
||||
|
||||
This folder contains the hardware abstractions required for the TS100, TS80 and probably TS80P soldering irons.
|
||||
|
||||
## Main abstractions
|
||||
|
||||
* Hardware Init
|
||||
* -> Should contain all bootstrap to bring the hardware up to an operating point
|
||||
* -> Two functions are required, a pre and post FreeRToS call
|
||||
* I2C read/write
|
||||
* Set PWM for the tip
|
||||
* Links between IRQ's on the system and the calls in the rest of the firmware
|
||||
@@ -5,6 +5,7 @@
|
||||
* Author: Ben V. Brown
|
||||
*/
|
||||
#include "Setup.h"
|
||||
#include "Pins.h"
|
||||
ADC_HandleTypeDef hadc1;
|
||||
ADC_HandleTypeDef hadc2;
|
||||
DMA_HandleTypeDef hdma_adc1;
|
||||
@@ -32,9 +33,9 @@ static void MX_ADC2_Init(void);
|
||||
|
||||
void Setup_HAL() {
|
||||
SystemClock_Config();
|
||||
#ifndef LOCAL_BUILD
|
||||
__HAL_AFIO_REMAP_SWJ_DISABLE()
|
||||
;
|
||||
|
||||
#ifndef SWD_ENABLE
|
||||
__HAL_AFIO_REMAP_SWJ_DISABLE();
|
||||
#else
|
||||
__HAL_AFIO_REMAP_SWJ_NOJTAG();
|
||||
#endif
|
||||
@@ -49,8 +50,8 @@ void Setup_HAL() {
|
||||
MX_IWDG_Init();
|
||||
HAL_ADC_Start(&hadc2);
|
||||
HAL_ADCEx_MultiModeStart_DMA(&hadc1, (uint32_t*) ADCReadings, 64); // start DMA of normal readings
|
||||
HAL_ADCEx_InjectedStart(&hadc1); // enable injected readings
|
||||
HAL_ADCEx_InjectedStart(&hadc2); // enable injected readings
|
||||
HAL_ADCEx_InjectedStart(&hadc1); // enable injected readings
|
||||
HAL_ADCEx_InjectedStart(&hadc2); // enable injected readings
|
||||
}
|
||||
|
||||
// channel 0 -> temperature sensor, 1-> VIN
|
||||
@@ -247,7 +248,7 @@ static void MX_IWDG_Init(void) {
|
||||
hiwdg.Instance = IWDG;
|
||||
hiwdg.Init.Prescaler = IWDG_PRESCALER_256;
|
||||
hiwdg.Init.Reload = 100;
|
||||
#ifndef LOCAL_BUILD
|
||||
#ifndef SWD_ENABLE
|
||||
HAL_IWDG_Init(&hiwdg);
|
||||
#endif
|
||||
}
|
||||
@@ -336,7 +337,7 @@ static void MX_TIM2_Init(void) {
|
||||
HAL_TIMEx_MasterConfigSynchronization(&htim2, &sMasterConfig);
|
||||
|
||||
sConfigOC.OCMode = TIM_OCMODE_PWM1;
|
||||
sConfigOC.Pulse = 255 + 13;//13 -> Delay of 5ms
|
||||
sConfigOC.Pulse = 255 + 13; //13 -> Delay of 5ms
|
||||
//255 is the largest time period of the drive signal, and then offset ADC sample to be a bit delayed after this
|
||||
/*
|
||||
* It takes 4 milliseconds for output to be stable after PWM turns off.
|
||||
@@ -428,8 +429,10 @@ static void MX_GPIO_Init(void) {
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
|
||||
#ifdef MODEL_TS100
|
||||
/* Pull USB lines low to disable, pull down debug too*/
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_14 | GPIO_PIN_13;
|
||||
#ifndef SWD_ENABLE
|
||||
/* Pull USB and SWD lines low to prevent enumeration attempts and EMI affecting
|
||||
* the debug core */
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_13 | GPIO_PIN_14;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
@@ -437,6 +440,12 @@ static void MX_GPIO_Init(void) {
|
||||
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_12, GPIO_PIN_RESET);
|
||||
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_13, GPIO_PIN_RESET);
|
||||
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_14, GPIO_PIN_RESET);
|
||||
#else
|
||||
/* Make all lines affecting SWD floating to allow debugging */
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_14 | GPIO_PIN_13;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
#endif
|
||||
#else
|
||||
/* TS80 */
|
||||
/* Leave USB lines open circuit*/
|
||||
@@ -461,3 +470,8 @@ static void MX_GPIO_Init(void) {
|
||||
HAL_Delay(30);
|
||||
HAL_GPIO_WritePin(OLED_RESET_GPIO_Port, OLED_RESET_Pin, GPIO_PIN_SET);
|
||||
}
|
||||
#ifdef USE_FULL_ASSERT
|
||||
void assert_failed(uint8_t* file, uint32_t line){
|
||||
asm("bkpt");
|
||||
}
|
||||
#endif
|
||||
@@ -1,38 +1,38 @@
|
||||
/*
|
||||
* Setup.h
|
||||
*
|
||||
* Created on: 29Aug.,2017
|
||||
* Author: Ben V. Brown
|
||||
*/
|
||||
|
||||
#ifndef SETUP_H_
|
||||
#define SETUP_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <hardware.h>
|
||||
#include "stm32f1xx_hal.h"
|
||||
|
||||
extern ADC_HandleTypeDef hadc1;
|
||||
extern ADC_HandleTypeDef hadc2;
|
||||
extern DMA_HandleTypeDef hdma_adc1;
|
||||
|
||||
extern DMA_HandleTypeDef hdma_i2c1_rx;
|
||||
extern DMA_HandleTypeDef hdma_i2c1_tx;
|
||||
extern I2C_HandleTypeDef hi2c1;
|
||||
|
||||
extern IWDG_HandleTypeDef hiwdg;
|
||||
|
||||
extern TIM_HandleTypeDef htim2;
|
||||
extern TIM_HandleTypeDef htim3;
|
||||
void Setup_HAL();
|
||||
uint16_t getADC(uint8_t channel);
|
||||
|
||||
void HAL_TIM_MspPostInit(TIM_HandleTypeDef* htim); //Since the hal header file does not define this one
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* SETUP_H_ */
|
||||
/*
|
||||
* Setup.h
|
||||
*
|
||||
* Created on: 29Aug.,2017
|
||||
* Author: Ben V. Brown
|
||||
*/
|
||||
|
||||
#ifndef SETUP_H_
|
||||
#define SETUP_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "stm32f1xx_hal.h"
|
||||
|
||||
extern ADC_HandleTypeDef hadc1;
|
||||
extern ADC_HandleTypeDef hadc2;
|
||||
extern DMA_HandleTypeDef hdma_adc1;
|
||||
|
||||
extern DMA_HandleTypeDef hdma_i2c1_rx;
|
||||
extern DMA_HandleTypeDef hdma_i2c1_tx;
|
||||
extern I2C_HandleTypeDef hi2c1;
|
||||
|
||||
extern IWDG_HandleTypeDef hiwdg;
|
||||
|
||||
extern TIM_HandleTypeDef htim2;
|
||||
extern TIM_HandleTypeDef htim3;
|
||||
void Setup_HAL();
|
||||
uint16_t getADC(uint8_t channel);
|
||||
|
||||
void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim); //Since the hal header file does not define this one
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* SETUP_H_ */
|
||||
27
workspace/TS100/Core/BSP/Miniware/Software_I2C.h
Normal file
27
workspace/TS100/Core/BSP/Miniware/Software_I2C.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Software_I2C.h
|
||||
*
|
||||
* Created on: 25 Jul 2020
|
||||
* Author: Ralim
|
||||
*/
|
||||
|
||||
#ifndef BSP_MINIWARE_SOFTWARE_I2C_H_
|
||||
#define BSP_MINIWARE_SOFTWARE_I2C_H_
|
||||
#include "Model_Config.h"
|
||||
#include "BSP.h"
|
||||
#include "stm32f1xx_hal.h"
|
||||
#ifdef I2C_SOFT
|
||||
|
||||
#define SOFT_SCL_HIGH() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_SET)
|
||||
#define SOFT_SCL_LOW() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_RESET)
|
||||
#define SOFT_SDA_HIGH() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_SET)
|
||||
#define SOFT_SDA_LOW() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_RESET)
|
||||
#define SOFT_SDA_READ() (HAL_GPIO_ReadPin(SDA2_GPIO_Port,SDA2_Pin)==GPIO_PIN_SET?1:0)
|
||||
#define SOFT_SCL_READ() (HAL_GPIO_ReadPin(SCL2_GPIO_Port,SCL2_Pin)==GPIO_PIN_SET?1:0)
|
||||
#define SOFT_I2C_DELAY() {for(int xx=0;xx<40;xx++){asm("nop");}}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#endif /* BSP_MINIWARE_SOFTWARE_I2C_H_ */
|
||||
@@ -291,7 +291,7 @@ typedef struct
|
||||
/** @defgroup RCC_Flag Flags
|
||||
* Elements values convention: XXXYYYYYb
|
||||
* - YYYYY : Flag position in the register
|
||||
* - XXX : Register index
|
||||
* - X XX : Register index
|
||||
* - 001: CR register
|
||||
* - 010: BDCR register
|
||||
* - 011: CSR register
|
||||
@@ -1041,32 +1041,32 @@ HAL_StatusTypeDef HAL_ADCEx_InjectedConfigChannel(ADC_HandleTypeDef* hadc, ADC_I
|
||||
/* conversions is forced to 0x00 for alignment over all STM32 devices. */
|
||||
/* - if scan mode is enabled, injected channels sequence length is set to */
|
||||
/* parameter "InjectedNbrOfConversion". */
|
||||
if (hadc->Init.ScanConvMode == ADC_SCAN_DISABLE)
|
||||
{
|
||||
if (sConfigInjected->InjectedRank == ADC_INJECTED_RANK_1)
|
||||
{
|
||||
/* Clear the old SQx bits for all injected ranks */
|
||||
MODIFY_REG(hadc->Instance->JSQR ,
|
||||
ADC_JSQR_JL |
|
||||
ADC_JSQR_JSQ4 |
|
||||
ADC_JSQR_JSQ3 |
|
||||
ADC_JSQR_JSQ2 |
|
||||
ADC_JSQR_JSQ1 ,
|
||||
ADC_JSQR_RK_JL(sConfigInjected->InjectedChannel,
|
||||
ADC_INJECTED_RANK_1,
|
||||
0x01U));
|
||||
}
|
||||
/* If another injected rank than rank1 was intended to be set, and could */
|
||||
/* not due to ScanConvMode disabled, error is reported. */
|
||||
else
|
||||
{
|
||||
/* Update ADC state machine to error */
|
||||
SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
|
||||
|
||||
tmp_hal_status = HAL_ERROR;
|
||||
}
|
||||
}
|
||||
else
|
||||
// if (hadc->Init.ScanConvMode == ADC_SCAN_DISABLE)
|
||||
// {
|
||||
// if (sConfigInjected->InjectedRank == ADC_INJECTED_RANK_1)
|
||||
// {
|
||||
// /* Clear the old SQx bits for all injected ranks */
|
||||
// MODIFY_REG(hadc->Instance->JSQR ,
|
||||
// ADC_JSQR_JL |
|
||||
// ADC_JSQR_JSQ4 |
|
||||
// ADC_JSQR_JSQ3 |
|
||||
// ADC_JSQR_JSQ2 |
|
||||
// ADC_JSQR_JSQ1 ,
|
||||
// ADC_JSQR_RK_JL(sConfigInjected->InjectedChannel,
|
||||
// ADC_INJECTED_RANK_1,
|
||||
// 0x01U));
|
||||
// }
|
||||
// /* If another injected rank than rank1 was intended to be set, and could */
|
||||
// /* not due to ScanConvMode disabled, error is reported. */
|
||||
// else
|
||||
// {
|
||||
// /* Update ADC state machine to error */
|
||||
// SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
|
||||
//
|
||||
// tmp_hal_status = HAL_ERROR;
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
{
|
||||
/* Since injected channels rank conv. order depends on total number of */
|
||||
/* injected conversions, selected rank must be below or equal to total */
|
||||
@@ -3479,6 +3479,7 @@ void HAL_I2C_EV_IRQHandler(I2C_HandleTypeDef *hi2c)
|
||||
}
|
||||
}
|
||||
/* Slave mode selected */
|
||||
#if 0
|
||||
else
|
||||
{
|
||||
/* ADDR set --------------------------------------------------------------*/
|
||||
@@ -3520,6 +3521,7 @@ void HAL_I2C_EV_IRQHandler(I2C_HandleTypeDef *hi2c)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user