AnsweredAssumed Answered

ADV202 Encoder output file not open

Question asked by haru24h on Jul 24, 2010
Latest reply on Jul 28, 2010 by DaveD

The firmware file is encode_2_13_0.sea

 

ADV202(PLL_HI) = 0x0008;
ADV202(PLL_LO) = 0x0004;
delay_msec(1);         // Wait for 20us to allow PLL to settle.


ADV202(BOOT) = 0x008A; // BOOT >> Initiate a reboot to no boot mode
delay_usec(1);       
ADV202(BMODE) = 0x000A; // BUSMODE >> enable 32-bit host interface
delay_usec(1);        
ADV202(MMODE) = 0x000A; // MMODE >> 32-bit indirect access capability
delay_usec(1);      

 

ADV202(IADDR) = 0x00050000;
delay_usec(1);
for(i=0; i<8192; i++)
  ADV202(IDATA) = fw_data[i];

 

ADV202(BOOT) = 0x008D;
delay_usec(1);
ADV202(BMODE) = 0x000A; // enable 32-bit host interface
delay_usec(1);
ADV202(MMODE) = 0x000A; // enable 32-bit indirect access capability
delay_usec(1);

 

ADV202(IADDR) = 0x00057F00;
delay_usec(1);
ADV202(IDATA) = 0x00010503;
ADV202(IDATA) = 0x00000000;
ADV202(IDATA) = 0x02000500;
ADV202(IDATA) = 0x00010001;  // or ADV202(IDATA) = 0x00010002;
for(i=0; i<10; i++)
  ADV202(IDATA) = 0x00000000;

ADV202(IADDR) = 0xFFFF141C;
delay_usec(1);
ADV202(IDATA) = 0x00000040;
ADV202(EIRQIE) = 0x0402;

 

 

The encoder seems to work: if I pull a JP2 file out of the memory where it is stored and look at it on a PC I see a reasonable looking picture.

I can not open J2C at ACDSee program.

Attachments

Outcomes