Odd behavior on custom board - MKL02 issue

jensa

Well-known member
Hi,
By now I've made 20-something custom designs over many thousands of boards and I have something I've never seen. Might be that Paul is needed on this one. The MKL02's are from PJRC and they're part of a large-ish order done a couple years ago. Last week, we got 100 new boards using this and they are behaving differently from the 300 boards with the very same circuit.

Normally, a fresh custom board shows up as a "SE Blank RT Family". Then you press the reset button, the bootloader starts, sees a blank chip, reprograms it and it shows up as a USB Serial device. This is how the normal sequence looks like in the OSX log using:

log stream --style syslog --info | grep '\[USB\]'

2026-10-26 12:56:50.850725+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] Added | 0x1000062d - [USB][ SE Blank RT Family ] ( 0, 0, 0) @ 0x14400000 |
2026-10-26 12:56:50.850759+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] Inferior | 0x1000062e - [USB][ SE Blank RT Family ] ( 3, 0, 0) @ 0x14400000 |


2026-10-26 12:56:52.850779+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] Added | 0x10000633 - [USB][ USB Serial ] ( 0, 0, 0) @ 0x14400000 |
2026-10-26 12:56:52.852232+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] Inferior | 0x10000634 - [USB][ USB Serial ] ( 2, 2, 1) @ 0x14400000 |
2026-10-26 12:56:52.853257+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] Inferior | 0x10000636 - [USB][ USB Serial ] (ff,6a,c7) @ 0x14400000 |
2026-10-26 12:56:52.906280+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] Inferior | 0x10000638 - [USB][ USB Serial ] ( a, 0, 0) @ 0x14400000 |
In the pause there, I'm pressing the button. All boards up until this has behaved like this.
With this new series of boards, it now looks like this:

2026-10-26 12:50:45.017778+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] Added | 0x1000062d - [USB][ SE Blank RT Family ] ( 0, 0, 0) @ 0x14400000 |
2026-10-26 12:50:45.019181+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] Inferior | 0x1000062e - [USB][ SE Blank RT Family ] ( 3, 0, 0) @ 0x14400000 |


2026-10-26 12:51:06.757870+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] [Removed] | [USB][ SE Blank RT Family ] ( 0, 0, 0) @ 0x14400000 |
2026-10-26 12:51:06.757984+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] [Removed] | [USB][ SE Blank RT Family ] ( 3, 0, 0) @ 0x14400000 |
2026-10-26 12:51:07.368830+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] Added | 0x10000630 - [USB][ SE Blank RT Family ] ( 0, 0, 0) @ 0x14400000 |
2026-10-26 12:51:07.370715+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] Inferior | 0x10000631 - [USB][ SE Blank RT Family ] ( 3, 0, 0) @ 0x14400000 |
2026-10-26 12:56:31.194401+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] [Removed] | [USB][ SE Blank RT Family ] ( 0, 0, 0) @ 0x14400000 |
2026-10-26 12:56:31.194453+0100 localhost icdd[1469]: [com.apple.imagecapture:icdd] [Removed] | [USB][ SE Blank RT Family ] ( 3, 0, 0) @ 0x14400000 |

I've looked at other threads and they mention holding the reset button for 15 seconds until I see a weak blink. When I release the button the LED turns on, but the device will still not be visible and it drops out after a 35-40 seconds, going back to being a "SE Blank RT Family". Has anyone else seen something like this?

Update: enclosing image of power sequence (looks normal). Blue = +5V, Yellow = PMIC_ON, Green = DCDC_PSWITCH. Crystal on the imxrt is working as it should as well.

No LED blink codes, but three short blinks (100ms-ish?) instantly every time I press the Program button. I swapped the MKL02 on this board, so the button looks a bit crooked in the video, but it just got a little hot during hot air reflow. It still works as the this video shows

Also: if I touch my Oscilloscope to the XTALI (P11) pin, the MKL02 will show 9 Blinks = ARM JTAG DAP Init Error. This seems to indicate that the MKL02 is doing it's job, but not getting hold of the IMXRT1062?

One more note: the primary change on this PCB is that we have routed GPIO_B1_15 (ball B14) to a pin. As far as I know, this pin sin't used for anything?
 

Attachments

  • IMG_3259.JPG
    IMG_3259.JPG
    296.9 KB · Views: 29
Last edited:
I'll answer my own question here so others with a similar problem can use this to troubleshoot. TL;DR You will see this behavior if the Flash chip is not working as intended.

The problem here is that we were sold fake/faulty Flash chips by Microchip USA. No - that's not the microcontroller firm you would think it is (from the name). This is a scalper/reseller, We were aware of the risk of buying chips from scalpers at the time of purchase (they have a long waiver you need to sign), but at that point in time it looked like it could take a full year until this Flash chip was back in stock. Then our CM completely forgot to send us some for verification and we didn't follow up on them... It's what happens I guess.

Enclosed in a picture with the two chips. Apart from the color difference I could not really see any difference. The logo isn't quite the same, but this could be down to differences in machining on two packaging plants. I'll try to get our CM to do an Xray once they've purchased the replacement from Digikey that now has 54k in stock.
 

Attachments

  • IMG_3276_2.JPG
    IMG_3276_2.JPG
    339 KB · Views: 43
Wow, I'm glad you got to the bottom of this. Must admit, I read this a few times yesterday and watched the video, but didn't reply because I couldn't think of any plausible explanation.

Is there any chance you might send me a couple of those fake chips? I'm really curious to experience with them.
 
Of course Paul!
I've long wanted to buy you some beers (or something) as a thanks for all your work, but I'd love to send a few. PM me if you want me to use any other address than the PJRC business address where the MKL02's are shipped from? :)
 
Back
Top