Closed ishotjr closed 3 years ago
In the Building and running the example section, be sure to review step number 6. By default the target comes up as CY8CKIT_.... Please customize the target and change the name to CYTFM_.... Hope that helps!
@maclobdell thanks for the quick response! I did complete step 6 as described - the only thing I noticed was that the last dropdown did not automatically select the Deploy and debug target implied by the gif (but not mentioned in the directions) so I had to manually select that - other than that I believe I did everything described:
Any ideas? :sweat_smile:
With the target changed, are you able to build now?
When you open the Manage Custom Target dialog, are you about to select the connected DAPLink device, and then modify its settings?
Thanks @maclobdell! Not sure what you mean by "target changed" - I'm saying "here are the details of what I did for step 6 during the workshop, but then got that error"; however, for some reason I just repeated the steps, and this time the Deploy and debug target was pre-filled correctly, and I was able to build no problem! I don't really understand what changed, but...it worked! Thank you so much for your quick and helpful responses! :sweat_smile: :rocket:
@maclobdell oh no! I missed the one-time enrollment ID because my baud rate was still 9600
(the instructions to change it to 115200
unfortunately come after the direction to flash the binary) - I tried a do-over using pyocd erase -s 0x101C0000-0x101C9000
but now I can't seem to build any more? :cold_sweat:
[Warning] @0,0: L3912W: Option 'legacyalign' is deprecated.
[Error] @0,0: L6200E: Symbol arm_uc_default_fingerprint multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
[Error] @0,0: L6200E: Symbol arm_uc_vendor_id_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
[Error] @0,0: L6200E: Symbol arm_uc_default_certificate multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
[Error] @0,0: L6200E: Symbol arm_uc_default_certificate_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
[Error] @0,0: L6200E: Symbol arm_uc_class_id multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
[Error] @0,0: L6200E: Symbol arm_uc_class_id_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
[Error] @0,0: L6200E: Symbol arm_uc_vendor_id multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
[Error] @0,0: L6200E: Symbol arm_uc_update_public_key multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
[Error] @0,0: L6200E: Symbol arm_uc_default_fingerprint_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Warning: L3912W: Option 'legacyalign' is deprecated.
Error: L6200E: Symbol arm_uc_default_fingerprint multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_vendor_id_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_default_certificate multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_default_certificate_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_class_id multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_class_id_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_vendor_id multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_update_public_key multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_default_fingerprint_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Not enough information to list the image map.
Finished: 1 information, 1 warning and 9 error messages.
[ERROR] Warning: L3912W: Option 'legacyalign' is deprecated.
Error: L6200E: Symbol arm_uc_default_fingerprint multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_vendor_id_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_default_certificate multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_default_certificate_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_class_id multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_class_id_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_vendor_id multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_update_public_key multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Error: L6200E: Symbol arm_uc_default_fingerprint_size multiply defined (by BUILD/CYTFM_064B0S2_4343W/ARMC6/update_default_resources.o and BUILD/CYTFM_064B0S2_4343W/ARMC6/TARGET_CYTFM_064B0S2_4343W/update_default_resources.o).
Not enough information to list the image map.
Finished: 1 information, 1 warning and 9 error messages.
glad to hear the target selection is working. This latest error seems to be related to running the manifest-dev-tool init from within the TARGET_CYTFM_064B0S2_4343W folder. Make sure to run that from the top level of the project. You should be able to remove the error above by removing the update_default_resources.c file from the TARGET_CYTFM_064B0S2_4343W folder, changing directory to one level up, then running the manifest-dev-tool command again. Hope that helps!
@maclobdell that did it - thank you! I was so flustered I must have forgotten where I was! :sweat_smile: :dizzy: All connected and everything now! :rocket: :closed_lock_with_key:
fantastic!
Describe the bug After succesfully completing the steps described in the
README
up to7
in Building and running the example I get the following error when trying to build:To Reproduce see above
Expected behavior Successful build.
Logs see above
Host system (please complete the following information):
1.2.1
Device information:
CY8CKIT-064B0S2-4343W