KW45 First Time Programming

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

KW45 First Time Programming

Jump to solution
5,790 Views
cnew01
Contributor IV

I am trying to program a custom KW45-based PCB for the first time. I tried using MCUXpresso. The J-Link could upload my program over SWD but when I tried entering debug mode the board halts at address 0x14816fdc. Further research has shown that the NBU for the Bluetooth coprocessor needs to be uploaded. I've tried AN13838, but my board cannot be discovered over UART. I've been looking into AN14003, but it's information is out of date with regards to the current SPSDK. What do I do?

0 Kudos
Reply
1 Solution
3,222 Views
cnew01
Contributor IV

Closing this thread. There was a design error in the custom hardware that had a permanent pull up on the boot_config pin. Once removed, the issue was resolved and the NBU could be programmed as specified in AN14003.

View solution in original post

0 Kudos
Reply
24 Replies
2,975 Views
cnew01
Contributor IV

The blhost is not detecting my UART to USB converter that i have connected to the board. Im using a different converter on COM8 but I am having the same issue I was having with the converter on COM15.

cnew01_0-1759940680248.png

 

0 Kudos
Reply
3,978 Views
cnew01
Contributor IV

I've tried following an14003 section 5 (omitting section 3) using the evk sb3. The one modification I made was setting 
loader_info.partition_desc = PLATFORM_OtaGetOtaInternalPartitionConfig();
I'm still encountering the same error once merging the generated binary and the SB3. What would you reccomend I look into?

0 Kudos
Reply
3,925 Views
luis_maravilla
NXP Employee
NXP Employee

PLATFORM_OtaGetOtaInternalPartitionConfig  returns internal partition configuration structure, what you could try is make the initialization manually, to ensure the internal flash is selected and the values start at 0.

Let me know if that worked for you.

OtaPartition_t Test_ota_partition = 
{
    /*start_offset*/ 0,\
    /*size*/         0,\
    /*sector_size*/  0,\
    /*page_size*/    0,\
    /*internal_flash*/ true,\
    /*spi_baudrate*/ 0,\
};

loader_info.partition_desc = &Test_ota_partition;

0 Kudos
Reply
2,726 Views
cnew01
Contributor IV

