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

Bricked coral micro #99

Open
Strat00s opened this issue Feb 17, 2024 · 0 comments
Open

Bricked coral micro #99

Strat00s opened this issue Feb 17, 2024 · 0 comments

Comments

@Strat00s
Copy link

Strat00s commented Feb 17, 2024

Description

Well, it seems I managed to fail a flash and now I cannot flash the board anymore. When I press the middle button and reset (or when I plug the cable in), it shows up as NXP Semiconductors SE Blank RT Family. But when I plug it in normally, nothing. Absolutely nothing happens/shows up. And when I try to flash it (when it shows up as the NXP...), the flashtool.py resets it into some other mode and it shows up as Freescale Semiconductor, Inc. USB COMPOSITE DEVICE.

Do you guys have any advice on how to unbrick it?
Thanks.

Click to expand!

Issue Type

Support, Others

Operating System

Windows 10, Linux

Coral Device

Dev Board Micro

Other Devices

No response

Programming Language

No response

Relevant Log Output

When I try to flash it while as NXP...:
./flashtool.py --app my_project
Finding all necessary files
No Dev Board Micro devices detected!

When I try to flash it afterwards (when as Freescale...):
./flashtool.py --app my_project
Traceback (most recent call last):
  File "/home/stratos/coralmicro/scripts/./flashtool.py", line 1194, in <module>
    main()
  File "/home/stratos/coralmicro/scripts/./flashtool.py", line 1048, in main
    RunFlashtool(StateCheckForFlashloader, print_states=False,
  File "/home/stratos/coralmicro/scripts/./flashtool.py", line 822, in RunFlashtool
    (prev_state, state) = (state, state(**state_kwargs))
  File "/home/stratos/coralmicro/scripts/./flashtool.py", line 563, in StateLoadElfloader
    subprocess.check_call([blhost_path, '-u', flashloader_vidpid(), 'flash-image',
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/stratos/coralmicro/third_party/nxp/blhost/bin/linux/amd64/blhost', '-u', '0x15a2,0x73', 'flash-image', '/home/stratos/coralmicro/build/apps/elf_loader/image.srec']' returned non-zero exit status 20.

EDIT:
I have removed some arguments from the subprocess.call to see the error output and this is what I get:

Inject command 'flash-image'
Wrote 106420 bytes to address 0x202c0800
Successful generic response to command 'write-memory'
(1/1)100% Completed!
Successful generic response to command 'write-memory'
Response status = 0 (0x0) Success.
Inject command 'call'
sendCommandGetResponse.readPacket error 5.
Response status = 10004 (0x2714) No response packet from target device.
Finding all necessary files
No Dev Board Micro devices detected!```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant