Hello,
I used the Mistral EVM-Board (EVM2, new revision) since 1 week, earlier I used the old revision EVM(1) for half a year using the BSquare Board Support Package with EBoot and WinCE6R2. It fits good to our planned product. I work a lot with Platform Builder and change WinCE to our needs.
Now our own Hardware is here (only a few changes in schematics, very similar to the EVM reference design) and I have big troubles to boot it. Maybe I understand something wrong, so I hope, somebody can help me here. The OMAP runs, I can use it using a Lauterbach JTAG debugger to transfer a little test binary into it and debug it line-by-line. It works. Or I can see and change the registers..
We decided to use sys_boot[5] = 1 and sys_boot[4:0] = 0b01111, so it should use the boot order: USB, UART3, MMC1, NAND. This combination works also on EVM2 board (earlier I used other combinations for direct SD or USB boot, but ok). So I could write the compiled EBoot.raw-image with the EVMFlashTool (new v2, v1.2 has troubles with the new EVM2 board, but works well half a year with my old EVM1 board). Then I could boot from flash and transfer a NK.bin using the EBoot USB-mechanism (RNDIS Virtual LAN, Boot.me packets, Visual Studio Attach Device) and burn the NK into the flash to use it. This works good on EVM board.
Sadly our board don't boot via USB, MMC or something else. The first time I start a USB boot (EVM board) my windows detect the device and ask for the driver. I installed it (delivered by EVMFlashTool) and it works. Our board said nothing. And the EVMFlash endlessly waits for the starting signal after reset after I push the download button.
Is there anything missing on a brand new factory builded OMAP? Or is this booting feature in internal ROM and I can't do anything wrong - the OMAP will simply do it.
With the Lauterbach Debugger I can see the CONTROL_PADCONF-Registers. The associated registers for USB (STP, NXT, DATA), UART and MMC1 are using MuxMode7, which means SafeMode. On the EVM board it is MuxMode0. I can change the registers using the Debugger, but on a reset the OMAP switch back to the default 7. I think this is the problem, that the OMAP don't use USB, MMC1 or UART.
But how can I fix it to get my bootloader into the flash (or simply boot from a known-as-good SD card) so I can bring up my peripherals?
I hope somebody could help me.
Thanks in advance.
David.