This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365: RS-232

Hi,

Should the DM365 output to the RS-232 by default right out of the box? I have a Rev. D board and when I power it I get nothing in my terminal emulator. I believe the dip switches are set properly and my terminal emulator is set properly.

There are also no blinking LEDs or other indication that the board is doing anything. I have no video input attached to the board: Just connected to the serial port and powered it up. Is there another way to verify that the installed software is running?

Thanks,

Ken

  • Ken,

    The first few boards released did not come with software flashed, including u-boot, so you will need to flash it yourself.  You can find instructions to do this in the "DM365-installation.doc" that comes with the DVSDK 2.10 install under the PSP_##_##_##_##/docs directory.

    If you suspect your UART port is not working, you can try setting SW4 to boot over UART.  This is done by setting Postion 1=OFF and Positon 2=ON and Position 3=ON.  You should at least see some characters printed to the screen.

    Regards,

    David

  • I need a sanity check here. In the Spectrum Digital manual page 3-31 it describes this DIP switch. The sense of the switch seems opposite of the hardware level produced. I can imagine why this may be the case, but it describes the default state as all switches are on but the diagram (and the way it came configured) was with all the switches off.

    So:

    Does off indeed produce a 1 and on produce a 0 at the hardware level?

    The UART boot is listed as ON-OFF-OFF or hardware 011.

    I don't know what to believe now. Perhaps the reason nothing is working is that they should all be set to on instead of off?

    Ken

  • I have a rev C board and all the switches are set towards the numbers.  According to the manual that's ON and also Zero.  NAND boot mode.

  • Hi John,

    Figures 3-23 and 3-24 in the Spectrum Digital Technical reference label the side toward the dot as OFF for SW4 and SW5. However, at least you've told me where they should be.

    Table 39 says the default should be all ON which would not match the figure but would match your convention. If toward the dot or numbers is ON then the documentation for SW5 is also incorrect and it would not match your convention. I guess I am forced to probe it and find out what levels the ARM9 expects for the boot modes.

    I have a Rev. D board but Spectrum Digital has a document that lists the C-to-D changes and the DIP switches did not appear to be affected (few things were).

    Ken

     

  • Hi David,

    I can't find this file. There are no PSP directories that I can find (I noticed during installation that many things have gone through a name change).

    Is there a Wiki reference for this?

    Thanks,

    Ken

  • You can register your 365 and go to downloads

     

    http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent//psp/mv_lsp_2_10/02_10_00_14/index_FDS.html

    You will find the psp here and then place it in the dvsdk dir and then compile. Dvsdk will build new modules for loadmodules_hd.sh and these do load if you compile the dvsdk and work.

    I sent my board to Spectrum Digital to program and they turned it around in a week, next time I would figure out how to do it myself....

    Good luck.

     

  • Ken Koller said:

    Hi David,

    I can't find this file. There are no PSP directories that I can find (I noticed during installation that many things have gone through a name change).

    Is there a Wiki reference for this?

    Ken,

    Have you installed the software per GSG : http://wiki.davincidsp.com/index.php/GSG:_DM365_DVEVM_Software_Setup; if so, you should see PSP_x_xx_xx_xxx directory. 

  • Ken,  It looks like Table 39: SW4 is incorrect regarding Pos 1-3 (and Table 40 Pos 4-6).  Looks like they reversed ON and OFF in those columns.  So my board has all the switches OFF (toward the dot).

  • Thanks John for taking some time to look in to this.

    Ken

  • Thanks Julia. My plan is to send it to another developer on my project and have them do it. Since UBoot can update itself I figure I'll be in good shape. Scratching my head as to why Spectrum Digital doesn't perform this test. Buying the tools to do this is very expensive.

  • I'm curious.... Since there is a switch setting for booting the SD card, why can't you just write u-boot to the SD card and run u-boot off of it?  I've tried and can't seem to make it work.

  • John Anderson said:

    I'm curious.... Since there is a switch setting for booting the SD card, why can't you just write u-boot to the SD card and run u-boot off of it?  I've tried and can't seem to make it work.

    It's not as simple as writing u-boot to the SD card because the RBL is not aware of filesystems.  You would need to format the SD card as describe in section 11.2.2 "MMC/SD Boot Mode" of the DM365 ARM Subsystem Guide.  Another community member, Constantine Shulyupin, has created a utility for doing this on DM355.  This hasn't been tested for DM365, but the boot process between the two devices looks the same based on their User's Guides.  You would probably have to modify the UBL for the DM365 as it is not the same as for DM355.