-
Notifications
You must be signed in to change notification settings - Fork 3k
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
CYESKIT_064B0S2_4343W Test Fails w/ Arm Compiler #13058
Comments
@sreeharshaangara @kyle-cypress can you check this? Please confirm test results on your side with the arm compiler. |
I was able to workaround this bug by making the following modifications to the linker script.
|
@maclobdell thank you for raising this issue.Please take a look at the following comments: We cannot automatically identify a release based on the version of Mbed OS that you have provided. |
Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. |
Hi @maclobdell - thanks for reporting this bug. I investigated the behavior of ARM linker, fromelf tool and confirm the linker script tweak should address the issue (LR_IROM1 should start from 0x10000400 not 0x10000000 to produce the correct unsigned HEX). I pushed #13100 PR. |
@vmedcy Thanks! |
Fix BOOT_HEADER_SIZE allocation in ARM scatter files (#13058)
Description of defect
When compiled with Arm Compiler, every Mbed OS test results in
SYNC_FAILED
.The cause is that the application start address is incorrect.
Actual
By default, with no configuration changes, the post-build signing script produces an output file with a bootloader header at 0x0FFFFC00 and application at 0x10000000.
Desired
The bootloader header should start at 0x10000000 and the application should start at 0x10000400.
With GCC compiler, it works fine. I suspect a problem with the Arm linker file for this target.
Target(s) affected by this defect ?
CYESKIT_064B0S2_4343W
Toolchain(s) (name and version) displaying this defect ?
Arm compiler 6
What version of Mbed-os are you using (tag or sha) ?
mbed-os-6.0.0-beta-1
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed cli 1.10.1
How is this defect reproduced ?
get a board, provision it
import mbed os
run tests
mbed test -m CYESKIT_064B0S2_4343w -t ARM
view the output hex files
The text was updated successfully, but these errors were encountered: