KL520 Update KDP2 firmware on Raspberry Pi4
I Download the Kneron_DFUT_raspberry_pi_2.3.0.zip,and extract the zip ,and Follow the command on the https://doc.kneron.com/docs/#plus_c/introduction/upgrade_ai_device_to_kdp2/#42-use-command-line-to-update-ai-device ,and I execute the sudo sh KneronDFUT.sh --help
,the command line display the error sh: 0: Can't open KneronDFUT.sh
The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.
Comments
Hi,
What are the specs for your Raspberry Pi4? Kneron DFUT supports Raspberry Pi OS - Buster (armv7l 32-bit).
If you're not using that, you may use DFUT by building the DFUT console on your Kneron PLUS.
yes,I use the Raspberry Pi OS-Buster(armv7I 32-bit),but I have the above problem.
Hello,
It's recommended to build the DFUT tool by yourself instead of using the pre-built .sh file. Here is a reference link for building a console version of DFUT.
https://www.kneron.com/forum/discussion/comment/1614/#Comment_1614
I build the DFUT tool by myself ,and I use execute the sudo sh DFUT_console,and also can't open
,or execute sudo ./DFUT_console,the commandline display this
,and I follow the document:https://doc.kneron.com/docs/#plus_c/introduction/run_examples/,and execute the sudo ./scan_devices , and the command line display the error kn_number: '0x 0' (invalid)
Hi,
According to your screenshot, it seems like you've built the DFUT console, but your firmware is outdated (KDP). To update your firmware, please run DFUT_console at kneron_plus/build/bin.
For example, to update KL520 to USB boot mode, you could execute something like:
./DFUT_console --kl520-usb-boot --port 389
Then, you could try running scan_devices again to see your device information.
For more information, please refer to: Upgrade AI Device To KDP2 - Document Center (kneron.com)
Thank you for your advise,I finish the run_example after your command
When I use same way to update the Kl720,I have error code:10,I use Ubuntu 24.04LTS,because I use raspberry pi Buster OS the Raspberry Pi 4 don't have typec port
Hi,
It seems like the KL720 device failed to reconnect when the firmware is updating on it.
Just to make sure, have you installed the following dependencies on your Ubuntu 24.04? Also, please check if your OS is verified to build and run Kneron PLUS. Thanks!