I am trying to build work station for production line (No emulator here).
The major task is to load application including UBL from host to onboard flash(NOR) throug PCI bus.
Our processor is DM648.
I have 2 options.
1. Write application from host to flash directly(host ->PCI bus->EMIF->flash).
Read commands are OK. Select command is OK.
Unlock command doesn't work!!!
I think problem is long time between flash receives Unlock1 and Unlock2. Maybe I am wrong.
So have anyone any clue what to do here?
2. Write small loader to RAM, run it and use it to load application.
The sequence here is Host write part of application to DDR and signals loader, loader writes this part from DDR to flash and signals Host.
No problem here when DM648 in PCI BOOT MODE.
But I can't run loader(start it from Host) when DM648 in other boot mode making the same.
I can stop processor, load loader, set PLL and other options. But command start from entry point doesn't run loader.
Our hardwired boot mode is BOOT FROM FLASH.
I played arround alot but have not solution yet.
Guys help me please.
Thank you.
Mark