DSPRelated.com
Forums

HPI boot mode on C5402 DSK

Started by dsphuang November 21, 2000
Hi all,
I'am using C5402 DSK to implement a project,now a COFF file is produced. I want to load the COFF to the C5402 of DSK through HPI from a PC. The following steps is processed:
 
    hBoard = evmdsk54x_open(0, TYPE_C5402_DSK, EVMDSK54X_PARALLEL_OPEN, 1);
 
    evmdsk54x_reset_board(hBoard);
 
    evmdsk54x_reset_dsp(hBoard,0);
 
    lHPI = evmdsk54x_hpi_open(hBoard);
 
    evmdsk54x_mem_config(hBoard, 0, &MyMemSpaceConfig); /*MyMemSpaceConfig={1, 0, 0}*/
 
    evmdsk54x_coff_load(hBoard, lHPI, "TEST.OUT", 0, 0, 0, 0);
 
    evmdsk54x_unreset_dsp(hBoard,0);
 
and then the C5402 in the DSK should be to work(in my project C5402 should write a 0x1234 at it's 0x0080 data memory),but it 's not true.
What's the wrong, help me please. Thanks a lot.
 
Andrew