Hi There,
We have a custom IMX1011 board that is fairly simple, and which is based in large part on an existing functional IMX1064 design, and the IMX 1010 EVK. However it is not working with a basic Blinky sketch, and I want to see if anything that I am seeing makes sense to anyone out here.
What Works: I can sort-of run the standard Blinky example if I link application to ram (evkmimxrt1010_iled_blinky)
SysTick_Handler will sometimes trigger but usually it crashes before hitting this
Other notes and things I've tried:
Thanks in advance for any help.
解決済! 解決策の投稿を見る。
Hi @jingpan It turns out we just had some sort of strange hardware issue. Soldering a new board fixed the issue. Thank you for the help
Hi @functional_des ,
Can you share the schematic?
You said there is a USB port and if connect to computer, it can be enumerated? Please set the chip to serial download mode and try to connect to boot ROM, using MCUBootUtility. If it can connect successfully, you can test the flash erase/read/write.
Regards,
Jing
Thank you @jingpan. Attached is the schematic, as you can see it is fairly simple as this is a test breakout board.
IMPORTANT NOTE : I Discovered that the NVCC bus was not connected to anything. I shorted it to the 3V3 bus, which has helped the drive strength, but I am still seeing the same issues.
A few other notes that are perhaps useful:
Running MCUBoot utility over the USB port, I see some interesting behavior but no success:
Here is the log output from the boot utility :
'Connect to xxx' button is clicked
Executing \xxx\NXP-MCUBootUtility-master\tools\sdphost\win\sdphost -t 50000 -u 0x1FC9,0x0145 -j -- error-status
Executing \xxx\NXP-MCUBootUtility-master\tools\sdphost\win\sdphost -t 50000 -u 0x1FC9,0x0145 -j -- error-status
Executing \xxx\NXP-MCUBootUtility-master\tools\sdphost\win\sdphost -t 50000 -u 0x1FC9,0x0145 -j -- write-file 538990592 \xxx\NXP-MCUBootUtility-master\src\targets\MIMXRT1011\ivt_flashloader.bin
Executing \xxx\NXP-MCUBootUtility-master\tools\sdphost\win\sdphost -t 50000 -u 0x1FC9,0x0145 -j -- jump-address 538990592
Thanks for the help
Hi @functional_des ,
If serial download mode, boot ROM will take control. Boot pin is 00 means boot from fuse. But if BT_FUSE_SEL = 0, indicating that the boot device (for example, flash) was not programmed yet, the boot flow jumps directly to the Serial Downloader. In serial download mode, USB HID is enabled. So, you can use sdphost to connect boot ROM.
Please check
1 VDD_SOC_IN_x voltage;
2 POR_B status, is it stable?
3. Is RTC stable?
4. Is 3V3 bus the P3v3?
5. It seems boot ROM can work. Please disconnect debug port and use sdphost to send those command one by one. Will it reset or dead?
Regards,
Jing
Thanks @jingpan
1 VDD_SOC_IN_x voltage; : This is stable at 3.3V and is shorted to our P3V3
2 POR_B status, is it stable? This is stable at 3.3V
3. Is RTC stable? The RTC seems to be stable at 32.5->32.9 KHz reported by my scope
4. Is 3V3 bus the P3v3? Yes, P3V3 is our 3V3 bus
5. It seems boot ROM can work. Please disconnect debug port and use sdphost to send those command one by one. Will it reset or dead? I will try this tomorrow and let you know how it looks
Hi @functional_des ,
VDD_SOC_IN_x is from internal DCDC, the voltage should be around 1.1V. Please check again.
Please also check XTAL signal.
Regards,
Jing
Hi @jingpan It turns out we just had some sort of strange hardware issue. Soldering a new board fixed the issue. Thank you for the help