Skip to content

Commit

Permalink
Upload dfu 5.2.0.1787 [2752]
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlab-runner committed Sep 28, 2024
1 parent f2b8a3d commit 9903a76
Show file tree
Hide file tree
Showing 89 changed files with 1,584 additions and 253 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Features

- Reads firmware images from a host through a number of transport interfaces,
e.g. USB, UART, I2C, SPI
e.g. USB, UART, I2C, SPI, CANFD
Supports dynamic switching (during runtime) of the communication interfaces
- Provides ready-for-use transport interface templates based on HAL drivers for
PDL drivers for CAT1 devices and CAT2 devices
Expand Down Expand Up @@ -78,4 +78,4 @@ For more information, refer to the following links:
- [Infineon Technologies AG](https://www.infineon.com)

---
© Cypress Semiconductor Corporation (an Infineon company), 2023.
© Cypress Semiconductor Corporation (an Infineon company), 2023-2024.
21 changes: 12 additions & 9 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Device Firmware Update (DFU) Middleware Library 5.1
# Device Firmware Update (DFU) Middleware Library 5.2

## What's Included?

Expand All @@ -7,12 +7,15 @@ and the [DFU API Reference](https://infineon.github.io/dfu/html/index.html).
The revision history of the DFU middleware is also available in the [API Reference Changelog](https://infineon.github.io/dfu/html/index.html#group_dfu_changelog).
New in this release:

* Added USB CDC transport based on the emUSB-Device middleware for the CAT1A device
* Added USB HID transport based on the emUSB-Device middleware for the CAT1A device
* Added CANFD transport based on the PDL driver for the CAT1C device
* Minor updates in the templates

**Note** Device Firmware Update Host Tool 2.20 does not support CANFD transport. The CANFD support is planned to be added later.

## Defect Fixes

* Corrected the name of the UART object used in the cyhal_uart_set_baud() function. Now, works correctly the custom baud rate configuring in the UART transport.
* Fixed address validation for CAT1C device

## Known Issues

Expand All @@ -24,14 +27,14 @@ This version of the DFU middleware was validated for compatibility with the foll

| Software and Tools | Version |
| :--------------------------------------- | :----: |
| ModusToolbox Software Environment | 3.1.0 |
| - ModusToolbox Device Configurator | 2.20 |
| - Device Firmware Update Host Tool | 2.0 |
| ModusToolbox Software Environment | 3.2.0 |
| - ModusToolbox Device Configurator | 4.20 |
| - Device Firmware Update Host Tool | 2.20 |
| - CyMCUElfTool | 1.0 |
| GCC Compiler | 11.3.1 |
| IAR Compiler | 9.30.1 |
| IAR Compiler | 9.40.2 |
| ARM Compiler 6 | 6.16 |
| mtb-hal-cat1 | 2.5.4 |
| mtb-hal-cat1 | 2.6.1 |

Usage of the CAT1 HAL flow requires mtb-hal-cat1 2.3.0 or higher.
Usage of the MCUBoot flow requires DFU Host Tool 2.0 or higher.
Expand All @@ -42,4 +45,4 @@ Usage of the CDC Trasnport based on the emUSB-Device middleware requires core-ma
* [README.md](./README.md)

---
© Cypress Semiconductor Corporation (an Infineon company), 2023.
© Cypress Semiconductor Corporation (an Infineon company), 2023-2024.
4 changes: 2 additions & 2 deletions config/CAT1A/dfu_user.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************//**
* \file dfu_user.c
* \version 5.1
* \version 5.2
*
* This file provides the custom API for a firmware application with
* DFU SDK.
Expand All @@ -9,7 +9,7 @@
*
********************************************************************************
* \copyright
* (c) (2016-2023), Cypress Semiconductor Corporation (an Infineon company) or
* (c) (2016-2024), Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
********************************************************************************
* This software, including source code, documentation and related materials
Expand Down
4 changes: 2 additions & 2 deletions config/CAT1A/transport_i2c.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************//**
* \file transport_i2c.c
* \version 5.1
* \version 5.2
*
* This file provides the source code of the DFU communication APIs
* for the SCB Component I2C mode.
Expand All @@ -15,7 +15,7 @@
*
********************************************************************************
* \copyright
* (c) (2016-2023), Cypress Semiconductor Corporation (an Infineon company) or
* (c) (2016-2024), Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
********************************************************************************
* This software, including source code, documentation and related materials
Expand Down
4 changes: 2 additions & 2 deletions config/CAT1A/transport_i2c.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************//**
* \file transport_i2c.h
* \version 5.1
* \version 5.2
*
* This file provides constants and parameter values of the DFU
* communication APIs for the SCB Component.
Expand All @@ -9,7 +9,7 @@
*
********************************************************************************
* \copyright
* (c) (2016-2023), Cypress Semiconductor Corporation (an Infineon company) or
* (c) (2016-2024), Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
********************************************************************************
* This software, including source code, documentation and related materials
Expand Down
2 changes: 1 addition & 1 deletion config/CAT1A/transport_spi.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************//**
* \file transport_spi.c
* \version 5.1
* \version 5.2
*
* This file provides the source code of the DFU communication APIs
* for the SCB Component SPI mode.
Expand Down
4 changes: 2 additions & 2 deletions config/CAT1A/transport_spi.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************//**
* \file transport_spi.h
* \version 5.1
* \version 5.2
*
* This file provides constants and parameter values of the DFU
* communication APIs for the SCB Component.
Expand All @@ -9,7 +9,7 @@
*
********************************************************************************
* \copyright
* (c) (2016-2023), Cypress Semiconductor Corporation (an Infineon company) or
* (c) (2016-2024), Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
********************************************************************************
* This software, including source code, documentation and related materials
Expand Down
4 changes: 2 additions & 2 deletions config/CAT1A/transport_uart.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************//**
* \file transport_uart.c
* \version 5.1
* \version 5.2
*
* This file provides the source code of the DFU communication APIs
* for the SCB Component UART mode.
Expand All @@ -15,7 +15,7 @@
*
********************************************************************************
* \copyright
* (c) (2016-2023), Cypress Semiconductor Corporation (an Infineon company) or
* (c) (2016-2024), Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
********************************************************************************
* This software, including source code, documentation and related materials
Expand Down
4 changes: 2 additions & 2 deletions config/CAT1A/transport_uart.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************//**
* \file transport_uart.h
* \version 5.1
* \version 5.2
*
* This file provides constants and parameter values of the DFU
* communication APIs for the SCB Component.
Expand All @@ -9,7 +9,7 @@
*
********************************************************************************
* \copyright
* (c) (2016-2023), Cypress Semiconductor Corporation (an Infineon company) or
* (c) (2016-2024), Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
********************************************************************************
* This software, including source code, documentation and related materials
Expand Down
10 changes: 5 additions & 5 deletions cy_dfu.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/***************************************************************************//**
* \file cy_dfu.c
* \version 5.1
* \version 5.2
*
* This file provides the implementation of DFU Middleware.
*
********************************************************************************
* \copyright
* (c) (2016-2023), Cypress Semiconductor Corporation (an Infineon company) or
* (c) (2016-2024), Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation. All rights reserved.
********************************************************************************
* This software, including source code, documentation and related materials
Expand Down Expand Up @@ -2281,7 +2281,7 @@ static cy_en_dfu_status_t ContinueHelper(uint32_t command, uint8_t *packet, uint
break;

case CY_DFU_CMD_SEND_DATA:
CY_DFU_LOG_DBG("Receive Send Data command");
CY_DFU_LOG_INF("Receive Send Data command");
status = CommandSendData(packet, rspSize, params);
break;
#endif /* CY_DFU_NO_CMD_SEND_DATA == 0 */
Expand Down Expand Up @@ -2405,7 +2405,7 @@ cy_en_dfu_status_t Cy_DFU_Continue(uint32_t *state, cy_stc_dfu_params_t *params)
}


#if CY_DFU_OPT_CUSTOM_CMD != 0
#if (CY_DFU_OPT_CUSTOM_CMD != 0) || defined(CY_DOXYGEN)
/*******************************************************************************
* Function Name: Cy_DFU_RegisterUserCommand
****************************************************************************//**
Expand Down Expand Up @@ -2457,6 +2457,6 @@ cy_en_dfu_status_t Cy_DFU_UnRegisterUserCommand(cy_stc_dfu_params_t *params)
return status;
}

#endif /* CY_DFU_OPT_CUSTOM_CMD != 0 */
#endif /* #if (CY_DFU_OPT_CUSTOM_CMD != 0) || defined(CY_DOXYGEN) */

/* [] END OF FILE */
Loading

0 comments on commit 9903a76

Please sign in to comment.