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

PSoC™ 4 Forum Discussions

TerryTao2
Level 1
Level 1
First like given First reply posted First question asked

Hi everyone,

Currently, we plan to use CY8C4245FNI-DS402(PSoC4 series) for an automotive project production(LIN bus is main module interface). I have below questions about bootloader in production line.

1) Is there any prebuilt bootloader section inside this MCU chip already when we buy it? If not, looks like we have to reserve SWD interface on our module board for flashing a bootloader code into MCU firstly when we make module in production line? One concern is there is no board space & no connector on our module board for SWD interface, we prefer to get a MCU which already have bootloader, is there any way to achieve this? Thanks.

2) For bootloader itself, does it support LIN interface? is there any reference & sample code for this LIN bus based bootloader?

3) Currently, the Bootloader Host tools integrated in PSoC4.4 IDE seems only support UART interface, is there any other bootloader host tool which supports LIN bus?

Looking forwared to seeing your reply and appreciate it!

Best Regards,

Terry

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @TerryTao2 ,

1) Is there any prebuilt bootloader section inside this MCU chip already when we buy it? If not, looks like we have to reserve SWD interface on our module board for flashing a bootloader code into MCU firstly when we make module in production line? One concern is there is no board space & no connector on our module board for SWD interface, we prefer to get a MCU which already have bootloader, is there any way to achieve this? Thanks.

>>There is no prebuilt bootloader section inside this MCU chip. We can develop a LIN based bootloader for PSoC-4, but there is no pre-built/in-built bootloader to support LIN IN PSoC4. You have to use SWD to flash the bootloader code

2) For bootloader itself, does it support LIN interface? is there any reference & sample code for this LIN bus based bootloader?

>>You can refer to the below thread which has a simple example on LIN Bootloader

https://community.infineon.com/t5/PSoC-4/Bootloader-on-LIN-bus/m-p/74194

3) Currently, the Bootloader Host tools integrated in PSoC4.4 IDE seems only support UART interface, is there any other bootloader host tool which supports LIN bus?

>>We do not have a bootloader host tool supporting LIN. You can probably  develop your own, or use LIN analyzer.

Regards,

Alakananda

View solution in original post

2 Replies
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @TerryTao2 ,

1) Is there any prebuilt bootloader section inside this MCU chip already when we buy it? If not, looks like we have to reserve SWD interface on our module board for flashing a bootloader code into MCU firstly when we make module in production line? One concern is there is no board space & no connector on our module board for SWD interface, we prefer to get a MCU which already have bootloader, is there any way to achieve this? Thanks.

>>There is no prebuilt bootloader section inside this MCU chip. We can develop a LIN based bootloader for PSoC-4, but there is no pre-built/in-built bootloader to support LIN IN PSoC4. You have to use SWD to flash the bootloader code

2) For bootloader itself, does it support LIN interface? is there any reference & sample code for this LIN bus based bootloader?

>>You can refer to the below thread which has a simple example on LIN Bootloader

https://community.infineon.com/t5/PSoC-4/Bootloader-on-LIN-bus/m-p/74194

3) Currently, the Bootloader Host tools integrated in PSoC4.4 IDE seems only support UART interface, is there any other bootloader host tool which supports LIN bus?

>>We do not have a bootloader host tool supporting LIN. You can probably  develop your own, or use LIN analyzer.

Regards,

Alakananda

Hi Alakananda,

I have got your answers. Thanks for your prompt reply!

Best Regards,

Terry

0 Likes