Skip to content
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

himax-flash-tool: Updating firmware Seeed Grove Vision AI Module V2 fails #53

Open
yochem opened this issue Oct 7, 2024 · 0 comments
Open

Comments

@yochem
Copy link

yochem commented Oct 7, 2024

I'm following this edge impulse documentation on updating the firmware of the Seeed grove vision v2. However, when running the flash command on my Mac, I get the following output and error:

[HMX] Connecting to /dev/tty.usbmodem578D0263961...
[HMX] Connected, press the **RESET** button on your Seeed Grove Vision AI Module V2 now
[HMX] Restarted into bootloader. Sending file.
[HMX] Sending 3488 blocks
 ████████████████████████████████████████ 100% | ETA: 0s | 3488/3488
[HMX] Sent all blocks (NAK count: 0)
[HMX] Press **RESET** to start the application...
[HMX] Could not verify application Failed to get a valid response (looking for "Compiler Version") from device. Response was: "1st BL Modem Build DATE=Nov 30 2023, 0x0002000b
Please input any key to enter X-Modem mode in 100 ms
waiting input key...
slot flash_offset 0x00000000
New MemDesp himax_sec_SB_image_process PASS
set_memory_s_ns
bl_status = 0x800000, HX_DSP_FLAG 1
bl_status = 0x800000
jump_addr=0x10000000
1st BL Modem Build DATE=Nov 30 2023, 0x0002000b
Please input any key to enter X-Modem mode in 100 ms
waiting input key...
slot flash_offset 0x00000000
New MemDesp himax_sec_SB_image_process PASS
set_memory_s_ns
bl_status = 0x800000, HX_DSP_FLAG 1
bl_status = 0x800000
jump_addr=0x10000000
"
[HMX] Did you press RESET on the board?

I pressed pressed the RESET button in both situations. I tried short and long presses, but that does not seem to matter.

Tried

I tried different ways of pressing the RESET button (short and long presses), and changing the timing of pressing it. I've also tried different usb-c cables.

Verbose output

Using himax-flash-tool --device WiseEye2 --firmware-path firmware.img --verbose

