Hi Miguel,
Allow me just to give you an overview to be more clear. We are working on a project that is based on the OTAP client example. Thus we have designed a new hardware based on mcu kw36 and we intend to program it via SWD JLINK or CMSIS-DAP. The first issue was the m_text memory exeecds the P-Flash section and you resolved that by adding the D-Flash section, with this modification we were able to program the kw36 only with the CMSIS-DAP interface of the LPC-Link v2, the Jlink didn't work with this modification and we were waiting for Segger to update their Jink driver. After that we have issue with OTA on two different memory bank, and you came up with one flash memory driver FTFE_2K_PD.cfx with the new SDK. I installed the new mcuxpresso 10.03 as you told me , before, I got the new software version of the LPC-Link v2 (Probe Firmware: LPC-LINK2 CMSIS-DAP V5.224) and I tried to flash the bootloader binary and otap application onto the kw36, Nevertheless I got an error and I am not able to resolve it.
I joined the error message that I got and here after you will find the consol log of the mcuxpresso.
Can you please verify with me this issue.
MCUXpresso IDE RedlinkMulti Driver v10.3 (Nov 28 2018 02:37:04 - crt_emu_cm_redlink build 748)
Found chip XML file in /home/haggui/Documents/test/frdmkw36_wireless_examples_framework_bootloader_otap_bm/Debug/MKW36Z512xxx4.xml
( 5) Remote configuration complete
Reconnected to existing link server
Connecting to probe 1 core 0 (using server started externally) gave 'OK'
============= SCRIPT: kinetisconnect.scp =============
Kinetis Connect Script
Connecting to Probe Index = 1
This probe = 1
This TAP = 0
This core = 0
DpID = 0BC11477
Assert NRESET
Reset pin state: 00
Power up Debug
MDM-AP APID: 0x001C0020
MDM-AP System Reset/Hold Reset/Debug Request
MDM-AP Control: 0x0000001C
MDM-AP Status (Flash Ready) : 0x00000032
Part is not secured
MDM-AP Control: 0x00000014
Release NRESET
Reset pin state: 01
MDM-AP Control (Debug Request): 0x00000004
MDM-AP Status: 0x0001003A
MDM-AP Core Halted
============= END SCRIPT =============================
Probe Firmware: LPC-LINK2 CMSIS-DAP V5.224 (NXP Semiconductors)
Serial Number: I3FSF1MU
VID:PID: 1FC9:0090
USB Path: /dev/hidraw5
Using memory from core 0 after searching for a good core
debug interface type = Cortex-M0+ (DAP DP ID 0BC11477) over SWD TAP 0
processor type = Cortex-M0+ (CPU ID 00000C60) on DAP AP 0
number of h/w breakpoints = 2
number of flash patches = 0
number of h/w watchpoints = 2
Probe(0): Connected&Reset. DpID: 0BC11477. CpuID: 00000C60. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Content of CoreSight Debug ROM(s):
RBASE F0002000: CID B105100D PID 000008E000 ROM (type 0x1)
ROM 1 F0000000: CID B105900D PID 04001BB932 CSt ARM MTB type 0x31 Trace Sink - Basic trace router
ROM 1 F0001000: CID B105900D PID 000008E000 CSt MTBDWT type 0x4 Debug Control - Other
ROM 1 E00FF000: CID B105100D PID 04000BB4C0 ROM (type 0x1)
ROM 4 E000E000: CID B105E00D PID 04000BB008 Gen SCS (type 0x0)
ROM 4 E0001000: CID B105E00D PID 04000BB00A Gen DWT (type 0x0)
ROM 4 E0002000: CID B105E00D PID 04000BB00B Gen FPB (type 0x0)
NXP: MKW36Z512xxx4
DAP stride is 1024 bytes (256 words)
Inspected v.2 On chip Kinetis Flash memory module FTFE_2K_PD.cfx
Image 'Kinetis SemiGeneric Oct 25 2018 11:59:14'
Opening flash driver FTFE_2K_PD.cfx
Sending VECTRESET to run flash driver
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 26/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 37/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 38/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x2000178C
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 73/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x2000178C
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 83/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 96/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 97/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 100/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 125/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 145/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 146/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 147/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x2000178C
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 155/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 172/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 173/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 174/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 194/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 209/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 222/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 223/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 224/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 237/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x2000178C
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 238/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x2000178C
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 260/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 294/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
flash driver polled mailbox (8 bytes at 0x20001788) read failed (on poll 300/301) - retrying after 1ms - rc Em(12). Target rejected debug access at location 0x20001788
Cannot halt processor
warning - failed to halt processor on startup timeout - rc Ep(04). Cannot halt processor.
Flash Driver V.2 startup failed - rc Ef(34): Timed-out initializing flash.
chip initialization failed - Ef(34): Timed-out initializing flash.
failed to initialize flash driver FTFE_2K_PD.cfx

Best regards,
HAGGUI