Dongle
Friday, 16 August 2019
12:27 PM
From main.c
* Project Name : PSoC_4_BLE_Eddystone
* File Name : main.c
* Version : 1.0
* Device Used : CY8C4248LQI-BL583
* Software Used : PSoC Creator 4.1
* Compiler : ARM GCC 5.4.1, ARM MDK Generic
* Related Hardware : CY8CKIT-042-BLE-A Bluetooth Low Energy Pioneer Kit
* Owner : DEJO
*
--------------- Build Started: 08/16/2019 11:22:04 Project: PSoC_4_BLE_Eddystone01, Configuration: ARM GCC 5.4-2016-q2-update Debug
Message from 'program' option:
Error: dbg.M0033: The selected debug target 'CYBL10162-56LQXI' is not compatible with the project's selected device 'CY8C4248LQI-BL583'.
The CY8C numbers on the Quick Start Sheet for the dongle are:
'CY8C4248LQI-BL583' PSoc 4 BLE device
'CY8C5868LTI-LP039' PSoc 5LP programmer and debugger
Note: the 'device used' value appears in the Error message.
Why is the programmer objecting to the device (USB dongle)?
The dongle was successfully used a few years ago before I noticed that an update to the software IDE was
available.
Successfully Connected to KitProg/BLE1407095502274400 at 12:40:26 PM | KitProg Version 2.20
Opening Port at 12:40:26 PM |
Memory Types Load from HEX Finished at 12:40:26 PM |
| Hex File parsing failure. Hex file does not exist or cannot be opened.
| Load file or select one from the Recent Files list
Device set to CY8C4248LQI-BL583 at 12:40:26 PM | 262144 FLASH bytes
Device Family set to CY8C4xxx-BLE at 12:40:25 PM |
Memory Types Load from HEX Requested at 12:40:25 PM |
Active HEX file set at 12:40:25 PM |
The reason for this investigation is that the 'program' sequence often objects to the KitProg version - which is shown as 2.20 above.
From Linux dmesg:
kern :info : [Fri Aug 16 12:59:44 2019] usb 5-2: USB disconnect, device number 3
kern :info : [Fri Aug 16 12:59:47 2019] usb 5-2: new full-speed USB device number 4 using uhci_hcd
kern :info : [Fri Aug 16 12:59:47 2019] usb 5-2: New USB device found, idVendor=04b4, idProduct=f139
kern :info : [Fri Aug 16 12:59:47 2019] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=128
kern :info : [Fri Aug 16 12:59:47 2019] usb 5-2: Product: Cypress KitProg
kern :info : [Fri Aug 16 12:59:47 2019] usb 5-2: Manufacturer: Cypress Semiconductor
kern :info : [Fri Aug 16 12:59:47 2019] usb 5-2: SerialNumber: BLE1407095502274400
kern :info : [Fri Aug 16 12:59:47 2019] hid-generic 0003:04B4:F139.0005: hiddev0,hidraw1: USB HID v1.11 Device [Cypress Semiconductor Cypress KitProg] on usb-0000:00:1d.3-2/input0
kern :info : [Fri Aug 16 12:59:47 2019] cdc_acm 5-2:1.2: ttyACM0: USB ACM device