arachnidlabs / cyflash

Bootloader tool for Cypress PSoC series microcontrollers.
BSD 2-Clause "Simplified" License
43 stars 23 forks source link

cyflash stuck while programming the PSoC.. #15

Open bk201mail opened 7 years ago

bk201mail commented 7 years ago

Hi,

I tried to use cyflash in Ubuntu to flash the PSOC 5 and it doesn't work. This is what I did:

sudo cyflash --serial=/dev/ttyUSB0 --serial_baudrate 115200

and after that I get this message:

Initialising bootloader. Silicon ID 0x2e129069, revision 0. Array 0: first row 23, last row 255. Array 1: first row 0, last row 255.

I checked the PSoC and it didn't work. It seems it stops half way through in loading the firmware image. It works fine in windows using UART bootloader Application host software.

Does anyone know what might be the problem??

I have both RX/TX buffer size set to 64 bytes in both bootloader and bootable project. I tried bootloader with checksum type: Basic Simulation and it didn't work. I got checksum error and then I change the type to CRC-16-CCITT and it works but then it stuck as I mention it above (output).

jsiverskog commented 6 years ago

Do you still have the same issue with the current master?