Welcome guest!
Want to take part in these discussions? Please Sign In or Apply for membership now!
    • CommentAuthorpderego
    • CommentTimeApr 14th 2009
     
    We have developed an application on the vs1501 which works nicely when attached via JTAG to the emulator. I have followed the User Manual instructions to down load the application to the boot loader but can not get it to work. This includes moving switch SW2 on the board to the closed position and then reapplying power. The vs1501 is connected to the desktop computer via serial and ethernet connections. I know the serial connection works because the application's UART calls work fine (when running in debug mode with the emulator). I'm expecting to get a message on the RS-232 terminal to hit the escape key and then see the boot loader web browser screen come up as indicated in the user's manual. It doesn't happen. Is there something else I need to do?

    Thanks,
    Paul
    • CommentAuthorChris
    • CommentTimeApr 20th 2009
     
    The boot loader program is stored in flash at address 0x90000000. One posibility is the flash is not programed.

    Please verify if the following data is stored in the begining of your flash.
    0x90000000,
    5A A3 80 00 00 80 00 00 00 00 00 00 28 74 80 01 68 00 80 01 28 00 00 02

    Another test is to connect the jtag emulator and power up the board then issue a reset from CCStudio
    The screen should display the following code. With the Program counter(PC) register pointing to address 0.

    00000000 0080A35A || MVK.L2 0,B1
    00000004 00008000 NOP 5
    00000008 00000000 NOP
    0000000C 01807428 MVK.S1 0x00e8,A3
    00000010 01800068 MVKH.S1 0x0000,A3
    00000014 02000028 MVK.S1 0x0000,A4
    00000018 0200C068 MVKH.S1 0x1800000,A4
    0000001C 000004AA MVK.S2 0x0009,B0
    00000020 0000006A MVKH.S2 0x0000,B0
    00000024 028C3666 LDW.D1T2 *A3++[0x1],B5
    00000028 000029C2 SUB.D2 B0,0x1,B0
    0000002C 00002000 NOP 2
    00000030 20000092 [ B0] B.S2 0x24

    If the flash data at 0x90000000 in the first step is ok but this step is not, then the sw2 switch is probably in the wrong posistion.