You are here

PSOC 4 CY8CKIT-049 kit, Bootloader reported error 'Packet Length invalid' | Cypress Semiconductor

PSOC 4 CY8CKIT-049 kit, Bootloader reported error 'Packet Length invalid'

Summary: 5 Replies, Latest post by vsrs on 18 Dec 2016 11:25 PM PST
Verified Answers: 1
Last post
Log in to post new comments.
royarchana44_1805711's picture
2 posts

I am new to PSoC and using  PSoC4 CY8CKIT-049 kit. I tested it with LED blink program and its working fine. Now I tried to see result for ADC but I am getting error- Bootloader reported error 'Packet data invalid': The packet sent to the bootloader does not conform to the required packet format.

The program I wrote is a simple one. Programm inside for loop is:

aVal  = ADC_GetResult16(0);


if(aVal> 2047) aVal = 2047;

if(aVal<1) aVal = 1;

aVal == aVal/2 +100;



user_1377889's picture
10431 posts

Welcome in the forum!

This error is not related to the program you have written, it is a matter of communications between your bootloader which is already programmed into your kit and which cannot be overwritten.

Check the bootloadable component for the correct path to your original bootloader .hex and .elf files.

Check the baud rate settings

Triple check whether you took the correct com port

Check for the right blinking mode when kit was inserted with switched pressed.



royarchana44_1805711's picture
2 posts

I have checked again and again, but unable to find any error. Now when I am running my led blink program, it is showing the same error, but still the led is blinking. Not getting what is going wrong.

user_1377889's picture
10431 posts

Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.



Danyi's picture
5 posts


I have the same problem. After a working day with the kit, at the end the bootloader has sent me the same error, for all programs which had already worked .

Some additional info: I updated Psoc Creator to 4.0 and, also Cy_Boot to the last version together with the components according to Forum disscutions. The result is the same "Packet data invalid" for all my programs and for both kits. Should be a issue of  configuration.


CY8CKIT 049 4125 AXI 483 

CY8CKIT 049 4245 AXI 483

Please, give me an advice!

Thank You!

vsrs's picture
Cypress Employee
101 posts

Hi Danyi,

We are able to program your attached program once the dependencies are set correct. 
To change dependency: 
1. In the schematic view, right-click the Bootloadable component and select Configure.
2.In the configuration window, select the Dependencies tab and click the Browse button to point to the HEX and ELF files present in the ‘Dependencies’ folder under project directory. It will be present in the 49 kit specific files you have installed. Copy the complete path to the files in the appropriate fields. 

This should solve the problem.

Best Regards,

Log in to post new comments.