bootloader host - Command not recognised

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

cross mob
PeSi_1583586
Level 3
Level 3
10 replies posted 10 questions asked 5 replies posted

I have two versions of a project -SC5, and the later version SC6. They both contain the same Bootloader Project. The target project (SC5/SC6) differs slightly.

I program each board with the bootloader via the kitprog module, then program the application via a direct USB cable and the Bootloader Host (tools > Bootloader host... from PCoC Creator 4.2.

The SC5 version programs fine with no problems. However, in attempting to program the SC6 version in Bootloader Host I get the error message:

"The bootloader reported error 'Command not recognized: the supported commands are defined in the Bootloader section of the System Reference Guide'."

In the SC6 module Bootloadable component Dependencies I have set the path to the bootloader hex file to:

..\Bootloader.cydsn\CortexM3\ARM_GCC_541\Debug\Bootloader.hex   and the bootloader elf file to

..\Bootloader.cydsn\CortexM3\ARM_GCC_541\Debug\Bootloader.elf   in the SC6 workspace.  The Bootloader Host path to the file is set to:

..\SC6\SC6_1.cydsn\CortexM3\ARM_GCC_541\Debug\SC6_1.cyacd.

If I point Bootloader Host to the same file in the SC5 workspace the board is programmed fine with no problem except that it has been programmed with the SC5 softwar, not the SC6 software.

I'm sure I am missing somethin but can't see what. I can't see anything in the bootloader component to specify the target. Only the dependencies in the target to specify the bootloader

Can anyone help please?

0 Likes
1 Solution
GeonaP_26
Moderator
Moderator
Moderator
250 solutions authored 100 solutions authored 50 solutions authored

Multi app bootloader has different applications. It genarerates two cyacd files for each bootloadable application (which ends with _0 and _1). The bootloader host looks at the the filename end to understand the application number. Later, it sends command to the bootloader to understand the active application in device.

In the case of a normal bootloader , the active app comand is not a recognised and this error is generated.

Please rename the bootloadable project so that it does not end in _# such as SC6_1 in your case.

View solution in original post

0 Likes
2 Replies
GeonaP_26
Moderator
Moderator
Moderator
250 solutions authored 100 solutions authored 50 solutions authored

Multi app bootloader has different applications. It genarerates two cyacd files for each bootloadable application (which ends with _0 and _1). The bootloader host looks at the the filename end to understand the application number. Later, it sends command to the bootloader to understand the active application in device.

In the case of a normal bootloader , the active app comand is not a recognised and this error is generated.

Please rename the bootloadable project so that it does not end in _# such as SC6_1 in your case.

0 Likes

Thank you very much geon. That fixed the problem.

0 Likes