I will clarify that LPUART0 TX and RX pins are accessible on this custom board through a header.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2162913%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EKW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162913%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20trying%20to%20program%20a%20custom%20KW45-based%20PCB%20for%20the%20first%20time.%20I%20tried%20using%20MCUXpresso.%20The%20J-Link%20could%20upload%20my%20program%20over%20SWD%20but%20when%20I%20tried%20entering%20debug%20mode%20the%20board%20halts%20at%20address%26nbsp%3B0x14816fdc.%20Further%20research%20has%20shown%20that%20the%20NBU%20for%20the%20Bluetooth%20coprocessor%20needs%20to%20be%20uploaded.%20I've%20tried%20AN13838%2C%20but%20my%20board%20cannot%20be%20discovered%20over%20UART.%20I've%20been%20looking%20into%20AN14003%2C%20but%20it's%20information%20is%20out%20of%20date%20with%20regards%20to%20the%20current%20SPSDK.%20What%20do%20I%20do%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2206003%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2206003%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%2C%3C%2FP%3E%3CP%3EI%20was%20reading%20the%20thread%2C%20and%20I%20understood%20that%20you%20were%20trying%20to%20follow%20the%20steps%20mentioned%20in%20the%20AN14003%2C%20to%20generate%20a%20single%20binary%20to%20program%20the%20KW45%20using%20SWD.%20Since%20this%20thread%20is%20a%20bit%20older%2C%20%3CSTRONG%3EWere%20you%20successful%20in%20that%3F%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20do%20the%20same%20here%20and%20I%20am%20facing%20some%20issues.%20I%20was%20not%20successful%20with%20the%20jupyter%20part%20for%20generating%20the%20keys%20and%20creating%20the%20secure%20binaries.%20For%20that%20part%20I%20am%20using%20the%20SPSDK%20CLI%20tool%20that%20was%20mentioned%20in%20this%20same%20thread%2C%20(I%20mean%20for%20generating%20the%20keys%20and%20the%20sb3%20files).%20But%20I%20am%20getting%20issues%20when%20I%20merge%20the%20Binary%20files.%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20per%20the%20document%2C%20i%20gave%20used%20the%20%3CSTRONG%3Eotap_client_freertos%3C%2FSTRONG%3E%20sdk%20example%20and%20did%20modifications%20as%20mentioned.%20and%20generated%20the%20bin%20file.%20Then%20I%20opened%20the%26nbsp%3B%3CSTRONG%3Eotap_client_freertos.bin%20%26amp%3B%26nbsp%3Bkw45b41_nbu_ble_xp_hosted.sb3%3C%2FSTRONG%3E%20files%20in%20a%20hex%20editor%20and%20copied%20the%20contents%20of%20the%20sb3%20file%20to%20the%20address%20%3CSTRONG%3E0x7A000%3C%2FSTRONG%3E%20of%20the%26nbsp%3B%3CSTRONG%3Eotap_client_freertos.bin%3C%2FSTRONG%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3Eas%20mentioned.%20I%20then%20loaded%20the%20merged%20binary%20to%20the%20SEGGER%20J-Flash%20utility%20for%20flashing%20the%20binary%20into%20the%20KW45.%20But%20the%20operation%20failed%20and%20after%20this%2C%20I%20am%20not%20even%20able%20to%20program%20a%20blinky%20example%20also.%20To%20recover%20from%20this%20condition%20I%20had%20to%20enter%20the%20ISP%20mode%20and%20erase%20the%20entire%20chip%20(I%20was%20not%20able%20to%20access%20the%20chip%20via%20SWD%20even%20for%20erasing%20it).%26nbsp%3BThe%20following%20is%20the%20%3CSTRONG%3Eerror%20message%3C%2FSTRONG%3E%20I%20got%20when%20the%20flashing%20failed%20with%20the%20merged%20binary.%26nbsp%3B%3C%2FP%3E%3CP%3E****************************************************************************************%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3EProgramming%20and%20verifying%20target%20(1040384%20bytes%2C%201%20range)%20...%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20Connecting%20...%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Connecting%20via%20USB%20to%20probe%2F%20programmer%20device%200%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Probe%2F%20Programmer%20firmware%3A%20J-Link%20V9%20compiled%20Dec%2013%202022%2011%3A14%3A50%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Probe%2F%20Programmer%20S%2FN%3A%2069730348%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Device%20%22KW45B41Z83%22%20selected.%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Target%20interface%20speed%3A%204000%20kHz%20(Fixed)%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20VTarget%20%3D%203.290V%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20ConfigTargetSettings()%20start%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20ConfigTargetSettings()%20end%20-%20Took%20499us%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20InitTarget()%20start%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20SWD%20selected.%20Executing%20JTAG%20-%26gt%3B%20SWD%20switching%20sequence.%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20ROM%20entered%20ISP%20command%20handling%20loop.%20Re-enable%20the%20debug%20access.%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20InitTarget()%20end%20-%20Took%20117ms%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Found%20SW-DP%20with%20ID%200x6BA02477%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20DPv0%20detected%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20CoreSight%20SoC-400%20or%20earlier%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20AP%20map%20detection%20skipped.%20Manually%20configured%20AP%20map%20found.%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20AP%5B0%5D%3A%20AHB-AP%20(IDR%3A%20Not%20set%2C%20ADDR%3A%200x00000000)%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Iterating%20through%20AP%20map%20to%20find%20AHB-AP%20to%20use%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20AP%5B0%5D%3A%20Skipped%20ROMBASE%20read.%20CoreBaseAddr%20manually%20set%20by%20user%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20AP%5B0%5D%3A%20Core%20found%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20CPUID%20register%3A%200x410FD214.%20Implementer%20code%3A%200x41%20(ARM)%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Feature%20set%3A%20Mainline%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Cache%3A%20No%20cache%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Found%20Cortex-M33%20r0p4%2C%20Little%20endian.%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Cortex-M%20(ARMv8-M%20and%20later)%3A%20The%20connected%20J-Link%20(S%2FN%2069730348)%20uses%20an%20old%20firmware%20module%20that%20does%20not%20handle%20I%2FD-cache%20correctly.%20Proper%20debugging%20functionality%20cannot%20be%20guaranteed%20if%20cache%20is%20enabled%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20FPUnit%3A%208%20code%20(BP)%20slots%20and%200%20literal%20slots%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Security%20extension%3A%20implemented%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Secure%20debug%3A%20enabled%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20ROM%20table%20scan%20skipped.%20CoreBaseAddr%20manually%20set%20by%20user%3A%200x80030000%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20SetupTarget()%20start%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20SetupTarget()%20end%20-%20Took%207.11ms%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Executing%20init%20sequence%20...%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%20-%20Executing%20Reset%20(0%2C%200%20ms)%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20ResetTarget()%20start%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20No%20valid%20application%20programmed.%20Skipping%20reset.%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20ResetTarget()%20end%20-%20Took%201.18ms%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20Device%20specific%20reset%20executed.%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%26nbsp%3B%20-%20Initialized%20successfully%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Target%20interface%20speed%3A%204000%20kHz%20(Fixed)%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Found%201%20JTAG%20device.%20Core%20ID%3A%200x6BA02477%20(None)%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%20-%20Connected%20successfully%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20Checking%20if%20selected%20data%20fits%20into%20selected%20flash%20sectors.%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20Start%20of%20preparing%20flash%20programming%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20End%20of%20preparing%20flash%20programming%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20Start%20of%20determining%20dirty%20areas%20in%20flash%20cache%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20End%20of%20determining%20dirty%20areas%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20CPU%20speed%20could%20not%20be%20measured.%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20Start%20of%20flash%20programming%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%3CFONT%20color%3D%22%23008000%22%3E%20Programming%20range%200x00000000%20-%200x00007FFF%20(%26nbsp%3B%204%20Sectors%2C%2032%20KB)%3C%2FFONT%3E%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20End%20of%20flash%20programming%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20ERROR%3A%20Program%20failed%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20Start%20of%20restoring%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B%3CFONT%20color%3D%22%23FF0000%22%3E-%20ERROR%3A%20Failed%20to%20restore%20target.%20RAMCode%20never%20stops%3C%2FFONT%3E%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20End%20of%20restoring%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20ERROR%3A%20Failed%20to%20program%20and%20verify%20target%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3EWARNING%3A%20Supply%20voltage%20too%20low%20or%20too%20high%2C%20disconnecting%20target!%20VTarget%20%3D%200.000V%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3EDisconnecting%20...%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CEM%3E%26nbsp%3B-%20Disconnected%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E**********************************************************************************************%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EIt%20appears%20like%20the%20area%20we%20are%20attempting%20to%20program%20is%3C%2FFONT%3E%26nbsp%3B%3CSTRONG%3E%3CFONT%20color%3D%22%23008000%22%3E0x00000000%20-%200x00007FFF%3C%2FFONT%3E%3C%2FSTRONG%3E%3CFONT%20color%3D%22%23008000%22%3E%3CFONT%20color%3D%22%23000000%22%3E%20%26amp%3B%20as%20per%20the%20document%20the%20NBU%20firmware%20is%20copied%20to%3C%2FFONT%3E%3C%2FFONT%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23008000%22%3E%200x7A000%3C%2FFONT%3E%3C%2FSTRONG%3E%3CFONT%20color%3D%22%23000000%22%3E%20which%20is%20beyond%20this%20range.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EPlease%20correct%20me%20if%20I'm%20wrong%20here.%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2202771%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202771%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBluetooth%20firmware%20was%20uploaded%20to%20the%20KW45%20using%20the%20following%20definition.%3CBR%20%2F%3E%3CBR%20%2F%3EOtaPartition_t%20Test_ota_partition%20%3D%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%2F*start_offset*%2F%200%2C%5C%3CBR%20%2F%3E%2F*size*%2F%200%2C%5C%3CBR%20%2F%3E%2F*sector_size*%2F%200%2C%5C%3CBR%20%2F%3E%2F*page_size*%2F%200%2C%5C%3CBR%20%2F%3E%2F*internal_flash*%2F%20true%2C%5C%3CBR%20%2F%3E%2F*spi_baudrate*%2F%200%2C%5C%3CBR%20%2F%3E%7D%3B%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2202768%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202768%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3C%2FP%3E%3CP%3EI%20ran%20into%20the%20same%20issue%20mentioned%20here...%3C%2FP%3E%3CP%3E%22%3CSPAN%3EI'm%20trying%20to%20implement%20the%20app%20note%2C%20I%20will%20be%20using%20the%20default%20keys%20just%20to%20validate%20functionality%20on%20this%20custom%20board.%20In%20an14003%2C%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3ETest_ota_partition%20on%20Page%2013%20is%20not%20defined%20in%20the%20OTAP%20example%20or%20the%20rest%20of%20the%20code%20provided.%3C%2FSPAN%3E%22%26nbsp%3B%3CBR%20%2F%3ECan%20you%20please%20suggest%20me%20a%20sample%20data%20for%20this%20variable%20please%3F%20looking%20into%20the%20internal%20memory%20I'm%20getting%20confused.%20if%20I%20get%20to%20see%20a%20sample%20(test)%20values%20for%20this%20variable%20it%20would%20be%20more%20helpful%20for%20me%20to%20understand%20better.%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2186025%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2186025%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EClosing%20this%20thread.%20There%20was%20a%20design%20error%20in%20the%20custom%20hardware%20that%20had%20a%20permanent%20pull%20up%20on%20the%20boot_config%20pin.%20Once%20removed%2C%20the%20issue%20was%20resolved%20and%20the%20NBU%20could%20be%20programmed%20as%20specified%20in%20AN14003.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184031%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184031%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ETo%20use%20the%20bootloader%20and%20load%20the%20NBU%20image%20the%20connection%20is%20by%20using%20PTC2%20and%20PTC3%20%5BLPUART1%5D%3B%20this%20connection%20allows%20the%20ROM%20bootloader%20enter%20ISP%20mode%20and%20use%20the%20blhost%20for%20loading%20the%20KW45%20Default%20keys%20and%20NBU%20image.%20There%20is%20a%20recommendation%20to%20have%20the%20option%20for%20a%20way%20to%20pull%20BOOT_CFG%5BPTA4%5D%20to%20logic%20high%20in%20order%20to%20enter%20the%20device%20in%20bootloader%20mode%20also%20that%20the%20peripherals%20instances%20used%20by%20ISP%20to%20have%20the%20option%20to%20connect%20them%20to%20UART%20to%20USB%20converter.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThis%20information%20is%20described%20in%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DKW45RM%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EKW45%20Reference%20Manual%3C%2FA%3E%20Chapter%2016%20Table%2074%20and%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FWireless-MCU%2FThe-best-way-to-build-a-PCB-first-time-right-with-KW45%2Fm-p%2F1592481%2Fthread-id%2F14455%2Femcs_t%2FS2h8ZW1haWx8Ym9hcmRfc3Vic2NyaXB0aW9ufE1ETjZNTzY1SjBEOVFVfDE1OTI0ODF8U1VCU0NSSVBUSU9OU3xoSw%3Fattachment-id%3D165531%22%20target%3D%22_blank%22%3EHardware%20Design%20Recommendations%3C%2FA%3E%20slide%2052%20BOOTLOADER%20chapter%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ECould%20you%20kindly%20describe%20your%20process%20to%20enter%20ISP%20mode%3F%20Did%20you%20make%20a%20connection%20from%20BOOT_CFG%5BPTA4%5D%20pin%20to%20VDD%20while%20reset%3F%3C%2FP%3E%0A%3CP%3ECould%20you%20possibly%20change%20your%20UART0%20connection%20to%20UART1%20to%20enter%20ISP%20mode%20and%20upload%20the%20KW45%20default%20keys%20and%20NBU%20image%20%5BSDK%20v25.09%5D%3F%3C%2FP%3E%0A%3CP%3EPlease%20let%20me%20know%20if%20you%20can%20enter%20ISP%20mode%20via%20this%20described%20method%20and%20the%20blhost%20can%20be%20used%20now.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAlso%2C%20could%20you%20share%20what%20SDK%20version%20for%20the%20examples%20were%20you%20using%3F%20And%20if%20you%20could%20use%20the%20latest%20version%20available%20%5B25.09%5D%20for%20the%20SDK%20examples%20to%20match%20the%20NBU%20image.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3ELuis%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2181982%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2181982%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20blhost%20is%20not%20detecting%20my%20UART%20to%20USB%20converter%20that%20i%20have%20connected%20to%20the%20board.%20Im%20using%20a%20different%20converter%20on%20COM8%20but%20I%20am%20having%20the%20same%20issue%20I%20was%20having%20with%20the%20converter%20on%20COM15.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22cnew01_0-1759940680248.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22cnew01_0-1759940680248.png%22%20style%3D%22width%3A%20381px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F359931i6FA2BD57DC74C80A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22cnew01_0-1759940680248.png%22%20alt%3D%22cnew01_0-1759940680248.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2180050%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2180050%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ECould%20you%20help%20us%20check%20if%20your%20board%20is%20being%20correctly%20detected%20as%20a%20COM%20port%20%5BUART%5D%20in%20Device%20Manager%20tool%20in%20your%20computer%2C%20under%20the%20section%20Ports%20(COM%20%26amp%3B%20LPT)%3F%20This%20will%20help%20confirm%20the%20active%20COM%20connection.%20Based%20on%20the%20image%2C%20the%20command%20appears%20to%20be%20using%20COM15%2C%20while%20the%20debug_log%20indicates%20COM7%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EIn%20device%20manager%20you%20should%20see%20something%20like%20this%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22luis_maravilla_1-1759518234464.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22luis_maravilla_1-1759518234464.png%22%20style%3D%22width%3A%20236px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F359494iB12300C45D518ED9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22luis_maravilla_1-1759518234464.png%22%20alt%3D%22luis_maravilla_1-1759518234464.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorluis_maravilla_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3EIf%20you%20confirm%20the%20connection%20being%20COM7%3B%20please%20retry%20the%20blhost%20command%20%5Bblhost%20-p%20COM7%20get-property%200x01%5D%20to%20verify%20a%20success%20response%20connection.%3C%2FP%3E%0A%3CP%3EIf%20this%20command%20succeeds%2C%20please%20retry%20the%20MCUXpresso%20Secure%20Provisioning%20Tool%20step%20using%20COM7%20instead%20of%20COM15%20to%20update%20the%20NBU%20image.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EPlease%20let%20me%20know%20your%20findings.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3ELuis%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2179540%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2179540%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20part%20number%20is%20here%3A%26nbsp%3B%3CSPAN%3EKW45B41Z83AFTBR%3CBR%20%2F%3E%3C%2FSPAN%3EI%20am%20unable%20to%20use%20blhost.%3C%2FP%3E%3CP%3EWhenever%20I%20try%20I%20get%20the%20following%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22cnew01_2-1759425504764.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22cnew01_2-1759425504764.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F359342iFC07FA1385B631BD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22cnew01_2-1759425504764.png%22%20alt%3D%22cnew01_2-1759425504764.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20have%20a%20USB%20to%20UART%20adapter%20that%20is%20connected%20to%20LPUART0%20pins.%3C%2FP%3E%3CP%3EI%20can%20do%20the%20following%20below%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22cnew01_0-1759425255307.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22cnew01_0-1759425255307.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F359340iA62D671C41531DA3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22cnew01_0-1759425255307.png%22%20alt%3D%22cnew01_0-1759425255307.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20debug%20log%20referenced%20by%20the%20error%20is%20attached.%20My%20USB%20to%20TTL%20Serial%20should%20be%20connected%20at%20COM15%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2179038%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2179038%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECould%20you%20help%20us%20confirm%20in%20which%20OEM%20state%20is%20the%20KW45%3F%20You%20can%20use%20the%20blhost%20tool%20command%20%22blhost%20-p%20COMx%20get-property%200x01%22%20and%20can%20you%20share%20with%20us%20the%20response%3F%20Also%20Could%20you%20help%20us%20share%20with%20us%20what%20it%20is%20the%20complete%20part%20number%20of%20your%20KW45%3F%3C%2FP%3E%0A%3CP%3EYou%20can%20check%20the%20part%20number%20information%20with%20the%20table%201%20in%20the%20datasheet%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fdata-sheet%2FKW45.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EKW45B%20(radio)%20and%20KW45Z%20(MCU)%20Data%20Sheet%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EBest%20Regards%2C%20Luis%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2178210%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2178210%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20program%20will%20get%20stuck%20at%26nbsp%3B0x14816fdc%20even%20when%20it's%20the%20LED%20Blinky%20example.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2177741%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2177741%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20help%20us%20confirm%20whether%20you're%20able%20to%20flash%20and%20run%20any%20program%20on%20your%20board%E2%80%94excluding%20wireless%20or%20Bluetooth%20Low%20Energy%20examples%3F%2C%20this%20is%20for%2C%20I%E2%80%99d%20like%20to%20confirm%20whether%20the%20board%20still%20fails%20to%20operate%20even%20when%20running%20a%20program%20that%20doesn%E2%80%99t%20require%20the%20NBU.%3C%2FP%3E%0A%3CP%3EI%20recommend%20testing%20one%20of%20the%20examples%20available%20in%20the%20SDK%20to%20verify%20basic%20functionality.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAdditionally%2C%20please%20ensure%20that%20your%20board%E2%80%99s%20serial%20connection%20is%20correctly%20configured%20by%20comparing%20it%20with%20the%20KW45B41Z-EVK%20schematics.%20You%20can%20consult%20the%20schematics%20at%20the%20following%20link%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DKW45B41Z-EVK_SCH%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EKW45B41Z%20Evaluation%20Kit%20Board%20Schematics%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3ELuis%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176814%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176814%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ELuis%3A%3CBR%20%2F%3EI%20have%20installed%20the%20SPSDK%20and%20have%20found%20the%20tool%20you%20have%20mentioned.%20My%20current%20issue%20is%20since%20I%20don't%20have%20an%20onboard%20device%20for%20USB%20I%20must%20use%20a%20USB%20to%20UART%20Converter.%20In%20attempting%20that%20the%20software%20cannot%20find%20my%20board%20(on%20the%20USB%20port%20with%20my%20USB%20to%20TTL%20converter%20I'm%20getting%20the%20error%20message%20below.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22cnew01_0-1758913567835.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22cnew01_0-1758913567835.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F358771iDF1EE89B53E04B34%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22cnew01_0-1758913567835.png%22%20alt%3D%22cnew01_0-1758913567835.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20can%20confirm%20that%20I%20used%20the%26nbsp%3Bnxpdebugmbox%20cmd%20-f%20kw45b41z8%20ispmode%20-m%201%20command%20in%20the%20terminal%20to%20set%20it%20to%20ISP%20mode%20and%20the%20terminal%20indicates%20that%20has%20taken%20place%20successfully.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176807%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176807%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EThis%20instruction%20refers%20to%20the%20%22%3CSTRONG%3EMCUXpresso%20Secure%20Provisioning%20Tool%22%3C%2FSTRONG%3E%2C%20I%20would%20recommend%20using%20the%20latest%20version%20%22MCUXpresso%20Secure%20Provisioning%20Tool%20%3CSTRONG%3E25.06%3C%2FSTRONG%3E%22%20of%20your%20OS%2C%20you%20can%20download%20the%20tool%20from%20this%20link%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fdevelopment-software%2Fmcuxpresso-software-and-tools-%2Fmcuxpresso-secure-provisioning-tool%3AMCUXPRESSO-SECURE-PROVISIONING%23%3A~%3Atext%3DWireless%2520Connectivity-%2CDownloads%2C-Quick%2520reference%2520to%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMCUXpresso%20Secure%20Provisioning%20Tool%20Downloads%3C%2FA%3E%2C%20also%20creating%20a%20new%20workspace%20in%20the%20tool.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorluis_maravilla_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22luis_maravilla_1-1758912500801.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22luis_maravilla_1-1758912500801.png%22%20style%3D%22width%3A%20322px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F358769i40D56ACB788290AF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22luis_maravilla_1-1758912500801.png%22%20alt%3D%22luis_maravilla_1-1758912500801.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CP%3ELuis%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176647%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176647%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20cannot%20find%20the%20Tools%20%26gt%3B%20Manufacturing%20Tool%20in%20MCUXpresso%20as%20the%20guide%20that%20was%20sent%20specifies.%20Is%20there%20more%20up%20to%20date%20information%20available%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2169943%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2169943%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECould%20you%20help%20us%20share%20a%20log%20failure%20or%20message%20error%3F%3C%2FP%3E%0A%3CP%3EWhat%20you%20could%20look%20into%2C%20As%20you%20mentioned%20you%20are%20using%20the%20Default%20keys%20for%20fuse%20burning%20with%20AN14003%2C%20Could%20you%20help%20us%20try%20to%20update%20the%20NBU%20image%20with%20the%20instructions%20described%20in%20section%203.3%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocument%2Fguide%2Fgetting-started-with-the-kw45b41z-evaluation-kit%3AGS-KW45B41ZEVK%3Fsection%3Dbuild-run%23%3A~%3Atext%3D3.3-%2CUpdating%2520NBU%2520for%2520Wireless%2520Examples%2C-Alert%2520code%253A%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EUpdating%20NBU%20for%20Wireless%20Examples%3C%2FA%3E%20as%20the%20sb3%20file%20in%20SDK%20apply%20for%20the%20default%20keys%20burned%20in%20KW45%20board.%3C%2FP%3E%0A%3CP%3ECould%20you%20help%20us%20confirm%20that%20the%20process%20of%20fuse%20burning%20went%20correctly%3F%20If%20not%2C%20could%20you%20help%20us%20sharing%20the%20error%20shown%3F%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20confirm%20if%20you%20can%20enter%20ISP%20mode%20without%20problem%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2169084%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2169084%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThis%20didn't%20work.%20I'm%20still%20going%20to%20that%20address%20in%20the%20boot%20memory%20when%20trying%20to%20debug.%20Anything%20else%20I%20can%20look%20into%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2167015%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2167015%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSTRONG%3EPLATFORM_OtaGetOtaInternalPartitionConfig%20%3C%2FSTRONG%3E%20returns%20internal%20partition%20configuration%20structure%2C%20what%20you%20could%20try%20is%20make%20the%20initialization%20manually%2C%20to%20ensure%20the%20internal%20flash%20is%20selected%20and%20the%20values%20start%20at%200.%3C%2FP%3E%0A%3CP%3ELet%20me%20know%20if%20that%20worked%20for%20you.%3C%2FP%3E%0A%3CPRE%20class%3D%22language-plaintext%22%3E%3CCODE%20translate%3D%22no%22%3EOtaPartition_t%20Test_ota_partition%20%3D%20%0A%7B%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2F*start_offset*%2F%200%2C%5C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2F*size*%2F%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B0%2C%5C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2F*sector_size*%2F%26nbsp%3B%26nbsp%3B0%2C%5C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2F*page_size*%2F%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B0%2C%5C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2F*internal_flash*%2F%20true%2C%5C%0A%20%20%20%20%2F*spi_baudrate*%2F%200%2C%5C%0A%7D%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eloader_info.partition_desc%20%3D%20%26amp%3BTest_ota_partition.%3C%2FP%3E%0A%3CP%3E%3CLI-WRAPPER%3E%3C%2FLI-WRAPPER%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2166129%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2166129%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI've%20tried%20following%20an14003%20section%205%20(omitting%20section%203)%20using%20the%20evk%20sb3.%20The%20one%20modification%20I%20made%20was%20setting%26nbsp%3B%3CBR%20%2F%3E%3CSPAN%3Eloader_info.partition_desc%20%3D%20PLATFORM_OtaGetOtaInternalPartitionConfig()%3B%3CBR%20%2F%3E%3C%2FSPAN%3EI'm%20still%20encountering%20the%20same%20error%20once%20merging%20the%20generated%20binary%20and%20the%20SB3.%20What%20would%20you%20reccomend%20I%20look%20into%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2165351%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2165351%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EThe%20%3CEM%3Etest_ota_partition%3C%2FEM%3E%20function%20utilizes%20the%20%3CSTRONG%3EOtaPartition_t%3C%2FSTRONG%3E%20structure%20defined%20in%20%3CSTRONG%3Efwk_platform_ota.h%3C%2FSTRONG%3E.%20used%20to%20manage%20OTA%20operations%20used%20in%20other%20steps%20described%20in%20AN14003.%3C%2FP%3E%0A%3CP%3EThis%20structure%20describes%20the%20characteristics%20of%20the%20Over-the-Air%20(OTA)%20update%20partition%2C%20including%20parameters%20such%20as%20offset%2C%20size%2C%20sector%20and%20page%20sizes%2C%20and%20whether%20the%20flash%20is%20internal%20or%20external.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAs%20outlined%20in%20Application%20Note%20AN14003%20comment%20where%20Test_ota_partition%20is%20used%2C%20indicates%20to%20use%20internal%20flash%20so%20we%20need%20to%20initialize%20the%20parameters%20and%20true%20for%20using%20internal%20flash.%3C%2FP%3E%0A%3CP%3EThis%20is%20something%20every%20customer%20would%20need%20to%20implement%20by%20their%20own.%20Also%2C%20I%20attached%20the%20structure%20with%20definitions%20%5BTaken%20from%3CSTRONG%3E%20fwk_platform_ota.h%3C%2FSTRONG%3E%5D%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-cpp%22%3E%3CCODE%3Etypedef%20struct%0A%7B%0A%20%20%20%20uint32_t%20start_offset%3B%20%2F*!%26lt%3B%20Offset%20of%20firmware%20update%20partition%20in%20flash%20device.%20The%20physical%20address%20is%20translated%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20by%20flash%20driver%20*%2F%0A%20%20%20%20uint32_t%20size%3B%20%20%20%20%20%20%20%20%20%2F*!%20Size%20of%20firmware%20update%20storage%20expressed%20in%20bytes%20*%2F%0A%20%20%20%20uint32_t%20sector_size%3B%20%20%2F*!%20Sector%20size%20of%20flash%20used%20for%20OTA%2C%20usually%204kB%20for%20external%20flash%20but%20varies%20for%20internal%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20flash%20*%2F%0A%20%20%20%20uint32_t%20page_size%3B%20%20%20%20%2F*!%20Page%20size%20of%20flash%20device%20%3A%20minimal%20program%20size*%2F%0A%20%20%20%20bool%20%20%20%20%20internal_flash%3B%20%2F*!%20true%20if%20internal%20flash%2C%20false%20for%20SPI%20NOR%20Flash%20*%2F%0A%20%20%20%20uint32_t%20spi_baudrate%3B%20%20%20%2F*!%20SPI%20baudrate%20concerns%20only%20external%20flash%20if%20flash%20config%20is%20not%20used%20KW45%20case%20*%2F%0A%7D%20OtaPartition_t%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3ELuis%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2164577%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2164577%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ELuis%3A%3CBR%20%2F%3EI'm%20trying%20to%20implement%20the%20app%20note%2C%20I%20will%20be%20using%20the%20default%20keys%20just%20to%20validate%20functionality%20on%20this%20custom%20board.%20In%20an14003%2C%26nbsp%3B%26nbsp%3B%3CSPAN%3ETest_ota_partition%20on%20Page%2013%20is%20not%20defined%20in%20the%20OTAP%20example%20or%20the%20rest%20of%20the%20code%20provided.%20What%20is%20this%20variable%20supposed%20to%20be%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2163909%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2163909%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EI%20need%20to%20confirm%20if%20your%20end%20goal%20is%20using%20the%20custom%20KW45-based%20PCB%20same%20as%20the%20KW45B41Z-EVK%20using%20SDK%20examples%20or%20is%20intended%20for%20custom%20applications%3F%3C%2FP%3E%0A%3CP%3EAs%20this%20will%20interferes%20on%20the%20fuses%20that%20are%20needed%20to%20be%20burn%20in%20chip.%3C%2FP%3E%0A%3CP%3EFor%20updating%20the%20NBU%20image%20to%20a%20KW45%20device%20two%20types%20of%20keys%20must%20be%20written%20to%20KW45%20fuse%2C%20By%20default%2C%20RoTKTH%20and%20SB3KDK%20are%20provided%20for%20KW45B41Z-EVK%20board%3B%20but%20in%20a%20factory%20chip%20the%20keys%20in%20the%20fuse%20are%20null.%3C%2FP%3E%0A%3CP%3ETherefore%2C%20for%20Factory%20chips%2C%20the%20customer%20needs%20to%20burn%20fuses%20related%20for%20end%20goal%20following%20the%20instructions%20in%20%5B%3CA%20href%3D%22https%3A%2F%2Fdocs.nxp.com%2Fbundle%2FAN14003%2Fpage%2Ftopics%2Fintroduction.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAN14003%20Programming%20the%20KW45%20flash%20for%20Application%20and%20Radio%20firmware%20via%20Serial%20Wire%20Debug%20during%20mass%20production%3C%2FA%3E%5D%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20use%20your%20board%20for%20development%20same%20as%20the%20KW45B41Z-EVK%20you%20could%20use%20the%20same%20keys%20values%20from%20the%20KW45B41Z-EVK%20board%20directly%20%5BDescribed%20in%20AN14003%20Chapter%205.2.1%20Figure%209%5D%3B%20If%20you%20want%20to%20use%20your%20board%20for%20a%20different%20end%20product%20or%20custom%20end%20application%3B%20I%20would%20recommend%20creating%20your%20own%20keys%20and%20generating%20the%20sb3%20file%20using%20the%20.xip%20file%20for%20a%20new%20NBU%20image%20dedicated%20to%20your%20end%20product%3C%2FP%3E%0A%3CP%3EThen%20Updating%20NBU%3B%20If%20you%20want%20to%20use%20your%20board%20for%20development%20same%20as%20the%20KW45B41Z-EVK%20you%20can%20use%20the%20same%20sb3%20file%20that%20its%20inside%20SDK%20folder%20for%20updating%20the%20NBU%2C%20if%20you%20want%20to%20use%20your%20board%20for%20a%20different%20end%20product%20or%20custom%20end%20application%20you%20should%20create%20your%20own%20sb3%20file%20for%20uploading%20the%20NBU%20image%20following%20the%20instructions%20described%20in%20Chapter%204%20in%20AN14003.%3C%2FP%3E%0A%3CP%3EIt's%20important%20to%20mention%20that%20the%20method%20of%20burning%20the%20fuse%20provided%20in%20this%20document%20cannot%20be%20reversed.%20The%20keys%20programmed%20to%20fuses%20on%20KW45%20cannot%20be%20changed%20anymore.%20Therefore%2C%20it%20is%20recommended%20to%20modify%20the%20fuse%20with%20caution.%3C%2FP%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3ELuis%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2163894%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2163894%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThe%20fuses%20had%20not%20been%20burned%20yet%2C%20the%20KW45%20is%20from%20fabric.%20Updating%20the%20NBU%20on%20the%20chip%20has%20not%20been%20done%20before.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2163811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2163811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20memory%20address%20you%20mention%20refers%20to%20ROM-Boot%20%5BTable%2016%20KW45%20Reference%20Manual%5D%2C%20On%20KW45%2C%20only%20boot%20ROM%20has%20access%20to%20the%20NBU%20flash%2C%3C%2FP%3E%0A%3CP%3EFor%20more%20information%20about%20ROM%20boot%20process%20flow%20please%20refer%20to%20AN14003%20Figure%202%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAs%20you%20are%20using%20a%20KW45%20chip%20from%20fabric%20for%20your%20custom%20PCB%3B%20Could%20you%20help%20us%20confirm%20if%20your%20KW45%20chip%20from%20fabric%20was%20already%20fuse%20burned%20as%20the%20process%20described%20in%20AN14003%3F%3C%2FP%3E%0A%3CP%3EAnd%20if%20there%20was%20already%20fuse%20burned%2C%20Could%20you%20confirm%20if%20the%20default%20KW45B41Z-EVK%20Keys%20%5BSBKDK%20and%20RoTKTH%5D%20described%20in%20Chapter%205.2.1%20%5BAN14003%5D%20were%20used%3F%20Or%20you%20use%20custom%20generated%20keys%20for%20the%20board.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAlso%20for%20confirmation%2C%20Have%20you%20done%20an%20updating%20NBU%20before%20on%20the%20chip%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3ELuis%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2162924%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KW45%20First%20Time%20Programming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162924%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20will%20clarify%20that%20LPUART0%20TX%20and%20RX%20pins%20are%20accessible%20on%20this%20custom%20board%20through%20a%20header.%3C%2FP%3E%3C%2FLINGO-BODY%3E