Output
[HMX] Connecting to /dev/tty.usbmodem578D0263961...
[HMX] Connected, press the **RESET** button on your Himax Grove Vision AI Module V2 now
[SER] serial.ondata rx 31737420424c204d6f64656d204275696c6420444154453d4e6f7620333020323032332c20307830303032303030620d0a506c6561736520696e70757420616e
[SER] serial.ondata rx 79206b657920746f20656e74657220582d4d6f64656d206d6f646520696e20313030206d73200d0a77616974696e6720696e707574206b6579
[SER] serial.ondata rx 0d0a53657420582d6d6f64656d20666c6167203d20596573200d0a0d0a736c6f7420666c6173685f6f666673657420307830303130303030300d0a
[SER] serial.ondata rx 6a756d705f616464723d307833343031663030300d0a436f6d70696c65722056657273696f6e3a2041524d20434c414e472c20436c616e672031332e302e3020
[SER] serial.ondata rx 287373683a2f2f64732d6765727269742f61726d636f6d70696c65722f6c6c766d2d70726f6a6563742031663537373064366637326565346562613231353930
[SER] serial.ondata rx 393262626634636262383139626533323361290d0d0a7365745f49505f73656375726520646f6e650d0d0a
[SER] serial.ondata rx 666c61736820747970655b325d2c20666c6173682073697a655b355d0d0a736c6f7420466c6173684f666673657420307830303030303030300d0a496d616765
[SER] serial.ondata rx 206d61782073697a6520307830303130303030300d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d
[SER] serial.ondata rx 2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d200d0d0a5b305d205265626f6f742073797374656d200d0d0a5b315d20586d6f64656d20646f776e6c6f61642061
[SER] serial.ondata rx 6e64206275726e20465720696d616765200d0d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d
[SER] response from device 439 0d0a53657420582d6d6f64656d20666c6167203d20596573200d0a0d0a736c6f7420666c6173685f6f666673657420307830303130303030300d0a6a756d705f616464723d307833343031663030300d0a436f6d70696c65722056657273696f6e3a2041524d20434c414e472c20436c616e672031332e302e3020287373683a2f2f64732d6765727269742f61726d636f6d70696c65722f6c6c766d2d70726f6a6563742031663537373064366637326565346562613231353930393262626634636262383139626533323361290d0d0a7365745f49505f73656375726520646f6e650d0d0a666c61736820747970655b325d2c20666c6173682073697a655b355d0d0a736c6f7420466c6173684f666673657420307830303030303030300d0a496d616765206d61782073697a6520307830303130303030300d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d200d0d0a5b305d205265626f6f742073797374656d200d0d0a5b315d20586d6f64656d20646f776e6c6f616420616e64206275726e20465720696d61676520
[SER] serial.ondata rx 2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d200d0d0a0d0d0a
[SER] serial.ondata rx 21212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121
[SER] serial.ondata rx 212121200d0d0a21212020506c65617365206b6565702074686520706f776572206f6e20647572696e67207468652070726f6772616d20757067726164652070
[SER] serial.ondata rx 726f636573732020212120200d0d0a21212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121
[SER] serial.ondata rx 21212121212121212121212121212121212120200d0d0a0d0d0a0d0a53656e642064617461207573696e672074686520786d6f64656d2070726f746f636f6c20
[SER] serial.ondata rx 66726f6d20796f7572207465726d696e616c0d0a
[SER] response from device 297 2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d200d0d0a0d0d0a21212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121200d0d0a21212020506c65617365206b6565702074686520706f776572206f6e20647572696e67207468652070726f6772616d20757067726164652070726f636573732020212120200d0d0a2121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212120200d0d0a0d0d0a0d0a53656e642064617461207573696e672074686520786d6f64656d2070726f746f636f6c2066726f6d20796f7572207465726d696e616c
[HMX] Restarted into bootloader. Sending file.
[HMX] Sending 3488 blocks
[SER] serial.ondata rx 0d0a6261636b757020736c6f74206865616465720d0a
[SER] serial.ondata rx 0d0a0d0a446f20796f752077616e7420746f20656e642066696c65207472616e736d697373696f6e20616e64207265626f6f742073797374656d3f202879290d0a
[SER] response from device 85 0d0a6261636b757020736c6f74206865616465720d0a0d0a0d0a446f20796f752077616e7420746f20656e642066696c65207472616e736d697373696f6e20616e64207265626f6f742073797374656d3f20287929
[HMX] Sent all blocks (NAK count: 0)
[HMX] Press **RESET** to start the application...
[SER] serial.ondata rx 00
[SER] serial.ondata rx 00
[SER] serial.ondata rx 31737420424c204d6f64656d204275696c6420444154453d4e6f7620333020323032332c20307830303032303030620d0a506c6561736520696e70757420616e
[SER] serial.ondata rx 31737420424c204d6f64656d204275696c6420444154453d4e6f7620333020323032332c20307830303032303030620d0a506c6561736520696e70757420616e
[SER] serial.ondata rx 79206b657920746f20656e74657220582d4d6f64656d206d6f646520696e20313030206d73200d0a77616974696e6720696e707574206b6579
[SER] serial.ondata rx 79206b657920746f20656e74657220582d4d6f64656d206d6f646520696e20313030206d73200d0a77616974696e6720696e707574206b6579
[SER] serial.ondata rx 2e2e2e0d0a736c6f7420666c6173685f6f666673657420307830303030303030300d0a4e6577204d656d446573702068696d61785f7365635f53425f696d6167
[SER] serial.ondata rx 2e2e2e0d0a736c6f7420666c6173685f6f666673657420307830303030303030300d0a4e6577204d656d446573702068696d61785f7365635f53425f696d6167
[SER] serial.ondata rx 655f70726f6365737320504153530d0a7365745f6d656d6f72795f735f6e730d0a626c5f737461747573203d2030783830303030302c2048585f4453505f464c
[SER] serial.ondata rx 655f70726f6365737320504153530d0a7365745f6d656d6f72795f735f6e730d0a626c5f737461747573203d2030783830303030302c2048585f4453505f464c
[SER] serial.ondata rx 414720310d0a626c5f737461747573203d2030783830303030300d0a
[SER] serial.ondata rx 414720310d0a626c5f737461747573203d2030783830303030300d0a
[SER] serial.ondata rx 6a756d705f616464723d307831303030303030300d0a
[SER] serial.ondata rx 6a756d705f616464723d307831303030303030300d0a
[SER] serial.ondata rx 80008080808080808080008080008080008080808000800000800000008080808080008000008080008080008080808080008080008000000080008000008080
[SER] serial.ondata rx 80008080808080808080008080008080008080808000800000800000008080808080008000008080008080008080808080008080008000000080008000008080
[SER] serial.ondata rx 80800080000080008000008080808080800080000000800000800000008000000000008000800000000000000000000000008000008000000000000080000080
[SER] serial.ondata rx 80800080000080008000008080808080800080000000800000800000008000000000008000800000000000000000000000008000008000000000000080000080
[SER] serial.ondata rx 800080800000800000000000
[SER] serial.ondata rx 800080800000800000000000
[SER] serial.ondata rx 00
[SER] serial.ondata rx 00
[SER] serial.ondata rx 31737420424c204d6f64656d204275696c6420444154453d4e6f7620333020323032332c20307830303032303030620d0a506c6561736520696e70757420616e
[SER] serial.ondata rx 31737420424c204d6f64656d204275696c6420444154453d4e6f7620333020323032332c20307830303032303030620d0a506c6561736520696e70757420616e
[SER] serial.ondata rx 79206b657920746f20656e74657220582d4d6f64656d206d6f646520696e20313030206d73200d0a77616974696e6720696e707574206b6579
[SER] serial.ondata rx 79206b657920746f20656e74657220582d4d6f64656d206d6f646520696e20313030206d73200d0a77616974696e6720696e707574206b6579
[SER] serial.ondata rx 2e2e2e0d0a736c6f7420666c6173685f6f666673657420307830303030303030300d0a4e6577204d656d446573702068696d61785f7365635f53425f696d6167
[SER] serial.ondata rx 2e2e2e0d0a736c6f7420666c6173685f6f666673657420307830303030303030300d0a4e6577204d656d446573702068696d61785f7365635f53425f696d6167
[SER] serial.ondata rx 655f70726f6365737320504153530d0a7365745f6d656d6f72795f735f6e730d0a626c5f737461747573203d2030783830303030302c2048585f4453505f464c
[SER] serial.ondata rx 655f70726f6365737320504153530d0a7365745f6d656d6f72795f735f6e730d0a626c5f737461747573203d2030783830303030302c2048585f4453505f464c
[SER] serial.ondata rx 414720310d0a626c5f737461747573203d2030783830303030300d0a
[SER] serial.ondata rx 414720310d0a626c5f737461747573203d2030783830303030300d0a
[SER] serial.ondata rx 6a756d705f616464723d307831303030303030300d0a
[SER] serial.ondata rx 6a756d705f616464723d307831303030303030300d0a
[SER] serial.ondata rx 80008080808080808080008080008080008080808000800000800000008080808080008000008080008080008080808080008080008000000080008000008080
[SER] serial.ondata rx 80008080808080808080008080008080008080808000800000800000008080808080008000008080008080008080808080008080008000000080008000008080
[SER] serial.ondata rx 80800080000080008000008080808080800080000000800000800000008000000000008000800000000000000000000000008000008000000000000080000080
[SER] serial.ondata rx 80800080000080008000008080808080800080000000800000800000008000000000008000800000000000000000000000008000008000000000000080000080
[SER] serial.ondata rx 800080800000800000000000
[SER] serial.ondata rx 800080800000800000000000
[HMX] Could not verify application Failed to get a valid response (looking for "Compiler Version") from device. Response was: "1st BL Modem Build DATE=Nov 30 2023, 0x0002000b
Please input any key to enter X-Modem mode in 100 ms
waiting input key...
slot flash_offset 0x00000000
New MemDesp himax_sec_SB_image_process PASS
set_memory_s_ns
bl_status = 0x800000, HX_DSP_FLAG 1
bl_status = 0x800000
jump_addr=0x10000000
1st BL Modem Build DATE=Nov 30 2023, 0x0002000b
Please input any key to enter X-Modem mode in 100 ms
waiting input key...
slot flash_offset 0x00000000
New MemDesp himax_sec_SB_image_process PASS
set_memory_s_ns
bl_status = 0x800000, HX_DSP_FLAG 1
bl_status = 0x800000
jump_addr=0x10000000
"
[HMX] Did you press RESET on the board?

Versions

  • Mac: MacBook Pro 2019
  • MacOS: 15.0 (24A335)
  • Himax flash tool: 1.28.3
@yochem yochem changed the title [himax-flash-tool]: Updating firmware Seeed Grove Vision AI Module V2 fails himax-flash-tool: Updating firmware Seeed Grove Vision AI Module V2 fails Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant