How to flash programming?

Hi

I'm following intruction http://doc.kneron.com/docs/#520_1.4.0.0/getting_start/#10-flash-programming. However, when i type command "python flash_programmer.py -a flash_image.bin":

How can i fix it?

Thanks

Comments

  • Hi,

    do you have use other program show board log?

    if you have use other program show message, please help me close.

    and check setup.py UART_COM_ID = 3 # COM5 is it right or not.


  • It worked. Thank you for your support

  • Hi Jennifer Lin,

    Can i ask you that, where can i get 2 files fw_ncpu.bin and fw_scpu.bin? And "generated by Keil", what does it means?

    i took it from \host_lib_v0.9.1\host_lib\app_binaries\KL520\tiny_yolo_v3, but when flash program into KL520, it just show little codes and nothing display on screen.

  • Hi,

    please took from kl520_sdk_v1.4.0.1 below pic, fw_ncpu.bin is ncpu folder, fw_scpu.bin is scpu folder and generated by Keil.



  • Sorry, I still can't find it. Is it available or do i have to build it by myself?

  • HI,

    please refer https://www2.keil.com/mdk5/docs and if you download keil C requires certification to use.

  • I see. I have another question, please help. Following this http://doc.kneron.com/docs/#520_1.4.0.0/getting_start/#4-run-the-default-application-tiny-yolo-v3. I type command ~/host_lib/build/bin$ ./kl520_isi_async_parallel_yolo:

    I connected my computer with KL520 via UART0 port. Did i miss anything?

    Best regards.

  • edited March 2021

    1.do you have update kl520_sdk_v1.4.0.1 model and fw?

    2.do you have reset your board?


    thanks

  • 1.I have not. How to update? Is it same way flash programming?

    I want to test step 5 of the document (Run ota ...) but as you can see that "add device failed" (step 4 like that too). I connected via UART0 port, Did I connect correctly?

    If we need model and fw from kl520_sdk_v1.4.0.1 to update, what does the model and fw from host_lib_v0.9.1 means? can use it or not?

    2.I tried to press reset button, cut off and turn on power, but it still doesn't work.

    Thanks

    1. if you just only test step 5 of the document , please download host_lib_v0.9.1 try , and must need update your FW and model to your 520,
    2. please reference http://doc.kneron.com/docs/#520_1.4.0.0/getting_start/#5-run-ota-to-swap-another-pre-build-application-binary-mask-face-detection 5. Run OTA to Swap Another Pre-build Application Binary Mask Face Detection and reference host_lib_v0.9.1\host_lib\README_Python.md
    3. do you have use other program show board log? ,if you have use other program show message, please help me close?
    1. How to update fw and model? Sorry but i can't find instruction
    2. I don't have a USB dongle, can i continue?
    3. No, i don't
    4. "If we need model and fw from kl520_sdk_v1.4.0.1 to update, what does the model and fw (~host_lib/app_binaries/KL520/ssd_fd_lm/) from host_lib_v0.9.1 means?" please answer me this question

    Thank you so much!

  • 1. if you are 96board please reference 10. Flash programming, or 10.3.4 Flash Chip Programming (FW + DATA) and 10.4. Program Flash via JTAG/SWD Interface

    2. yes

    4. you are 96board, so please use kl520_sdk_v1.4.0.1, we host_lib_v0.9.1 is for USB dongle. thanks

The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.