Dear all,
I have identified a few (potential) issues in code generated by HCG 04.05.00 - please check the list below.
Thanks for your comments,
Best regards, Jiri
******************************************************************************
TMS570LC4357
******************************************************************************
-------
HL_std_nhet.h
-------
not in accordance with TMS570LC4357 (BIG endian) TRM SPNU563–May 2014
incorrectly modified (switched) endiannes conditions fo the preprocessor
-------
HL_pinmux.h
-------
#define PINMUX_BALL_R4_SHIFT 8U
HCG 04.04.00
#define PINMUX_BALL_R4_GIOB_3 (uint32)((uint32)0x2U << PINMUX_BALL_R4_SHIFT))
HCG 04.05.00
#define PINMUX_BALL_R4_GIOB_3 (uint32)((uint32)0x3U << PINMUX_BALL_R4_SHIFT))
Based on the datasheet SPNS195A –FEBRUARY 2014–REVISED MAY 2014 I would recommend
#define PINMUX_BALL_R4_GIOB_3 (uint32)((uint32)0x1U << 10))
#define PINMUX_BALL_R4_GIOB_3 (uint32)((uint32)0x4U << PINMUX_BALL_R4_SHIFT))
-------
HL_pinmux.c
-------
pinMuxReg->PINMUX[9] = PINMUX_BALL_R4_
instead of the expected sysmbol
pinMuxReg->PINMUX[9] = PINMUX_BALL_R4_GIOB_3
-------
HL_sys_core.s
-------
lines 529 and 533 (DSB instruction)
a comment character not accepted by GCC compiler - ";" instead of the expected "@"
******************************************************************************
TMS570LS3137
******************************************************************************
-------
reg_esm.h
-------
OK - ESTATUS5EMU not included in TRM SPNU499B
-------
HL_std_nhet.h
-------
not in accordance with TMS570LS3137 (BIG endian) TRM SPNU499B
incorrectly modified (switched) endiannes conditions fo the preprocessor