ivanwick / bekantfirmware

Programmable position memory for IKEA BEKANT adjustable sit/stand desk
https://ivanwick.github.io/bekantfirmware
153 stars 9 forks source link

This is great. #2

Closed iLLiac4 closed 11 months ago

iLLiac4 commented 3 years ago

Great project. Have ordered a flasher to try it. I like the logic you have set. A few more pictures of backing up and programming would be helpful for beginners. A link to programming program and recommended programmer.

ivanwick commented 3 years ago

Thanks for your interest.

In case you have not seen it yet, there is some more information about flashing the new firmware in my comment to issue #1. This will be incorporated it into new documentation.

What flashing device did you order? I used a PICKit 2 to dump and program mine, but it is an older device that is no longer supported by Microchip.

Also, what is the date code on your BEKANT control box? Look for a white sticker on the surface that touches the underside of the desk, formatted like "2015/34" (presumably for the 34th week of 2015).

iLLiac4 commented 3 years ago

Hi. I have ordered this one https://de.aliexpress.com/item/1005002810022412.html PicKit2 with ICD2. I have also find 'definition' file that contains more models. But will not know until i get the device https://github.com/GBert/misc/tree/master/pickit2/pk2dft https://www.sfcompiler.co.uk/phpBB3/viewtopic.php?f=11&t=2076&p=11585#p11583

Hmm one is 2017 on the controller and internal controller is different. But lookig from this video, he has the same controller and he mentioned that it is the same pic https://youtu.be/AB75AxprXqQ?t=77

ikea ikea2

I have some other programmers like st-link, ch341a, USBasp USB-ISP but I think they are not possible to use for PIC16LF1938

ivanwick commented 3 years ago

A Firmware Programming Guide is added to the documentation. I used a PICkit 2 and either the Windows GUI or pk2cmd CLI on Linux.

Please let me know if you are successful!

iLLiac4 commented 3 years ago

TNX. Nicely written guide. Will report back ASAP i will get the PICkit2 if it works with this controller.

ivanwick commented 3 years ago

Hi @iLLiac4 Were you able to flash the firmware on your BEKANT microcontroller?

I have left this issue open as a place to assist with your installation but there have been no status updates.

Please let me know if you were successful or decided not to do it and I can close the issue.

WantedLange commented 2 years ago

I flashed mine with a pickit 3 - Works perfect. Thanks!

iLLiac4 commented 2 years ago

I am still waiting for a flashing controller. Delivery is disaster from China....

iLLiac4 commented 2 years ago

I have got the controller and was able to flash it with your firmware. It did not autodetect it and was not able to make a working backup of the flash. If possible I would ask for an original firmware dump so I can test it if it will work on my controller.

TNX

WantedLange commented 2 years ago

This is NOT verified or tested, but its the read from my original firmware orginafirm.hex.zip

iLLiac4 commented 2 years ago

Great TNX. It works.

ivanwick commented 11 months ago

Thanks for documenting your experience and tests.