Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 4 Forum Discussions

DaMa_1439756
Level 1
Level 1

Our current project targets the CYBLE-214009-00 device. This device is going end of life. So we're migrating to the drop-in replacement CYBLE-214015-01.

Going forward we will need to maintain two build options one for each device type.

In the firmware, I would like to be able to report the device type. As such we can annotate this information in error logs and also use the device type to load the correct hex file when performing a firmware update. I can make #define statements to identify the device etc. How do I programmatically determine whether my device is the CYBLE-214009-00 or the CYBLE-214015-01? Is there a #define that I can use, or a System API that I can use. Using PsoC Creator 4.2.

0 Likes
1 Solution
DaMa_1439756
Level 1
Level 1

Looks like I can use CYDEV_CHIP_JTAG_ID which gets defined in the codegenerated cyfitter.h module.

View solution in original post

0 Likes
1 Reply
DaMa_1439756
Level 1
Level 1

Looks like I can use CYDEV_CHIP_JTAG_ID which gets defined in the codegenerated cyfitter.h module.

0 Likes