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

error: The application image is not compatible with the target. #39

Open
zfangqijun opened this issue Dec 14, 2022 · 6 comments
Open

error: The application image is not compatible with the target. #39

zfangqijun opened this issue Dec 14, 2022 · 6 comments

Comments

@zfangqijun
Copy link

zfangqijun commented Dec 14, 2022

I compiled hex with yotta, I can't falsh to microbit, I'm a FE developer, I don't know anything about hardware, why? please help me, thank you very much!!!🙏🙏

.yotta.json

{
  "build": {
    "target": "bbc-microbit-classic-gcc,https://github.com/lancaster-university/yotta-target-bbc-microbit-classic-gcc"
  }
}

FAIL.TXT

error: The application image is not compatible with the target.
type: user

DETAILS.TXT

# DAPLink Firmware - see https://daplink.io
Build ID: v0257-gc782a5ba (gcc)
Unique ID: 99063602000528200d12df3d5109fd52000000006e052820
HIC ID: 6e052820
Auto Reset: 1
Automation allowed: 0
Overflow detection: 0
Incompatible image detection: 1
Page erasing: 0
Daplink Mode: Interface
Interface Version: 0257
Bootloader Version: 0257
Git SHA: c782a5ba907377658bc28aa8d132a0fa44543687
Local Mods: 0
USB Interfaces: MSD, CDC, HID, WebUSB
Bootloader CRC: 0x725bea7d
Interface CRC: 0xe561f1de
Remount count: 2
URL: https://microbit.org/device/?id=9906&v=0257
@microbit-carlos
Copy link
Collaborator

microbit-carlos commented Dec 14, 2022

Hi @zfangqijun,

You are building the samples repo for micro:bit V1 and loading it into a V2. For the V2 samples repo see: https://github.com/microbit-foundation/micropython-microbit-v2/

Hope that resolved your issue!

@microbit-carlos
Copy link
Collaborator

@JohnVidler might be a good idea to update this README to indicate this is for V1 and where to find the repo for V2.

@zfangqijun
Copy link
Author

@microbit-carlos
Thank you very much for your reply. 🙏This repo seems to have built-in micropython.
I wonder if there is a repo that does not contain micropython for reference?
Or let me see how to delete it。😊

@microbit-carlos
Copy link
Collaborator

Oh, sorry, I sent the wrong link!
https://github.com/lancaster-university/microbit-v2-samples

@zfangqijun
Copy link
Author

zfangqijun commented Dec 14, 2022

@microbit-carlos Thank you very much

@finneyj
Copy link
Contributor

finneyj commented Dec 14, 2022

Thanks @microbit-carlos! I'll forgive the shameless advertising of your excellent micro python implementation! :)

Definitely a good idea to improve cross-signposting for v1 and v2 repos. Can you please take a look @JohnVidler? I think this would align very well with the documentation updates you're working on?

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

3 participants