Program a custom MKW41Z board and firmware required for that

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Program a custom MKW41Z board and firmware required for that

1,561 Views
akeshchacko
Contributor II

Hi,
We are designing a custom board which also include one MKW41z(MKW41Z512VHT4) BLE mcu. We took reference from LS1012ARDB board for designing it. UART0 pins of MKW41z are directly connected to UART interface of our main board which runs on linux. We have some queries about kw41 firmware and how to program the chips.
- Does the KW41Z comes with preloaded firmware which make it as blue-tooth device(connected to main board via UART)?
- If KW41 flash is empty, is there any binaries are available to download to make it as a bluetooth module (Our requirement is to make kw41 as a blue-tooth module so that we can access it from linux using hcitool)?
- We have given SDW interface in our hardware module and have jlink Lite. Please confirm is this sufficient for programming KW41?

For additional knowledge:
we have an FRDM-KL27Z board with us and have options to take out UART0_RX,UART0_TX,SWD_DIO,SWD_CLK and RESET from KW41 section of our H/W. So is it possible to program KW41 with FRDM-KL27Z board's open sda interface.

Labels (3)
2 Replies

843 Views
gerardo_rodriguez
NXP Employee
NXP Employee

Hello Akesh Chacko,

To answer your questions:

1. The KW41Z comes with an empty flash.

2. You can use the hci_black_box application example located in <SDK path>\boards\frdmkw41z\wireless_examples\bluetooth\hci_black_box. You can download the latest MCUXpresso SDK with the wireless stacks from MCUXpresso SDK Builder. You can also follow the getting started tab from the FRDM-KW41Z development board for an easy step by step guide to get familiar with the SDK.

3. Yes, you can use a JLink Lite to program it via SWD.

4. Yes, please see the article Using the Freedom Board as SWD Programmer | MCU on Eclipse by our colleague Erich Styger. 

Regards,

Gerardo

843 Views
akeshchacko
Contributor II

Hi Gerardo,
Thanks for your reply. Our custom board will arrive on this week end, we will test and let you know.