New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HF-LPB130 - Upgrade #10
Comments
Intersting... another user already emailed me about his device not working with this firmware. Is your device this one: http://www.lumitek.cn/en/productsd.php?pid=1094 Anyway, this firmware should work and compile just fine on the LPB130. By the way, the LPB130 is a newer version of the LPB100 and major differences are:
|
Hello Luis,
Yes it’s interesting ;-)
Yes I rode this,
Yes it is, SW7201 ref53012
After discovering which one they used on the device
Do I need unpackage the socket to find it ?
If I find one of these modules I'll build the firmware.
How can I help you ?
… Le 2 mars 2020 à 19:35, Luis Alves ***@***.***> a écrit :
Intersting... another user already emailed me about his device not working with this firmware.
Then we discovered that it uses a different module (the LPB130) so I added a warning message on the README.md about this:
https://github.com/ljalves/hfeasy#hfeasy <https://github.com/ljalves/hfeasy#hfeasy>
Is your device this one: http://www.lumitek.cn/en/productsd.php?pid=1094 <http://www.lumitek.cn/en/productsd.php?pid=1094>
Check the model on the back sticker. Is it a "SW7201"?
I'm wondering if it is just the FR version or if all the newer products use the LPB130 module.
Anyway, this firmware should work and compile just fine on the LPB130.
I could find out that there are 2 module types: one with 1Mb and other with 2Mb flash.
After discovering which one they used on the device, get the toolchain (arm-none-eabi, available for linux and windows) and the SDK from HF:
http://www.hi-flying.com/download-center-1/software-development-kit-1/download-item-hf-lpx30-hsf-sdk-1mb-2mb <http://www.hi-flying.com/download-center-1/software-development-kit-1/download-item-hf-lpx30-hsf-sdk-1mb-2mb>
Then compile and test...
If I find one of these modules I'll build the firmware.
By the way, the LPB130 is a newer version of the LPB100 and major differences are:
LPB130 LPB100
CPU ARM ***@***.*** ARM ***@***.***
OS mbed FreeRTOS
Flash 1Mb/2Mb/4Mb 2Mb
RAM 352Kb 128Kb
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#10?email_source=notifications&email_token=AEJBGZD26DFT526ZMOKCTULRFP36XA5CNFSM4K7WJI4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENQN4PI#issuecomment-593550909>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEJBGZBLHJHIRQQHUAZ5BOTRFP36XANCNFSM4K7WJI4A>.
|
I looked at the lpb130 SDK docs and the internal webserver doesn't seem to have the same capabilities (add custom pages on code), meaning that the fw will not work as is (mqtt should work fine, but controlling by http will not). Since lpb100 internal webserver is also pretty limited maybe I'll just code a simple webserver (or find an opensource one online) that will work on both modules. I already installed the gcc toolchain (has to bee the 2016-q3 version) and SDK - everything seems to compile ok so all I need it to get my hands on one of the new modules... |
I bought my socket here https://www.amazon.fr/CHACON-53012-Chacon-Prise-Intelligente/dp/B01HX3DMYC/ref=sr_1_4?__mk_fr_FR=ÅMÅŽÕÑ&keywords=chacon&qid=1583221497&sr=8-4
yesterday
I will donate some bucks from PayPal if you would buy this model,
Tell me what you want,
… Le 2 mars 2020 à 23:34, Luis Alves ***@***.***> a écrit :
I looked at the lpb130 SDK docs and the internal webserver doesn't seem to have the same capabilities (add custom pages on code), meaning that the fw will not work as is (mqtt should work fine, but controlling by http will not).
Since lpb100 internal webserver is also pretty limited maybe I'll just code a simple webserver (or find an opensource one online) that will work on both modules.
I already installed the gcc toolchain (has to bee the 2016-q3 version) and SDK - everything seems to compile ok so all I need it to get my hands on one of the new modules...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#10?email_source=notifications&email_token=AEJBGZAD74IRCAC7EIMRL3TRFQX6ZA5CNFSM4K7WJI4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENRIHOA#issuecomment-593658808>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEJBGZCB2Z5IAQ66ZON4C7LRFQX6ZANCNFSM4K7WJI4A>.
|
Not sure if that's a good idea. |
Leave me your address at clement@charnay.cc, hope you're live not too far from france, |
I now have a LPB130 module in my hands. I'll post here whenever I have a working hfeasy firmware for it. |
An update on supporting this module: The bricked module can't even start the serial bootloader. I've connected the debug port and it spits out an hard fault error:
Also I don't want to replace the original firmware in the working module before I dump it first. More news once the programmer arrives... |
Hi! I got a Chacon Plug with LPB130 too... What's up about the custom firmware...? |
@ljalves you can't brick these devices ;-) I have one of these devices On the Label HF-LPB100-0 but it looks totaly different and inside is a HF-LPB230 |
Yes, but we'll never be able to get back to the original FW (no download option)... I'll upload the FW for the LPB130 devices soon... |
U say u have a second one. |
Interesting... I don't remember seeing any command to get the flash contents. |
HFEASY 0v11 build for LPB130 Let me know of any issue... Edit: for web upgrade. Let me know if you need the file for serial port upgrade. |
Official release available: Let me know how it works... |
First, thank you for your job...!! But... Can't access to any web page when I try "http:///iweb.html" or "http:///" ... Can you help me with the procedure to upgrade the firmware please...? |
@urbamax, The alternative to webpage update is the UART bootloader method. You also need GND, VCC(3V3) and nReload pins (UART0 is not needed): Flash procedure:
AGAIN: NEVER plug the device to AC line when doing this procedure. These devices are powered by a transformerless circuit and the GND pin can end up being connected to 230V AC (AC LIVE). You can do testing after flash by just powering the module with only 3V3 (you may not hear the relay toggle) but all should work fine. |
New release: |
LPB130 plugs are now supported. For questions/discussions post here. |
I am not sure how you did that? We just see the 3 standard commands for: B Clean All Config |
Hello, First of all, many thanks for your involvement,
I doing to try Chacon socket and I found your git to manage it via URL, I think to improve security it's so much better than manage directly by the cloud application..
I encoutered the problem related that I can't upgrade my socket with your bin,
What do you need to develop the fix ?
The text was updated successfully, but these errors were encountered: