trouble initializing custom 4.1 board

bobpellegrino

Active member
We just received our custom chip down 4.1 boards from our CM, but have not been able to initialize them yet. The first 2 would not respond to the 15 second PROG button procedure. There is a brief flash, but then no solid red on release.

The third one did respond with a solid red for about a minute, but did not come back with a running blink program. The IDE (2.1.0) does not recognize the board. The following is the Verbose output of Teensy Loader 1.5.8 when I press the program button briefly:

Code:
12:04:33.793 (loader): stop ignoring usb:0/140000/0/2
12:04:34.291 (loader): handle 7e4
12:04:34.292 (loader): Device came online, code_size = 100
12:04:34.292 (loader): Board is: NXP IMXRT1062 ROM
12:04:34.293 (loader): begin operation
12:04:34.301 (loader): File "C:\Users\bob\AppData\Local\Temp\arduino\sketches\C7CE5B3929E8BB12DF8A9E8408247758\Blink.ino.hex", 21504 bytes
12:04:34.302 (loader): File "Blink.ino.hex". 21504 bytes
12:04:34.304 (loader): set background IMG_ONLINE
12:04:34.310 (loader): nxp_write: success
12:04:34.315 (loader): nxp_write: success
12:04:34.319 (loader): HAB open mode, bootcfg=80018
12:04:34.322 (loader): Opps, NXP ROM in open mode, but we do not yet have code for this case :(
12:04:34.326 (loader): start ignoring usb:0/140000/0/2
12:04:34.330 (loader): end operation, total time = 0.035 seconds
12:04:34.337 (loader): redraw timer set, image 79 to show for 3000 ms
12:04:37.332 (loader): redraw, image 9

The processor is MIMXRT1062 DVL6B. Does this sound like a bad chip?
 
Also, when the prog button is pressed briefly, the image on the teensy loader program briefly changes to the MIMXRT chip when normally it would show the "erasing, reprogramming" dialog.

Capture.PNG
 
This sort of error can be caused by missing or wrong connections between the bootloader and RT1062, or between the RT1062 and flash memory.

Is the red LED giving any of the blink codes? Blinking twice or 4 times would be the likely errors.
 
First quickly check if your CM used the correct flash part. The Winbond parts with "Q" at the end do not work and will give this 3 blink error. Only the "M" parts work.
 
Back
Top